Open ansmah opened 2 years ago
Can you please provide the app details so we can investigate? If you don't feel comfortable sharing them here, feel free to file a support ticket.
Can you please provide the app details so we can investigate? If you don't feel comfortable sharing them here, feel free to file a support ticket.
Currently only static content, we have the following files. app.js, config.json, favicon.ico, index.html, readme.md and vancity.css
@mkarmark I am also running into this issue. I have an app that is mostly unchanged from the react template. Deploying the app by itself works fine, but as soon as I add an API (I've tried both C# and typescript function apis), I get the timeout issue. It does seem to actually finish deploying, but it takes another 5 or so minutes for the API to show up in the "apis" section of my static web app in the azure portal.
My app can be found here if it helps: https://github.com/ssyrell/purpleair-dashboard
Here is a failed deployment: https://github.com/ssyrell/purpleair-dashboard/actions/runs/3221345766
me too...
Me three. Intermittent timeout failures. Example failure: https://github.com/MaxWilson/POCDungeonDraw/actions/runs/3246742217
Sometimes the live web site gets updated, sometimes it doesn't. I can't detect a pattern except that it several failures in a row are followed by several successes in a row--like it's an environment issue and not an issue linked to my code. Maybe there are certain times of day when load on SWA servers is too heavy?
Having the same issue. Here is my error log: https://pipelines.actions.githubusercontent.com/serviceHosts/583c118f-1d9a-4ddc-862e-67a8e673d75e/_apis/pipelines/1/runs/1258/signedlogcontent/2?urlExpires=2022-10-14T02%3A18%3A10.5877322Z&urlSigningMethod=HMACV1&urlSignature=r038Sm4waknUQMjEtil0wTBx4PKBWIYL0zNCGX16cV4%3D
Same issue here as well, details below, but essentially the upload occasionally times out. Once it does, as mentioned in other reports, it will generally fail a few times and then start succeeding a few times. We have less success in the morning (GMT).
DeploymentId: a85c6509-ff2e-4683-81ca-fa3ee09a11e0
App Directory Location: '/build' was found. Looking for event info Skipping step to build /github/workspace/build with Oryx No Api directory specified. Azure Functions will not be created. Either no Api directory was specified, or the specified directory was not found. Azure Functions will not be created. Zipping App Artifacts Done Zipping App Artifacts Uploading build artifacts. Finished Upload. Polling on deployment. Status: InProgress. Time: 2.9537861(s) Status: InProgress. Time: 18.054918(s) Status: InProgress. Time: 33.1716091(s) Status: InProgress. Time: 48.2877535(s) Status: InProgress. Time: 63.4116473(s) Status: InProgress. Time: 78.5275566(s) Status: InProgress. Time: 93.6360356(s) Status: InProgress. Time: 108.7403657(s) Status: InProgress. Time: 123.8702754(s) Status: InProgress. Time: 154.4016648(s) Status: InProgress. Time: 184.6059351(s) Status: InProgress. Time: 199.9511437(s) Upload Timed Out. Unsure if deployment was successful or not.
For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/en-us/azure/static-web-apps/ If you believe this behavior is unexpected, please raise a GitHub issue at https://github.com/azure/static-web-apps/issues/ Exiting
We have the same problem, using a azure devops pipeline ( task AzureStaticWebApp@0).
We also have this problem with azure static web app
We also have this problem.
Same issue... any workaround?
Same happening here... Any updates?
same issue as well
Facing the same issue today ... i created a full stack C# with Blazor & Az Fx all .NET7 ... GH action fails with the error - "Upload timed out. unsure if deoloyment was successful or not" ... and i have a demo in 1 hour time :(
Me 4
I encountered this issue while attempting to follow the Build an Azure Static Web Apps website with Blazor and serverless API tutorial. I tried stepping through this tutorial three times. Each time the Build and Deploy job failed reporting Upload Timed Out. Unsure if deployment was successful or not.
same issue
This issue is back again.
same issue
Same issue for me. `---End of Oryx build logs--- Function Runtime Information. OS: linux, Functions Runtime: ~4, node version: 16 Finished building function app with Oryx Zipping Api Artifacts Done Zipping Api Artifacts Zipping App Artifacts Done Zipping App Artifacts Uploading build artifacts. Finished Upload. Polling on deployment. Status: InProgress. Time: 0.081344(s) Status: InProgress. Time: 15.160747(s) Status: InProgress. Time: 30.2418266(s) Status: InProgress. Time: 45.537767(s) Status: InProgress. Time: 60.7017447(s) Status: InProgress. Time: 75.887511(s) Status: InProgress. Time: 91.1048633(s) Status: InProgress. Time: 106.2816092(s) Status: InProgress. Time: 123.9764901(s) Status: InProgress. Time: 139.1250957(s) Status: InProgress. Time: 154.202578(s) Status: InProgress. Time: 169.2889017(s) Status: InProgress. Time: 185.0700385(s) Status: InProgress. Time: 200.2424887(s) Status: InProgress. Time: 215.3178695(s) Status: InProgress. Time: 230.405882(s) Upload Timed Out. Unsure if deployment was successful or not.
For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/en-us/azure/static-web-apps/ If you believe this behavior is unexpected, please raise a GitHub issue at https://github.com/azure/static-web-apps/issues/ Exiting`
HI is this resolve?, we keep running the same issue for a couple of times now
App Directory Location: 'out' was found. Looking for event info Skipping step to build /working_dir/out with Oryx Using 'staticwebapp.config.json' file for configuration information, 'routes.json' will be ignored. Api Directory Location: 'api' was found. Skipping step to build /working_dir/api with Oryx Function Runtime Information. OS: linux, Functions Runtime: ~4, node version: 16 Zipping Api Artifacts Done Zipping Api Artifacts Zipping App Artifacts Done Zipping App Artifacts Uploading build artifacts. Finished Upload. Polling on deployment. Status: InProgress. Time: 0.263987(s) Status: InProgress. Time: 15.5313462(s) Status: InProgress. Time: 30.8131698(s) Status: InProgress. Time: 46.0440322(s) Status: InProgress. Time: 61.2769718(s) Status: InProgress. Time: 76.4715084(s) Status: InProgress. Time: 91.6647405(s) Status: InProgress. Time: 106.8436189(s) Status: InProgress. Time: 122.1195995(s) Status: InProgress. Time: 137.3141649(s) Status: InProgress. Time: 153.2731447(s) Status: InProgress. Time: 168.4570744(s) Status: InProgress. Time: 183.6682158(s) Status: InProgress. Time: 198.8815765(s) Status: InProgress. Time: 214.1923525(s) Status: InProgress. Time: 229.4028036(s) Upload Timed Out. Unsure if deployment was successful or not.
For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/en-us/azure/static-web-apps/ If you believe this behavior is unexpected, please raise a GitHub issue at https://github.com/azure/static-web-apps/issues/ Exiting
Finishing: Deploy iot-web-prod
Same issue here. The "Environments" blade in the Azure portal seems to be stuck in the "Uploading" status:
same issue, and i only find out it did actually deploy successfully when i looked into the "Environments" blade in the portal, the status said "Ready"
+1
+1
Just ran through the quick start and how-to guides in the documentation and received this error.
Got a response from MS from our service request and apparently they found out that the timeout period for the deployment steps is hard coded and if file size is large in combination with some intermittent network issue then you'll encounter this error. The work around that MS suggested to us was either we breakdown our deployments into smaller chunks in the pipeline or deploy in a different time of the day(*When its not very busy which is before lunch time in our timezone) so as a high performing engineer I choose the latter(LOL) .. Its quite annoying cuz this means there is no guarantee that our hotfixes could be deployed in time since there is no guarantee that pipeline wont fail especially in the afternoon
@abdulpapalek do they offer any ETA for the fixing? I can't imagine they hard-code such a critical variable... 🤬
@zjhch123 not really, i dont think they are fixing it anytime soon which is a bummer because we'll be adding 2 new big packages
Ok I find a solution just add
- app_build_timeout_seconds: 1800
on your file yml
@AntoineSmet that is only for the build. Unfortunately there is no easy way around the deployment polling timeout. This is the sample code that MS sent us
We've just had the same problem on a critical site. Deployment before 0900 before business hours, showing as "Uploading", but never resolving. Multiple deployments not resolving. This is /not/ a large deployment, but "wait until quiet" is not an acceptable solution.
Same issue for me since yesterday...
Yes, I also have the same issue, very frustrating. It was working fine when set up initially in March, but recently have seen this error occur randomly.
Is there any workaround or solution?
Perhaps a solution/hack is to implement a retry with e.g. https://github.com/Wandalen/wretry.action
@roldengarm So for me at least it is working again. It seems to be a temporary, yet reoccuring problem...
I also had this issue a few days back for the first time, during my holidays, and redeploying now worked! A bit frustrating, especially considering the workaround given by MS
@roldengarm So for me at least it is working again. It seems to be a temporary, yet reoccuring problem...
Yes, it is always working the second time, but it is very annoying as I have to re-run our pipeline manually.
Same issue here. Is there any update on this?
Having the same issue here. And the environment has been stuck at Updating
for days now. But the new code has already been uploaded successfully
same issue
Same issue
Same issue here. Start time of the event appears to be timed with a significant outage of the GitHub Actions/Runner workload which has subsequently been resolved a couple hours back.
Same issue from today, it happens only in Production. Staging deployments are OK.
Same issue here. Start time of the event appears to be timed with a significant outage of the GitHub Actions/Runner workload which has subsequently been resolved a couple hours back.
Yes but runners are working fine now. but still showing the same error
created a new issue #1396
same here
Re-run the same job in a different time. It might help.
I get this error in Azure Devops after 600 seconds. Is there a resolution already?
I'm seeing this with the Github Actions Deploy in a staging build for a PR.
@elad320011 @Cypher1 are you deploying Next.js workloads? If so, can you share the region of your static web apps and its default hostname/url in the thread https://github.com/Azure/static-web-apps/issues/1427?
[error]Error: The process '/usr/bin/bash' failed with exit code 1
When executing from Azure DevOps will get this message sporadically. On subsequent retries we will have some success.
We are using vmImage: ubuntu-latest to execute