Reputation: 1180
I have a web app hosted on a VM machine, Windows Server 2016 using IIS. One of the responses is taking over 90 seconds to execute and I can't seem to change the setting to keep the program alive long enough to receive the response. I have tried increasing the values of all the following parameters but so far nothing has made an impact.
1.) From IIS -> webapp -> advanced settings -> Limits -> Connection Timeout.
2.) From IIS -> configuration editor -> system.web/httpRuntime -> executionTimeout
-> shutdownTimeout
3.) From IIS -> webapp -> configuration editor -> system.web.httpRuntime -> executionTimeout
-> shutdownTimeout
4.) IIS -> Default App Pool -> Advanced Settings -> Idle Time-out
-> Shutdown Timelimit
5.) IIS -> webapp -> CGI -> behaviour -> timeout
If it matters the VM was created from azure portal and I am using django as my backend. Thank you!
Upvotes: 0
Views: 412
Reputation: 63244
None of those settings apply to Python based application.
If you follow Microsoft recommendation to host Python apps on IIS via HttpPlatformHandler, then its requestTimeout
setting is what you are looking for.
Upvotes: 1