04-05-2019, 02:38 PM
If your service is dying, the most common cause is user code causing deadlocks, memory corruption or other such fatal errors.
While you can ping and restart your service as a short term solution, this is a hack and won't solve the root issue.
"The causes seem to be disconnection from the browser without leaving the application."
This may indicate that you have a problem in your code that occurs when the sessions are terminated. If so, you should be able to reproduce this rather easily while running in the debugger and see what is going on with breakpoints.
While you can ping and restart your service as a short term solution, this is a hack and won't solve the root issue.
"The causes seem to be disconnection from the browser without leaving the application."
This may indicate that you have a problem in your code that occurs when the sessions are terminated. If so, you should be able to reproduce this rather easily while running in the debugger and see what is going on with breakpoints.