What is the idle timeout for Application Gateway

Shiva Kakileti 61 Reputation points
2020-12-10T04:53:45.2+00:00

We have set 60 seconds in the HTTP settings section, for few requests it throwing 502.
What is the idle timeout for azure application gateway?

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
961 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. suvasara-MSFT 10,011 Reputation points
    2020-12-10T06:18:47.447+00:00

    @Shiva Kakileti , The Keep-Alive timeout in the Application Gateway v1 SKU is 120 seconds and in the v2 SKU it's 75 seconds. The TCP idle timeout is a 4-minute default on the frontend virtual IP (VIP) of both v1 and v2 SKU of Application Gateway.
    You can configure the TCP idle timeout value on v1 and v2 Application Gateways to be anywhere between 4 minutes and 30 minutes. You can set the TCP idle timeout value of the public IP through PowerShell by running the following commands:

        $publicIP = Get-AzPublicIpAddress -Name MyPublicIP -ResourceGroupName MyResourceGroup  
        $publicIP.IdleTimeoutInMinutes = "15"  
        Set-AzPublicIpAddress -PublicIpAddress $publicIP  
    

    ----------

    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.