Getting gateway timeout in Azure application gateway

siddharth bansal 346 Reputation points
2023-09-18T05:55:55.2366667+00:00

My application gateway is having 2 instances of web API & UI , and while running many times i am getting gateway timeout (504 error) , also while doing load testing from JMeter , Web APIs are getting gateway timeout error very frequently ,even though the App services are having standard tier and timeout is given as 300 seconds in application gateway health probe .

Kindly suggest a way to run the app services with 504 error .

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,213 questions
{count} votes

Accepted answer
  1. msrini-MSFT 9,291 Reputation points Microsoft Employee
    2023-09-18T11:05:14.4466667+00:00

    Hi,

    The error 504 gateway timeout usually occurs when one or more servers could not complete the request within the allotted time and does not receive a timely response from gateway.

    You can increase the timeout of your backend as below:

    User's image

    Regards,

    Karthik Srinivas

    1 person found this answer helpful.

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.