You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.
Handshake has failed, the server did not return a valid response.
Client:
GET /socket.io/ HTTP/1.1
...
The query string is not in the HTTP request, but it is required. For example, if I test it on http://www.websocket.org/echo.html it works just fine with the complete url but not when the query string part is stripped.
This is a part of my code at the moment:
$socketClient = new SocketClient($url);
$webSocketClient = new WebSocketClient($socketClient);
What can I do to make this work?
The text was updated successfully, but these errors were encountered:
Good idea and thank you for the feature request. I reckon you can try a PR by yourself (if you want to!). The ws:// and wss:// URI are transformed into tcp:// and the line you might want to change could be
Without no answer from your end, I decided to make a PR 😃. The review should start very quickly and the merge will happen as fast as possible because this is a bug fix.
It seems that query string parameters are unsupported. If I have a websocket URL like:
I get an error
The query string is not in the HTTP request, but it is required. For example, if I test it on http://www.websocket.org/echo.html it works just fine with the complete url but not when the query string part is stripped.
This is a part of my code at the moment:
What can I do to make this work?
The text was updated successfully, but these errors were encountered: