-
Notifications
You must be signed in to change notification settings - Fork 56
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
Deployment fails randomly: Deployment Failure Reason: Failure during content distribution. #632
Comments
Can you provide any details on the default hostname of the app (i.e. happy-dog-123)? If you do not feel comfortable providing that information here, I'd recommend filing a support request. |
Default hostname: https://zealous-river-050505f0f.azurestaticapps.net |
Getting this same error intermittently as well: icy-sea-009cf3103. Last issue today 3 hours ago. Retrying later or immediately after the error has so far worked, but NOT this time, so unable to deploy updates. Filed support request, will update here of the outcome. UPDATE: Oh well, 3rd attempt, and it deployed successfully. Will discuss with support anyway...
|
Switch to another product... That's what I did as I was unable to reliably deploy my project 😟 |
We are working on a solution, will likely have an update in mid-January. Some things that you can do to improve this reliability in the short term (these may or may not be possible depending on how you build / operate your site):
As I mentioned, these may not be suitable / possible options in which case you will need to wait until mid-January for the fixes we are working on. We apologize for the inconvenience. |
@miwebst have any update? I met the same issue. |
@miwebst Any update on the issue? On my side, the deployment continues to fail almost every day :( Domain: mango-dune-05cf06d10.azurestaticapps.net
|
Also happened to me, two times in a row, |
I've had ticket open at Microsoft for over a year. They've promised me several times that "now the issue has been fixed" and that "now your instance has been moved somewhere else and consider yourself privileged as now YOU will no longer see the issue". Yet it still occurs every few weeks. I've always reported the issue to them, but in the last 2 months or so, they haven't even bothered to ackowledge my reports so I'm very confused how come a paid service (I have Standard tier) behaves like this. Bad service, bad support. |
I am still facing the same issue! |
same here :( |
yes, the same |
Same here, it started to fail out of the blue. |
same here |
yes |
I am aslo facing the same issue starting today, yesterday it was working. |
Same here! Started this afternoon. |
same here. |
1 similar comment
same here. |
I just recreated the static app, and everything deployed to the fresh app with no errors. |
The same here. Microsoft has not provided in any Alerts on this |
Same also this afternoon... |
From Azure : |
There is clearly an Azure incident taking place -- why is that not reflected here? https://azure.status.microsoft/en-us/status |
Also having this problem right now... Certainly an incident |
+1 |
+1 |
experiencing the issue as well. have heard diddly-squat from azure about the incident |
+1 |
5 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
+1 here |
+1 has any one heard back from Azure? |
|
Same here for the production env, working fine in other static pages |
+1. Not randomly, every time. Any news from Azure? |
+1 |
mismo error +1 |
+1 |
From my service integrity's page Current Status: We are looking into a potential configuration issue at this time. We are continuing to investigate backlogs and telemetry to better understand the issue. Engineers are engaged working on identifying a mitigation workstream at this time. The next update will be provided within 2 hours, or as events warrant. |
Facing the same error with my deployment. Deployed during the day and it worked fine, but tried deploying new changes now and it has, surprisingly, started giving this error. |
+1 |
+1 same issue for the last couple hours now |
It deployed for me, finally! 😀 |
yea, mine started working too finally!! |
Still not working for me although it did sit in the 'Status: InProgress.' state for some time, '574.9181287(s)' to be exact before it failed again.
|
@Alex-atTimec it seems that your issue is unrelated, i recommend checking other issues or opening a new one Actually, it seems to be the same from #1457 |
Thanks! It actually worked after a couple more attempts. |
Worked for me.. thank you! |
In #632 (comment), @miwebst wrote almost 3 years ago that this should be fixed "mid-january 2022". It is apparently not fixed, as I'm struggling with this issue right now. I've tried to re-run the deployment dozens of times, but it just keeps failing. Needless to say, the error message What's strange is if I attempt to re-deploy an old build in the same repository, it succeeds. Even resetting The changes I want to have deployed also works in a development environment, whose only difference to the production environment is its The problem seems to be isolated to GitHub “release published" builds. All other builds succeed. I've tried to change the deployment key and even created an entirely new Static Web App, but the behavior is consistently the same. I suppose this is due to production deployments actually doing "content distribution", while preview environments don't distribute the content. After further investigation, I've managed to successfully deploy to production by reducing the number of files to deploy from 6307 to 759. So it seems like the problem might be that waiting for content distribution simply times out after 5 minutes. I haven't figured out the exact file count threshold is, but as 759 files consistently deploys successfully in around 45 seconds, Seeing how SWA is touted as a replacement for Blob Storage Static Websites and a competitor to Netlify, Cloud Cannon, etc., I find this limitation laughable. I've worked on projects which hosted tens of thousands of files on Blob Storage Static Websites without a problem. Needless to say, SWA should be able to do that too. |
I've been in contact with Microsoft Support regarding this issue and have documented my interaction and how the issue was resolved in Azure/static-web-apps-cli#853. TL;DR:
|
Describe the bug
The deployment job sometimes fails with the error
Deployment Failure Reason: Failure during content distribution
. If I retry the GitHub job a few minutes / hours later, it succeeds. It happened a few times this week. The following job succeeds at the 4th attempt.Expected behavior
The deployment works every time
Screenshots
The text was updated successfully, but these errors were encountered: