Open bszewczyk opened 3 years ago
I found the answer, that was the case for me ! (And yes, that sucks) https://stackoverflow.com/questions/59590293/long-running-azure-function-returns-502-but-the-function-is-actually-did-the-wo
Yes, I thought that is some problem with time that my functions last. I thought that maybe it can be fixed by Microsoft
Why issue is closed? That means it is fixed or won't be fixed?
@bszewczyk , I thought Charles provided a solution though it is not a good one. But I will reopen it and notify related people. Thanks.
Hi,
like it is written here https://docs.microsoft.com/en-us/azure/data-factory/control-flow-azure-function-activity#timeout-and-long-running-functions
Azure Fucntion block can last maximum 230 seconds even though funcion can last longer. My question is if it will be improved in azure data factory.
That document actually links to here: https://docs.microsoft.com/en-us/azure/azure-functions/functions-versions#timeout So the limitation is actually from Azure Function instead of Azure Data Factory, right?
Hello,
Since the 230s limit is related to the fact that we call Azure Functions via HTTP, with RESTful verbs : the http calls should be stateless. As it is supposed to be stateless, it's legitimate that azure function blocks should not last for a long time. So the good practice would be to have a stateless function that returns "202 Accepted" or "201 Created" (job) for the time of the job run and after the job is done, the answer becomes "200 {"status": "succeded", "data" : [...]}.
170, rue Raymond Losserand 75014 Paris
De : Beata Szewczyk @.> Envoyé : mardi 16 mars 2021 12:11 À : Azure/Azure-DataFactory @.> Cc : Charles GOSSELIN @.>; Comment @.> Objet : Re: [Azure/Azure-DataFactory] Azure Function 3608 error (#234)
Hi,
like it is written here https://docs.microsoft.com/en-us/azure/data-factory/control-flow-azure-function-activity#timeout-and-long-running-functions
Azure Fucntion block can last maximum 230 seconds even though funcion can last longer. My question is if it will be improved in azure data factory.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/Azure/Azure-DataFactory/issues/234#issuecomment-800168627, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANRTHLXWVOZZH5QSQL4ETK3TD44GLANCNFSM4UESVQXQ.
Azure Functions block failes after 4 minutes of working despite azure function returns 200 code.
Error: Error code 3608 Troubleshooting guide Failure type User configuration issue Details Call to provided Azure function 'DecomposeData_AzureFunction_DecomposeDataWithPreds' failed with status-'BadGateway' and message - '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Server Error