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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -