Closed ashyrz-pro closed 3 months ago
GRPC and other protocols are working fine the problem only seems to occur with websocket
if I can assist with any more info about the issue feel free to contact @yedyans telegram
https://github.com/XTLS/Xray-core/issues/3222
just leave host empty
If I leave host empty after updating subscription websocket host disappears
If I keep like this there is no traffic
If I do like this traffic reaches the server but upon updating subsciption the ws host is empty
Environment
OS: Ubuntu
PHP version:
DB version:
Panel Version: Latest
Debug Info: enable debug in config.php and upload screenshot.
Bug Info
Describe the issue you run into.。
The network settings on the panel has changed
{ "transport": "ws", "acceptProxyProtocol": false, "path": "/xmplus?ed=2560", **"host": "hk1.xyz.com" }
this is the new settings, if host is behind a cdn(in my case google middleware ws proxy) it doesnt allow traffic and nothing reaches the server.
but if I use the older network settings like this
{ "transport": "ws", "acceptProxyProtocol": false, "path": "/xmplus?ed=2560", "headers": { "Host": "hk1.xyz.com" } }
Traffic arrives the server and everything works fine but if client updates the subscription the host is empty. I updated both admin panels and nodes rebooted them and everything. Please check.