Changing SNI for XRAY on the app makes it hang (Fedora 43)
Author: swooshbycCreated Sep 28, 2026Updated Sep 28, 2026
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:
- I add Xray to self hosted server. It installs.
- 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- 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)
Source: amnezia-vpn/amnezia-client