Open CyxSolutions opened 2 years ago
Can you create a reproducible repository? Thank you
I would suggestion checking the version of System.Text.Json. I recently had an issue where my program was terminating without an exception after attempting to connect to a SocketIO server. The issued turned out to be the version of a dependency, SystemText.Json. When my project include versions 6.0.1 or 6.0.2 it had this problem. I discovered that using version 6.0.0 worked successfully.
I think it happens when my Response Function takes to long?
For example the SocketIO Server Requests every installed program on a Windows Machine. The C# Application reads all installed Applications what takes about 20-30 Seconds (while this the connection terminates) and then the Client tries to submit the list of programs what fails as the connection closes.
Probably the Ping Pong / Heartbeat is not working while the application does not accept any command from the socket server while scanning the programs? How can this get fixed?
So i created a C# Console Application for Monitoring purposes that connects to my SocketIO Server. After 5-10 Minutes the Connection closed (Disconnect Event Triggered Only on Server Side) The Client does not reconnect by itself so it seems like the whole Socket gets terminated? What can be the problem here?
For Debug purposes both client and server run on the same machine.