IIS 8.5 connection timeout is _always_ 60 seconds

Viewed 5636

I have an ASP.NET application running on IIS 8.5 that times out at 60 seconds regardless of what I set. In other words, I can set the connection timeout to 300 seconds or 30 seconds and the page will still time out at 60 seconds. The Request status code is 504 GATEWAY_TIMEOUT.

Site:

  • Connection timeout = 300 seconds (5 mins)
  • Session timeout = 20 minutes
  • Script timeout = 10 minutes

App Pool:

  • .NET CLR v4.0
  • Integrated pipeline
  • 64-bit (32-bit not allowed)
  • Idle timeout = 20 mins (default)

Other things I've done:

  • Read just about every article I can on this subject
  • Set the executionTimeout in my web.config
  • Restarted the site or ran iisreset after each change
  • Disabled all sites except this one to isolate it
  • Created a simple ASPX page in which I set a Sleep thread to under or over 60 seconds, and tried every combination with the connection timeout value.

I'm at a loss. Any ideas?

2 Answers

The answer turned out to be a load balancer, which I was unaware existed, that had its own timeout setting.

Related