Reputation: 123
I have an application in ASP.MVC, I haven't encountered any issue working on local, but started to experience "timeouts" with the application deployed on an Azure Website.
Some context; I am uploading files, on upload, there are some logic behind that take some times. In this example, I am uploading 4 files. The Action return after 2.7 minutes for the first file, the 4th one then reach the Action, but the 2 other requests timeout at 4 minutes:
I have tried:
I would appreciate any tips, I haven't found anything helpful. Thanks!
Upvotes: 1
Views: 1066
Reputation: 123
I have found out that there is a layer between the user and the Website, ARR. ARR is doing the routing, and it acts as a proxy (hence the 502 Bad Gateway returned by the ARR)
The timeout set on the ARR is not configurable for Websites. It used to be 1 minute, and now is 4 minutes.
I resolved my case by installing the application on a Virtual Machine instead
Upvotes: 2