What is the max timeout for an API HTTP request in an Azure App Service Web App?

Armando Cons Robles 0 Reputation points
2024-04-15T16:29:48.36+00:00

I have a NET 6 API deployed in a Web App in an Linux App Service plan with a P0v3 pricing plan. I would like to know the maximum timeout of a HTTP response because I have an endpoint whose execution time is currently of 20 minutes and would like to know if I'm getting close to the timeout limit.
I've attached a screenshot of my web app's General settings and my app service plan pricing: User's image

User's image

Developer technologies | ASP.NET | ASP.NET Core
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-04-16T01:40:49.87+00:00

    Hi @Armando Cons Robles , according to the official document, I'm afriad that we don't have an option to change the default timeout for requests.

    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

    0 comments No comments

Your answer

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