Is it possible to increase the Keep-Alive timeout on an Application Gateway

Brian Brinch 61 Reputation points
2021-11-30T09:04:02.967+00:00

We got some IoT devices connecting with an Azure App Service through an Azure Application gateway. The mobile connection has a limited data capacity each month and because of this we need the connection to be kept alive. But the connection drops after apx 50 seconds and the cost to re-open the connection or ping to keep it alive is too much.

According to this link: https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-faq the default is 75 seconds in the v2 SKU. How can I increase the 75 seconds or obtain a connection that is kept alive

Azure App Configuration
Azure App Configuration
An Azure service that provides hosted, universal storage for Azure app configurations.
216 questions
Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,014 questions
0 comments No comments
{count} votes

Accepted answer
  1. msrini-MSFT 9,276 Reputation points Microsoft Employee
    2021-11-30T09:20:22.503+00:00

    @BBCDenmark,

    The default is 75 seconds and that settings is not editable. I think your issue is caused by the Request timeout settings in the HTTP settings.

    Reference: https://learn.microsoft.com/en-us/azure/application-gateway/configuration-http-settings#request-timeout

    That is editable and default is 30 seconds. Can you check and change the settings and see if that fixes your issue?

    Regards,
    Karthik Srinivas


0 additional answers

Sort by: Most helpful