I have deployed Django on a windows server using IIS Windows Server 2019. When I submit the form, the time limit of the backend process is 100 Seconds, But after 40 seconds, IIS server responds with error 500. How can I increase this loading time of IIS.
Asked
Active
Viewed 475 times
1 Answers
0
In IIS, you can increase timeout to give application more time to load resources.
Open Internet Information Services (IIS) Manager.
Expand the local computer node, expand Web Sites, right-click the appropriate Web site, point to Manage Web Site, click Advanced Settings.
In the Advanced Settings window, expand Connection Limits, change the value in the Connection time-out field, and then click OK.
Open IIS.
On the left side, select"Application Pools"
On the right side,right-click this application pool and select Advanced Settings.
In the advanced settings, increase "Idle Time-out (minutes)".
Add this in web.config
<system.web>
<httpRuntime executionTimeout="180" />
</system.web>

Bruce Zhang
- 2,880
- 1
- 5
- 11