HTTPTrigger 230 Response Timeout with Function Apps with HTTP triggers inside a App Service plan

Harry Davis 40 Reputation points
2023-07-19T11:39:52.1666667+00:00

I have seen this question a lot but still a bit confused. In the docs it says:

Regardless of the function app timeout setting, 230 seconds is the maximum amount of time that an HTTP triggered function can take to respond to a request.

We have Function Apps with HTTP triggers inside a App Service plan (we have both basic and premium App Service Plans if that makes any difference). In the future we may want to have longer timeouts for processing large datasets.

What does the quote above apply to and what do the maximum values for timeouts in the docs apply to. It reads like they both apply to the same thing.

Thanks

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,398 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,260 questions
0 comments No comments
{count} votes

Accepted answer
  1. MuthuKumaranMurugaachari-MSFT 22,401 Reputation points
    2023-07-19T16:09:51.07+00:00

    Harry Davis Thanks for posting your question in Microsoft Q&A. As per doc: Function app timeout duration, you can set the timeout duration up to 230 and Azure Function will timeout once the value has been reached. However, if the value is set beyond 230, then Azure Functions will time out anyway and will not consider the value of timeout. This is because of underlying infrastructure that Azure Functions use i.e., Azure Load Balancer which has the following limitations: Why does my request time out after 230 seconds?

    User's image

    So, if you are looking for longer timeouts (beyond 230), you would have to use Durable Functions with async pattern. This can support longer running tasks without timeouts and checkout the doc for more info. Here is the similar discussion in SO thread and I hope this helps with your question. Let me know if you have any questions and am happy to assist.


    If you found the answer to your question helpful, please take a moment to mark it as "Yes" for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.