Describe the bug
Tried to deploy the server in a CloudFoundry environment to forward WireGuard traffic and got this error:
Rejecting connection with bad upgrade request: Address family not supported by protocol (os error 97) /morille/events?bearer=eyJ0eX....
It used to work with version 6 and before.
Client got this:
2023-10-31T04:22:03.599454Z INFO wstunnel::tls: Doing TLS handshake using sni DnsName("wst-au.cfapps.ap10.hana.ondemand.com") with the server wst-au.cfapps.ap10.hana.ondemand.com:443
2023-10-31T04:22:03.930649Z ERROR tunnel{id="018b83f7-97af-7b37-8a6c-2c172ac59bc5" remote="10.11.0.1:1801"}: wstunnel::tunnel::client: failed to do websocket handshake with the server (Domain("wst-au.cfapps.ap10.hana.ondemand.com"), 443)
Caused by:
Invalid status code
To Reproduce
Steps to reproduce the behavior:
Server command (in CloudFountry):
RUST_LOG=trace ./wstunnel server ws://0.0.0.0:8080
Describe the bug Tried to deploy the server in a CloudFoundry environment to forward WireGuard traffic and got this error: Rejecting connection with bad upgrade request: Address family not supported by protocol (os error 97) /morille/events?bearer=eyJ0eX....
It used to work with version 6 and before.
Client got this: 2023-10-31T04:22:03.599454Z INFO wstunnel::tls: Doing TLS handshake using sni DnsName("wst-au.cfapps.ap10.hana.ondemand.com") with the server wst-au.cfapps.ap10.hana.ondemand.com:443 2023-10-31T04:22:03.930649Z ERROR tunnel{id="018b83f7-97af-7b37-8a6c-2c172ac59bc5" remote="10.11.0.1:1801"}: wstunnel::tunnel::client: failed to do websocket handshake with the server (Domain("wst-au.cfapps.ap10.hana.ondemand.com"), 443)
Caused by: Invalid status code
To Reproduce Steps to reproduce the behavior: Server command (in CloudFountry): RUST_LOG=trace ./wstunnel server ws://0.0.0.0:8080
Client command (local): wstunnel client -L udp://0.0.0.0:51820:10.11.0.1:1801 wss://