5

I have 1 application gateway which having 2 backends (Azure VM) which is hosting ASP CORE REST API with IIS. And both is using port 80 to communicate.

Everything is working fine with manual test until when we use jmeter to do 2500 Threads POST request load test, some of the request get "504 gateway timeout" as response.

I tried to run the exactly same load test towards the backend straight and didnt received any bad response.

Am i misconfigured something on my application gateway?

Configurations Configurations

HTTP Settings HTTP Settings

Probes Probes

Kenvin
  • 73
  • 1
  • 2
  • 7

2 Answers2

1

By default, the Azure Application Gateway returns a 504 Error when the time of the request exceeds 20 seconds. The explanation of this random 504 errors is, in my view, the too high overload of the system. Possible solutions are to increase that time, or increase the performance or the backend, or perform a smaller amount of requests in parallel.

marcor92
  • 417
  • 5
  • 13
0

I believe you will need to contact Azure support to know error log generated when the load goes beyond a certain point.

Rahul Jadhav
  • 413
  • 3
  • 9