-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while upgrading cnx to http #412
Comments
Are you starting your wstunnel client to use http2 ? Because the server see an incoming TLS connection with You can use |
I'll try tracing 👍 But i think it's the production proxy (it has also a firewall onboard!) which filters or alters the TLS communication with the ws server, and so the connection is for some networking reason not going well. Considering the test proxy has no filters/firewall and it's full open, and ws client connects well 🤷♀️ PS. how can i force not using HTTP2? Can't see parameters client side 🤔🤔🤔 Attached a clean session with a single curl get. (hoping have removed all sensible data 🙏🙏🙏) |
Ha it seems you start your client with http2 as transport protocol
to use websocket as transport, you need to change it to
It should work better after that |
Gosh! You're perfect right. Didn't noticed i started remote to |
Describe the goal
ws server is the same on both env.
Connect wstunnel thru a proxy chains
Testing with a simple
curl -kL https://url -x socks5h://wstunnel_ip:socks5_ip
,Error while upgrading cnx to http
🥲Describe what does not work
Client side i have no errors, apparently, wstunnel starts and starts listening at its socks5.
Server side i got a strange error,
Maybe production http proxy filter and alter https/ws packets? 🥲
Describe your wstunnel setup
server wss://local_ip:443 --tls-certificate \path_to\fullchain.pem --tls-private-key \path_to\privkey.pem --restrict-http-upgrade-path-prefix my_private_prefix --remote-to-local-server-idle-timeout 30m --websocket-ping-frequency-sec 600 --log-lvl DEBUG
Desktop (please complete the following information):
Chaining many OS ==> Linux (Ubuntu / Debian / Alma) and also Windows
The text was updated successfully, but these errors were encountered: