can I use azure application gateway to increase the application gateway timeout of azure web app service?

Prabu Mohan 20 Reputation points
2024-09-24T12:44:03.8766667+00:00

I am having application gateway timeout in azure web app service, I understand the 240 seconds are the default setting and cannot be changed. However when checking with GPT it suggested to use Azure application Gatway to increase the application gateway timeout. But I dont find any proper wiki from azure about that. So I want to check is it possible to increase the gateway timeout of azure web app service or azure functions (that is trigger with HTTP call) using azure application gateway?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,950 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,714 questions
0 comments No comments
{count} votes

Accepted answer
  1. MayankBargali-MSFT 70,401 Reputation points
    2024-09-25T05:35:55.25+00:00

    @Prabu Mohan Thanks for reaching out.

    No, you cannot increase the default ideal timeout of the azure function or webapps. This is a part of the Azure App service architecture and cannot be configured or changed. Previously explanation of the architecture you can refer to this, it is for HTTP triggered function, but it is applicable for Azure App service as well

    The same is documented in the FAQ here

    Azure Load Balancer has a default idle timeout setting of four minutes. This setting is generally a reasonable response time limit for a web request. so, 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. You can choose from multiple methods for using WebJobs, including queues and triggers.

    WebJobs is designed for background processing. You can do as much background processing as you want in a WebJob. For more information about WebJobs, see Run background tasks with WebJobs.

    Let me know if you have any queries or concerns.

    Please accept as "Yes" if the answer is helpful so that it can help others in the community.


0 additional answers

Sort by: Most helpful

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.