[GH-ISSUE #3232] Changing SNI for XRAY on the app makes it hang (Fedora 43) #1495

Open
opened 2026-10-13 20:43:50 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @swooshbyc on GitHub (Sep 28, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/3232

Describe the bug
On Fedora 43 after installing with the .run on latest, I tried changing the XRAY SNI but it was never able to be completed on the server.

To Reproduce
Steps to reproduce the behavior:

  1. I add Xray to self hosted server. It installs.
  2. After I go to Xray settings on the server (amneziawg app) and decide to change the server settings for Xray. I select Security and then decide to change the SNI to something whitelisted. ANY change and the app starts doing its thing until it reaches
SshSession::Run script
if which apt-get > /dev/null 2>&1 || command -v apt-get > /dev/null 2>&1; then LOCK_CMD="fuser"; LOCK_FILE="/var/lib/dpkg/lock-frontend";\
elif which dnf > /dev/null 2>&1 || command -v dnf > /dev/null 2>&1; then LOCK_CMD="fuser"; LOCK_FILE="/var/cache/dnf/* /var/run/dnf/* /var/lib/dnf/* /var/lib/rpm/*";\
elif which yum > /dev/null 2>&1 || command -v yum > /dev/null 2>&1; then LOCK_CMD="cat"; LOCK_FILE="/var/run/yum.pid";\
elif which zypper > /dev/null 2>&1 || command -v zypper > /dev/null 2>&1; then LOCK_CMD="cat"; LOCK_FILE="/var/run/zypp.pid";\
elif which pacman > /dev/null 2>&1 || command -v pacman > /dev/null 2>&1; then LOCK_CMD="fuser"; LOCK_FILE="/var/lib/pacman/db.lck";\
else echo "Packet manager not found"; echo "Internal error"; exit 1;\
fi;\
if sudo -n which $LOCK_CMD > /dev/null 2>&1 || command -v $LOCK_CMD > /dev/null 2>&1; then sudo -n $LOCK_CMD $LOCK_FILE 2>/dev/null; else echo "$LOCK_CMD not installed"; fi
  1. Afterwards it hangs indefinitely. Potentially related (or same?) https://github.com/amnezia-vpn/amnezia-client/issues/3145

Expected behavior
Should have changed SNI on the server, it didn't it hanged.

Log files
See code above.

Screenshots
None.

Desktop (please complete the following information):

  • OS: Fedora
  • Version 43

Server (please complete the following information):

  • OS: Debian 12 (for the self-hosted install)
Originally created by @swooshbyc on GitHub (Sep 28, 2026). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/3232 **Describe the bug** On Fedora 43 after installing with the .run on latest, I tried changing the XRAY SNI but it was never able to be completed on the server. **To Reproduce** Steps to reproduce the behavior: 1. I add Xray to self hosted server. It installs. 2. After I go to Xray settings on the server (amneziawg app) and decide to change the server settings for Xray. I select Security and then decide to change the SNI to something whitelisted. ANY change and the app starts doing its thing until it reaches ``` SshSession::Run script if which apt-get > /dev/null 2>&1 || command -v apt-get > /dev/null 2>&1; then LOCK_CMD="fuser"; LOCK_FILE="/var/lib/dpkg/lock-frontend";\ elif which dnf > /dev/null 2>&1 || command -v dnf > /dev/null 2>&1; then LOCK_CMD="fuser"; LOCK_FILE="/var/cache/dnf/* /var/run/dnf/* /var/lib/dnf/* /var/lib/rpm/*";\ elif which yum > /dev/null 2>&1 || command -v yum > /dev/null 2>&1; then LOCK_CMD="cat"; LOCK_FILE="/var/run/yum.pid";\ elif which zypper > /dev/null 2>&1 || command -v zypper > /dev/null 2>&1; then LOCK_CMD="cat"; LOCK_FILE="/var/run/zypp.pid";\ elif which pacman > /dev/null 2>&1 || command -v pacman > /dev/null 2>&1; then LOCK_CMD="fuser"; LOCK_FILE="/var/lib/pacman/db.lck";\ else echo "Packet manager not found"; echo "Internal error"; exit 1;\ fi;\ if sudo -n which $LOCK_CMD > /dev/null 2>&1 || command -v $LOCK_CMD > /dev/null 2>&1; then sudo -n $LOCK_CMD $LOCK_FILE 2>/dev/null; else echo "$LOCK_CMD not installed"; fi ``` 3. Afterwards it hangs indefinitely. Potentially related (or same?) https://github.com/amnezia-vpn/amnezia-client/issues/3145 **Expected behavior** Should have changed SNI on the server, it didn't it hanged. **Log files** See code above. **Screenshots** None. **Desktop (please complete the following information):** - OS: Fedora - Version 43 **Server (please complete the following information):** - OS: Debian 12 (for the self-hosted install)
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#1495
No description provided.