How to configure idle timeout for Azure app service.

Shivam Chawla 1 Reputation point Microsoft Employee
2022-08-05T11:24:06.707+00:00

As per the documentation, any request above 240 seconds times out on azure app service.
How can I increase this limit ?

As per the docs mentioned here I can increase it for VM, azure cloud services

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
775 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,035 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,961 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bjoern Peters 8,921 Reputation points
    2022-08-05T11:45:00.253+00:00

    Found this here:
    https://learn.microsoft.com/en-us/answers/questions/839464/how-to-increase-api-timeout-on-azure-which-in-depl.html

    As you are aware, the 230 seconds is a timeout configured at the Azure App service load balancer. This is a part of the Azure App service architecture and cannot be configured or changed.
    Here is an explanation of the architecture, it is for HTTP triggered function but it is applicable for Azure App service as well: https://learn.microsoft.com/en-us/answers/questions/758823/httptrigger-response-timeout.html
    Official documentation: https://learn.microsoft.com/en-us/troubleshoot/azure/general/web-apps-performance-faqs#why-does-my-request-time-out-after-230-seconds
    I hope this helps!

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    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.