How to fixed websocket

edit the config file directly on the server:

Find the vhost config file for your domain (* is your domain) *.com

cat /usr/local/lsws/conf/vhosts/*.com/vhconf.conf | grep -A5 “websocket”

If nothing shows, add it manually

nano /usr/local/lsws/conf/vhosts/*.com/vhconf.conf
Add this block inside the file:
websocket {
uri /socket.io/
address 127.0.0.1:port
}
Then restart OLS:
systemctl restart lsws
This bypasses the WebAdmin UI entirely