How to increase api timeout on azure which in deployed on app service?

Singh Amardeep (SEIT) 26 Reputation points
2022-05-06T11:43:06.707+00:00

I am calling an api from react that is taking more time to respond than default timeout i.e. 230 secs. I have deployed the jar in app service that have spring rest api. As per other references, I think this 230 secs time is configured at load balancer. Just want to know, can we increase this time?
If yes, then how can we increase it?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,970 questions
{count} votes

Accepted answer
  1. MughundhanRaveendran-MSFT 12,436 Reputation points
    2022-05-06T13:10:17.653+00:00

    @Singh Amardeep (SEIT) ,

    Thanks for reaching out to Q&A.

    As you are aware, the 230 seconds is a timeout configured at the Azure App service load balancer. This is a part of the Azure App service architecture and cannot be configured or changed.

    Here is an explanation of the architecture, it is for HTTP triggered function but it is applicable for Azure App service as well: https://learn.microsoft.com/en-us/answers/questions/758823/httptrigger-response-timeout.html

    Official documentation: https://learn.microsoft.com/en-us/troubleshoot/azure/general/web-apps-performance-faqs#why-does-my-request-time-out-after-230-seconds

    I hope this helps!

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    3 people found this answer helpful.

0 additional answers

Sort by: Most helpful