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?
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?
@ShivaKakileti-7447, 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.
@suvasara-MSFT what's the difference between Keep-Alive timeout & timeout setting in HTTP settings
What's the purpose of these two.
@ShivaKakileti-7447, Keep-Alive timeout governs how long the Application Gateway will wait for a client to send another HTTP request on a persistent connection before reusing it or closing it. Whereas the request timeout is the number of seconds that the application gateway will wait to receive a response from the backend pool before it returns a “connection timed out” error message.
Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.
You can change the request timeout in the HTTP settings, default is 20 seconds.
https://docs.microsoft.com/en-us/azure/application-gateway/configuration-http-settings
4 people are following this question.
Application Gateway is sending calls to server with high CPU
Web App only accepting Host Header that matches custom domain of Web App
Gateway-required VNet Integration - Regional Vnet Integration
Is it possible to split load using App Gateway?
Azure Application Gateway -- Manage Access to Virtual Directory based on IP address