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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -