-
Notifications
You must be signed in to change notification settings - Fork 32
NodeJS Socket.io Server v^4.1.2 to 3.1 not connecting #11
Comments
I'm having the same issue. Note the response |
Hi, im having this exact issue connecting to a Socket.IO v4.2.0 Server , before i was connecting against a v4.0 server, something broken maybe? Thanks in advanced. |
Unfortunately I was never able to find a workaround with @uhm0311's libraries. I was able to get up and running with Quobject/SocketIoClientDotNet which is a deprecated project but still working great for my needs. |
Hello,
We have a NodeJS Server running your sample server js code from the project and when we connect a vanilla client to it we see the following:
Packet decoding failed. 0{"sid":"lmUcXoLUerfxDmQaAAAF","upgrades":["websocket"],"pingInterval":25000,"pingTimeout":20000} : System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at EngineIOSharp.Common.Packet.EngineIOPacket.Decode(Stream Stream, Boolean IsBinary) EngineIOSharp.Client.Transport.EngineIOPolling : EngineIOSharp.Common.EngineIOException: Transport is not opened. ReadyState : CLOSED
Is there a specific version of Socket.io on NodeJS that I should be using?
Thanks!
The text was updated successfully, but these errors were encountered: