-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validation during AzureFunctionApp Task takes too long #17718
Comments
I have the same issue. |
Hello, moved this issue to me and I will take a look. |
In addition to this: we run several deploy pipelines that all have the same setup, and they all go to similar function apps. The raw publish log of them is normally this:
So deploy takes normally a few minutes in total. Only one (new) pipeline is taking so long that a timeout occurs:
I cannot find any reason why this pipeline should perform different from the others. |
@FinVamp1, could you please give an update? We still have an undeployable function.... |
Hello there. It looks like when this app was going through validation the call returned a 503 Server error and the site was not able to start. As your Function App is running on a virtual network it appears that intermittently the content share hosting the app content was not available. Our guidance on configuring this is here. https://learn.microsoft.com/en-us/azure/azure-functions/configure-networking-how-to . Can you check the Storage account configuration related to the Virtual Network? Finbar |
Hi, I will add logging for this. |
Hi Finbar, great! Thanks for your support!
Kind regards / Met vriendelijke groeten,
Tonko Boekhoud
From: Finbar Ryan ***@***.***>
Sent: dinsdag 18 april 2023 18:21
To: microsoft/azure-pipelines-tasks ***@***.***>
Cc: Tonko Boekhoud ***@***.***>; Comment ***@***.***>
Subject: Re: [microsoft/azure-pipelines-tasks] Validation during AzureFunctionApp Task takes too long (Issue #17718)
Hi, I will add logging for this.
—
Reply to this email directly, view it on GitHub<#17718 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A356FC4LEZFEEJ5KWXAEUELXB25PBANCNFSM6AAAAAAUTWBAME>.
You are receiving this because you commented.Message ID: ***@***.******@***.***>>
|
Any update on this issue? Facing the same issue with an Azure .NET Function App. |
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days |
Reopened as I have plans to help on this. |
Following. I am facing similar issue |
Up, we're facing this issue in our deployments as well, using the AzureFunctionApp@2 version task. Validating takes around 10-15 minutes. It doesn't take always this long, but sometimes it does. |
I'm too facing the similar issue, I have tried the most of the troubleshooting and still facing same any possible solutions here much appreciated |
For my case, as it is behind private endpoint with public access disabled, and as vnet integration is setup, those 2 settings made it work: |
Can people seeing this issue please share their deployment logs? If you don't want to share these here then email me finbarr at microsoft.com? An app name would also be ideally? @bpons-mir Were you deploying to a Functions Elastic Premium plan? |
@FinVamp1 well actually I was deploying to a Logic App but I use AzureFunctionApp@2 task to do so. |
We are facing similar issue on one of our pipeline. |
Triaged, add some guardrails and logging around this call. |
Type: Question
Enter Task Name: AzureFunctionAppV1, AzureFunctionAppV2
Issue Description
Both of these tasks take a long time (e.g. 13 minutes) just for the validation step to complete.
azure-pipelines-tasks/Tasks/AzureFunctionAppV2/azure-arm-rest/azure-arm-app-service-kudu.ts
Line 653 in 30c99c8
This is the call that takes so long for no apparent reason.
Is this potentially a bug or what could be the cause?
Task logs
The text was updated successfully, but these errors were encountered: