azure App service restarted automatically everday

Balamurugan S 0 Reputation points
2024-03-20T08:01:09.64+00:00

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.
7,407 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. hossein jalilian 5,560 Reputation points
    2024-03-24T05:34:20.6433333+00:00

    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,791 Reputation points Microsoft Employee
    2024-03-26T02:01:07.29+00:00

    @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