504 Gateway Timeout from an IIS Server

Ajesh picture Ajesh · Aug 16, 2017 · Viewed 16.1k times · Source

I am using a web Server based on IIS,I am using an Infor Application which is trying to fetch data from the Web Server. However when there is a lot of data and the query runs more than 60 seconds, i get a Gateway Timeout Error(504).

Where do i set the configuration to increase till say 2 minutes or 5 minutes? Any Help would be appreciated.

Answer

Matt Evans picture Matt Evans · Jun 12, 2019

If as the other answer suggests, you are using ARR, there is another undocumented setting which often causes 502's

https://serverfault.com/questions/259857/why-does-web-farm-framework-keep-marking-my-wfes-as-unhealthy/522774#522774

http://forums.iis.net/t/1183539.aspx/1