asp.net mvc - Websockets service crashes after unexpected closing connections -


i have asp.net mvc backend , mobile application (cordova). added websockets service backend using this library starting point.

websockets service crashes if client disconnects without normal closing connection (just close application). 3 times enough reproducing.

i added try-catch block this function , works fine 1 unexpectedly closed connection.

after reproducing service responses "503 service unavailable" times, after works fine.

i added try-catch functions , use ilooger object in catch block logging don't see errors in logs , on azure portal.

any ideas?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

Python Tornado package error when running server -