AzureFunction 504 timing out error while invoking from ADF.

Rupali Kamble 20 Reputation points
2024-02-08T04:10:31.6966667+00:00

Hi Team, We have a problem of azure functions timing out when the scheduler in ADF triggers the pipeline which runs the Azure function. But at the same time, the azure goes fine when we manually run the ADF pipeline. As per the below documents. Our Azure function goes into sleeping mode as our process runs once a day. so, do we need to restart the function every day ?
504 Gateway Time-out - Azure function - Microsoft Q&A
how to solve Azure Functions runtime is unreachable and 502 bad gate way error - Microsoft Q&A

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
0 comments No comments
{count} votes

Accepted answer
  1. Punam 75 Reputation points Microsoft Employee
    2024-02-08T04:37:34.9633333+00:00

    @Anonymous Is your function in consumption plan ? That might be the cold start behaviour if its not working. You can try browsing the function app from the portal first and then run the adf pipeline. Other reason could be if execution is taking more than 230 seconds.

    0 comments No comments

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.