This project is read-only.
1
Vote

websocket connection closes unexpectedly

description

We are using Websocket4net.dll (ver 0.9.0.0). At one of our customer site, the websocket client connects with server but after a while websocket is getting closed unexpectedly, this issue is happening quite frequently at the site. The server is not closing the connection that is confirmed but still the websocket connection is closed. At the websocket client side, we do get closed event, however there is no websocket error with that event to identify the issue.

It is a known issue ?, I don't have a clue why it is getting closed unexpectedly. Does websocket4net has any logging which can be seen to identify the issue. Any pointers for this issue will be highly appreciated.

Regards,
Abhiraj

comments

kerryjiang wrote Oct 15, 2015 at 3:49 AM

Sorry, no body else reported this issue before.

Could you upgrade to the latest version?

There are many ways to troubleshoot this issue:

1) latest version add close reason into CloseEventArgs of close event, you can check it;
2) Use Wireshark or other tools to trace the raw network communications;

abhirajgandhi wrote Nov 1, 2015 at 11:55 AM

Thanks for the reply..
  1. We have given latest version of websocket4net DLL and have asked for the wireshark traces if the issue is reproduced again.
Will again prompt you if there is a reply

Regards,
Abhiraj