-
Notifications
You must be signed in to change notification settings - Fork 497
Open
Labels
Description
Describe the bug
client had ESTABLISHED with server, but server have many error log
wstunnel[147640]: 2025-11-12T05:49:49.442110Z ERROR wstunnel::tunnel::server::server: Error while upgrading cnx to websocket: hyper::Error(IncompleteMessage)
wstunnel[147640]: 2025-11-12T06:04:09.989645Z ERROR wstunnel::tunnel::server::server: Error while upgrading cnx to websocket: hyper::Error(IncompleteMessage)
wstunnel[147640]: 2025-11-12T06:04:16.140981Z ERROR wstunnel::tunnel::server::server: Error while upgrading cnx to websocket: hyper::Error(IncompleteMessage)
wstunnel[147640]: 2025-11-12T06:14:16.284403Z ERROR wstunnel::tunnel::server::server: Error while upgrading cnx to websocket: hyper::Error(IncompleteMessage)
wstunnel[147640]: 2025-11-12T06:32:38.303959Z ERROR wstunnel::tunnel::server::server: Error while upgrading cnx to websocket: hyper::Error(IncompleteMessage)
wstunnel[147640]: 2025-11-12T06:42:39.522389Z ERROR wstunnel::tunnel::server::server: Error while upgrading cnx to websocket: hyper::Error(IncompleteMessage)
the server is behind nginx, and running with no-tls.
To Reproduce
- run server behind nginx
- run client, and connect server directly.
Expected behavior
- no error log print
Your wstunnel setup
Paste your logs of wstunnel, started with --log-lvl=DEBUG, and with the command line used
- client
wstunnel client --log-lvl WARN -R tcp://8443:127.0.0.1:8443 wss://example.com:443
- server
wstunnel server --log-lvl WARN ws://127.0.0.1:3459
- nginx config:
location / {
proxy_http_version 1.1;
proxy_cache_bypass $http_upgrade;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
# Proxy timeouts
proxy_connect_timeout 60s;
proxy_send_timeout 60s;
proxy_read_timeout 60s;
proxy_request_buffering off;
proxy_buffering off;
proxy_pass http://127.0.0.1:3459;
}
Desktop (please complete the following information):
- Linux 5.15.0-157-generic x86_64 x86_64 x86_64 GNU/Linux
Additional context
Add any other context about the problem here.