azure App service restarted automatically everday

Balamurugan S 0 Reputation points

We are using Azure App service to host our dotnet APIs.

We didnt enable any health check and autoscaling features for that appservice but still it restarted automatically and also we enable Always on.
User's image User's image

I am geting above log in diagnose and Solve Problems web restart.

Can anyone please help me understand what is causing my app to restart?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,774 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. hossein jalilian 1,505 Reputation points

    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

    0 comments No comments

  2. brtrach-MSFT 15,091 Reputation points Microsoft Employee

    @Balamurugan S We agree with hossein jalilian that this is likely a code issue causing your web app to crash.

    Can you please enable application logging and review the log for any errors next time you encounter this? Let us know if you require any assistance with reviewing the logs.

    0 comments No comments