Webapp Not Running 500 Request Timed Out Error ( The web server failed to respond within the specified time.)

Bina Trivedi 6 Reputation points
2022-09-29T13:49:32.717+00:00

Hii,

I have created a Web app in the Azure portal using the following Subscription
: Dev/Test F1 which is Free

I have Deployed Springboot Application In Webapp and it Takes 20 minutes to give me a Response.

While Running the Webapp I m getting the Following Error:
500 - The request timed out.
The web server failed to respond within the specified time.

Is there any configuration to Solve this error?

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

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 25,111 Reputation points Microsoft Employee Moderator
    2022-09-30T08:56:20.373+00:00

    @Bina Trivedi Thank you for reaching out to Microsoft Q&A. Apologize for the inconvenience caused on this.

    By default, Azure app service has Idle request time out 230 seconds.App Service returns a timeout to the client if your application does not return a response within approximately 240 seconds (230 seconds on Windows app, 240 seconds on Linux app). If your web app requires background processing, we recommend using Azure WebJobs. The Azure web app can call WebJobs and be notified when background processing is finished.

    • Does your application take more than 4 minutes to complete the request? If yes, is this the same behavior while executing application on local machine as well or are you seeing this issue when you hosted you r application on Azure?
    • If you are seeing this time out especially on Azure, then I would suggest you run Webapp slow detector in Availability and performance under Diagnose and solve problems of your web app to isolate the issue.
    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.