Skip to content
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

Static Web App ------ Deployment Failure Reason: Failed to deploy the Azure Functions. #622

Closed
adam-javelin opened this issue Nov 5, 2021 · 11 comments

Comments

@adam-javelin
Copy link

adam-javelin commented Nov 5, 2021

Static Web app was running fine. Did a code push and now the stack is down and I cannot figure out why. I tried re-running the build but it always fails the same.

build below

---End of Oryx build logs---
Function Runtime Information. OS: Linux, Functions Runtime: v3, Node version: 12.X
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.3657797(s)
Status: InProgress. Time: 15.5921772(s)
Status: InProgress. Time: 31.5297017(s)
Status: Failed. Time: 46.7196347(s)
Deployment Failed :(
Deployment Failure Reason: Failed to deploy the Azure Functions.

image

@adam-javelin adam-javelin changed the title Deployment Failure Reason: Failed to deploy the Azure Functions. Static Web App ------ Deployment Failure Reason: Failed to deploy the Azure Functions. Nov 5, 2021
@adam-javelin
Copy link
Author

logs_356.zip
Here are my logs.

This has been working for several months. Then out of nowhere lastnight it just wouldn't build anymore.

@joslinmicrosoft
Copy link

Hi @adam-javelin, sorry for the inconvenience! If you retry the deployment now do you still see errors? It seems like last night we had some issues deploying to Azure Functions, but they seem to have been resolved.

@adam-javelin
Copy link
Author

adam-javelin commented Nov 5, 2021

Thanks @joslinmicrosoft I did try a pull request to test a branch and it worked. I will update when I can get dev/main to build successfully. ATM dev/main is somehow working even tho the Azure Portal says its not. I'm hesitant to re-build right now because we have some users testing. I will build it again later today and post back. Thanks for your prompt reply.

@joslinmicrosoft
Copy link

Good to hear the PR works! When you say that Portal says it's not working, do you mean within the Environments section it says "Failed" under the status? Just to clarify there, that status is about the latest deployment attempt, not the status of the live app. Failed builds/deployments do not update the app, so your currently live app should reflect the changes from your last successful deployment.

@adam-javelin
Copy link
Author

Ok its all good now just built to main and 👍 .

@ckriutz
Copy link

ckriutz commented Nov 19, 2021

I don't know if it's possible to re-open this, or look at it, but I'm experiencing the same error. Almost exactly.
The deployment worked before I added the function, but not after. No real reason or explanation, just fails.

@sig9
Copy link

sig9 commented Nov 19, 2021

we are having the same issue starting yesterday

@adam-javelin adam-javelin reopened this Nov 19, 2021
@adam-javelin
Copy link
Author

Yeah it would be nice to understand what is causing this.

@miwebst
Copy link
Contributor

miwebst commented Nov 19, 2021

We are investigating, does look like an issue with Azure Function deployment.

@miwebst
Copy link
Contributor

miwebst commented Nov 19, 2021

As an update we've found a potential root cause for the issues we are seeing and working to address it. Will continue to update here as we know more.

One thing to note is this only affects new SWA deployments with Functions, all existing SWA's with Azure Functions should be unaffected.

@miwebst
Copy link
Contributor

miwebst commented Nov 19, 2021

A fix has been found and applied, all new Function deployments should begin to work again. Sorry for the inconvenience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants