I have an asp.net mvc 4.5 app that makes requests to a WCF service, the problem is that when the service takes more than 30 seconds the mvc cuts the connection to the service, the wcf service keeps running and makes the changes to the database and returns what it should return, but I can't reflect it on the frontend because of the 502 error
I have already added the executionTimeout="300" in the mvc and it still does not work.
A detail is that the local request works normally, but when deployed is when the error appears.
I also followed the steps of:
"Internet Information Services dialog box, expand local computer > Sites and right click Default Website and select Manage Website > Advance Settings. Expand Connection Limits, change the Time-out value"
"On the bottom panel, open Configuration Editor. In the top of Editor choose system.web/httpRuntime. Find option "executionTimeout" and set new value"
And I still can't increase the 30 seconds timeout.
<httpRuntime targetFramework="4.5.1" executionTimeout="300"/>
I also modified the ISS of the service wcf to increase the response time to 5 minutes and modify the web.conf, but I don't know what to do and in google I don't see anything that can help me.
<binding maxReceivedMessageSize="2147483647" sendTimeout="01:00:01"></binding>
<binding name="IncreasedTimeout" sendTimeout="00:25:00"></binding
<binding sendTimeout="00:5:00" receiveTimeout="00:5:00"> </binding> </wsHttpBinding>