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

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,553 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,758 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Tiny Wang-MSFT 2,646 Reputation points Microsoft Vendor
    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 Answers by the question author, which helps users to know the answer solved the author's problem.