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 Feb 15, 2023. It is now read-only.
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:
I'm having the same issue. Note the response 0{"sid":"lmUcXoLUerfxDmQaAAAF","upgrades":["websocket"],"pingInterval":25000,"pingTimeout":20000} is documented here: https://socket.io/docs/v3/troubleshooting-connection-issues/ which is a valid response from a NodeJS SocketIO server.
C#.NET version 4.7.2 running latest version of SocketIOSharp as a client.
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?
Tried via HTTPS and HTTP, none of them worked.
You guys founded a workaround ?
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.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: