Exception while disconnect #302
Unanswered
ChristopheRaoult
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear,
i use your library and get after some time a disconnection event.
In my log the reason is not any of the possible reason but an exception
private void ClientSocket_OnDisconnected(object sender, string e)
{
Addlogentry("Info React - Disconnect from " + BackEndServerUrl + " - Reason : " + e);
IsClientSocketConnected = false;
InitialStart = true;
reconnectAll();
}
LOG :
**Disconnect from http://192.168.0.162:5010/ - Reason : An internal WebSocket error occurred. Please see the innerException, if present, for more details. **
why i received an exception and none of the possible reason?
When detected i try top reconnect with no success
**2022-11-24-10:18:18:375 0 ---- Start Socket Creation -----
2022-11-24-10:18:18:380 0 Info React - Initiate connection with SocketIO to http://192.168.0.162:5010/
2022-11-24-10:18:18:398 0 socket ConnectAsync
2022-11-24-10:18:18:400 0 ---- End Socket Creation -----
2022-11-24-10:18:20:407 0 >> Socket not connected **
I know the server is running as many of this service connenct to it and other are not disconnected. from that i cannot reconnect by creating a brand new object.
In order to reconnect , i need to restart the service windows using your library.
Have you already experencied this behavior , any tips to get the inner exception details?
Regards
Beta Was this translation helpful? Give feedback.
All reactions