-
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
[BUG]: 404 Failed to deploy web package to App Service (Linux) #18739
Comments
Hi Eazyed, I am facing the same issue. In my case I also redeployed an environment and it worked just for 3 deployments but now it came back to the same behavior. |
Hi Eazyed and leivavictor, |
Hello @leivavictor and @vivelys. The task is still usable (kind of) , as this is only the polling for deployment status that fails, deployment is actually launched. So if you don't have any task that depends directly on the deployment in your pipeline you can simply set the task to continue on error for now. By the way, this problem did not appear in another similar project. |
Hello @Eazyed , I've exactly the same issue in one of my app service deployment, so I'll watch if a resolution will be found here. |
Same thing here - except we're using AzureWebApp - same errors though, so wonder if there is something underlying supporting these |
same error for me too |
Same issue:
|
We had the exact same issue. He deleted the app service and recreated a new one and it fixed the issue. |
Deploy WebApp to Azure problems started from 2023.08.01 it was all fine for 2 years. |
We deploy our app services in dev via bicep each morning and release the code via ado. They’re torn down each night. This has worked beautifully for a few months and started failing on Tuesday.
Unfortunately, we’re not having this joy. Our brand new Functions on brand new ASPs are “failing” to deploy. Same story as others, the function does deploy but ado thinks it has failed |
Hello all! There was the odd hiccup on two of them but they immediately retried and successfully deployed. @Eazyed How are things for you today? :) |
@jammyzt so what helped? this tip: |
No change on our side. Our app services were always destroyed every night and recreated in the morning. We suddenly saw the issues on Tuesday morning and they continued until yesterday. This morning, everything is working after no change on our side. We have an open support ticket with our friends at Microsoft but have had no response beyond acknowledgement of the ticket. I suspect something has been fixed on their side. |
Hello @jammyzt, Just did a test run and it seems to be working correctly for an app that was consistently failing until then. I'm leaving the issue open in case this has not been fixed for everyone. |
The "delete/recreate" tip did the trick for me. |
No change here just now despite deleting & recreating both app service (including additional slot) and app service plan - still fails :( |
Same here. My deployments used to work, and they don't anymore since yesterday : The delete/recreate app service trick doesn't work for me either |
Does this issue still persist or is it resolved? Can anyone please confirm? |
Hi, the problem was gone for me the day after my post. Sorry I didn’t give an update. |
Thanks for confirming, will be closing this for now. re-open if the issue reoccurs from the task end. |
I have the same issue suddenly on unchanged config while this deployment job worked for 2 years :( |
Hi @martin-greentrax , can you please let us know the previous successful run task version and the recent failure run task version ( eg: 4.233.2 ) |
@v-mohithgc sorry, I m not sure if this is the correct repository to report the issue. We did not change the deployment job so I m not aware of any version changes. In our github workflow yml we are using this since a long time: Azure/functions-action@v1 While debugging now we also tried v1.5.1, but no success with it either. Here is how the github job log starts with debug logging:
And this is how it fails:
|
The issue has gone away after experimenting for a long time. Hope this helps someone else googling:
Update: The issue came back a week later :( repeated the above steps but also deleted the "app". On the Overview blade on the bottom right there is a "..." menu next to "app" where you can delete it. On re-starting/re-building it will come back. Somehow that may have helped this time. I had 6 failed builds and then a green one again. Annoying. |
One thing I have noticed is- If I change any setting in my webapp while its being deployed it usually gives that error. And it gets deployed correctly If I just do a simple redeploy ( In my case add a little space somewhere in code and git push again ) |
I discover this problem when I diff files one by one. git diff <commit-hash> -- <file-path> And I found this line below. diff --git a/requirements.txt b/requirements.txt
Binary files a/requirements.txt and b/requirements.txt differ I don’t think it reasonable for a .txt type of file identify as binary. I just checkout to previous version, and everything work fine again. git checkout <commit-hash> -- <file-path> |
Task name
AzureRmWebAppDeployment
Task version
4
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows
Task log
Relevant log output
Aditional info
The text was updated successfully, but these errors were encountered: