Currently , this is a default limit in Azure App Service. You cannot increase the 230 seconds timeout for Azure App Services. The suggested approach is to move to an async pattern like WebJobs or Azure Functions. You can follow this tutorial to get started with Azure Webjobs. Please let us know if you have further questions.
Trending on MSDN: Server time out error
Hello,
I get the below error for Azure API App, service timeout when API takes more than 3.83 mins. Is there any way that I can increase the timeout? or do I have to go with the WebJobs approach as explained below. As per the below update from Microsoft. We can create webjobs and by API we can call it:
"230 seconds is the maximum amount of time that a request can take without sending any data back to the response. It is not configurable. For more details, refer to Time Out After 230 seconds. If your web app requires background processing, we recommend using Azure WebJobs. The Azure web app can call WebJobs and be notified when background processing is finished. You can choose from multiple methods for using WebJobs, including queues and triggers."
How can we call webjobs from API and pass JSON object to webjobs?
-
bharathn-msft 5,086 Reputation points Microsoft Employee
2019-10-29T22:39:45.18+00:00