doghappy / socket.io-client-csharp

socket.io-client implemention for .NET
MIT License
721 stars 124 forks source link

Ping timeout and .NET client not receiving messages. #313

Open GregorBiswanger opened 1 year ago

GregorBiswanger commented 1 year ago

Hello,

at Electron.NET we would like to use this library here as a new basis. Unfortunately, we have some difficulties here that we cannot easily determine.

We get a connection established. We can send messages to the Socket.IO backend. Just not the other way around. We're not getting any messages in .NET Client. After a short time we also get a ping timeout.

When creating a new Hello World project, communication works in both directions without any problems.

What can be the reason that we cannot receive any messages from the client and that it leads to a timeout? The code on our part had worked exactly with the legacy solution. I use this to rule out incorrect event naming.

Really need urgent help to advance our open-source project.

We use .NET 6. Have tried Socket.IO in the latest version and once with 4.5.

doghappy commented 1 year ago

There are many reasons, so please provide a reproducible repo or code