Closed guotie closed 1 month ago
@guotie I manage to use fastwebsocket with a proxy. You can take a look at it there https://github.com/erebe/wstunnel/blob/main/src/tcp.rs#L104 https://github.com/erebe/wstunnel/blob/main/src/tunnel/transport/websocket.rs#L136
Closing as it is answered and doesn't look like a fastwebsockets bug.
I use the same proxy connection connect to websocket,
tungstenite
works well, butfastwebsockets
failed.when connect to
wss://echo.websocket.org
, the error isconnection closed before message completed
;when connect to
wss://ws.okx.com:8443/ws/v5/public
, the error isInvalid status code: 400
.code is below: