Thanks for posting your question in the Microsoft Q&A forum.
It doesn't seem like this issue is related to Azure. Most likely, there's a problem in your application that you haven't handled. I suggest defining a global error handler in your application to ensure that any unhandled exceptions in your code won't cause a serious issue. You can log these errors for later investigation.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful