socketio / socket.io-client-cpp

C++11 implementation of Socket.IO client
MIT License
2.26k stars 730 forks source link

WebSocket handshake error, response 400 Bad Request #245

Open qiuyu0112 opened 4 years ago

qiuyu0112 commented 4 years ago

GET /socket.ioEIO=4&transport=websocket&t=1576482213&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9%2EeyJhcHBfaWQiOiIxNWRmNGQzZiIsImNsaWVudCI6IndpbmRvd3MiLCJwbGF0Zm9ybSI6InZvcCIsInRpbWVzdGFtcCI6MTU3NjQ4MjIxMywiaXAiOiIxMjQuMTI4LjUuNDYiLCJ1eF90aW1lIjoxNTc2NDgyMjEzMTI1fQ%2EZ585Vd6CbrN2utmxOxIDH%2DNbCQAOROW0Zj50WVtf3PI HTTP/1.1 host: msg01-open.e.vhall.com Sec-WebSocket-Key: zH6fjF8L9iFsomPyehKlUw== Sec-WebSocket-Version: 13 User-Agent: WebSocket++/0.8.1 Connection: Keep-Alive

HTTP/1.1 400 Bad Request Content-Type: application/json Access-Control-Allow-Origin: * Date: Mon, 16 Dec 2019 07:43:37 GMT Connection: close Transfer-Encoding: chunked

22 {"code":3,"message":"Bad request"} 0

qiuyu0112 commented 4 years ago

Failed in win10 system connection request