Increase request timeout 110 seconds

I cannot extend the 110 second timeout for requests to my Azure Web App. I did the following to increase this limit, but without success.

ASP.NET HTTP request execution time (web.config):

<system.web>
  <httpRuntime executionTimeout="600" />
</system.web>

      

IIS connection timeout (web.config):

<system.applicationHost>
  <webLimits connectionTimeout="00:10:00" />
</system.applicationHost>

      

Kudu timeout before removing external commands (site setup):

SCM_COMMAND_IDLE_TIMEOUT = 600

      

What am I missing?

+3


source to share


1 answer


waiting time 110 seconds

It's very strange that the request timeout is 110s, from Auzre 's official doc , we might know that the default timeout is about 4 minutes. It looks like we cannot increase the request timeout. Below is a snippet of the document. Try scaling up and downscaling your app service plan . If you still have the same problem, please contact Azure Support for support.



Azure Load Balancing has a default timeout set of four minutes. This is generally a reasonable response time for a web request. If your web application requires background processing, we recommend using Azure WebJobs. Azure Web App can call WebJobs and be notified when background processing is complete. You can choose from several methods for using WebJobs, including queues and triggers. + WebJobs is for background processing. You can do as much background processing as you like in the WebJob. For more information on web applications, see Running Background Tasks Using WebJobs .

Note : SCM_COMMAND_IDLE_TIMEOUT = 600

which can be used for your build process runs some command on the server side. But the request is a timeout that will force the clients to disconnect after 230 seconds, we could get more information from Azure Kudu Configurable Settings .

+1


source







All Articles