Open sedvardsen opened 2 years ago
same here
Hi, same problem here, starting today. Failed on different SWA deployments
Same for me
Same issue for my project. In addition the Azure Functions in the deployed web app give a 503 error.
Raided prio A ticket to Azure
Same Here please fix this
just got a call from Azure support. It is an outage in West Europe related to Static Web App and they are working on it right now to resolve it
seems to be still an issue?
Yes, no change since the issue started this afternoon. No update on the Azure support ticket either
We have the same issue without any changes to the app. The functions are not running in the swa, and we are not able to deploy new versions.
Same here.
same here :( Microsoft confirmed the issue in a ticket I opened and stated that they are working on a fix. This has been 10 hours ago.
Issue is solved for me, now. Deployments work again :)
I can also confirm it's working now ... but still took a long time for Microsoft to fix this.
my app still crash can some one help me
my app still crash can some one help me
@amitShimon1983 you have to re-deploy your static web app. only than the functions are back and can be called from the app.
Works fine thanks :)
my app still crash can some one help me
@amitShimon1983 you have to re-deploy your static web app. only than the functions are back and can be called from the app.
It works here as well for all affected apps (after a redeploy). The custom roles source functionality is in preview and is no way mature enough to be used for critical applications yet.
We also have an outstanding issue regarding all users with "special" characters in their name. Being located in Scandinavia that affects a large portion of our user base. For these users an invalid JSON payload is sent to the role function, making it effectively useless. and that ticket has been sitting still the last 10 days.
We have developed a workaround for that, though it's a level of ugly that we'd rather not have as a permanent solution
Confirmed that redeploy got things working again for me.
I assume it's not specific to my setup that the failed deployment caused the pre-existing functions to be dropped, resulting in all server-side calls failing with 503 errors?
I'm shocked that the deployment isn't a transactional process. This resulted in ~12 hrs downtime for my site.
Hi, yes I can confirm that this was due to a Azure Functions outage in West Europe. This issue has been resolved now, so let me know if things are still looking unhealthy! Sorry about the inconvenience caused during this outage!
Hi! I am currently getting the same error. In my case it is a net 6 function.
Hi!, I'm seeing exactly the same error as above - Using a Python based function using the managed function app, with SWA.
Region : West Europe
OUr azure functions where also not working again between 20:00 and 02:00 UTC yesterday. They are working again now.
Yesterday we had the same problem with out static web app on Azure, same behaviour as on 31st of may. As @EmmyHermans mentioned in previous post, Azure site was down from around 20.00hrs till 02.00 UTC this morning. I created a support ticket in Azure, but no reaction so far from Microsoft.
@mkarmark, Can you see what happened in West Europe region? Two outages of 6 hours or longer in a short time (less than 2 weeks) is a serious outage in my opinion...
Because of the first outage on May 31st, we enabled AppInsights, but there is no record of any outage to be seen there. What is wrong with Azure lately?
I just got an email from Microsoft as a response to my support ticket. They confirmed there was an outage in Western Europe again yesterday evening.
I'm seeing this also
Getting this too in Western Europe.
EDIT: Also failing for East US 2.
I have a call with Microsoft support 1030 tomorrow morning. Will share this issue in the call and report back on how it goes
I have a call with Microsoft support 1030 tomorrow morning. Will share this issue in the call and report back on how it goes
Any news? @johnnyreilly
Had call - they've said they'll get back to me next week. Unfortunately the person I spoke to needs to get assistance from others. Have supplied Bicep template and build logs from Azure DevOps task that does deployment
Got some help from @anthonychu. In my case the root of the problem was the setting "FUNCTIONS_WORKER_RUNTIME" in the Static Web App. After removing it and setting the correct platform\apiRuntime in the staticwebapp.config.json, the deployment works.
The Static Web App doesn't let me re-add the setting (like it's supposed to happen according to the docs), but it did before the first deployment.
Oh this sounds really promising! Could you provide a few more details please?
In my case the root of the problem was the setting "FUNCTIONS_WORKER_RUNTIME" in the Static Web App.
Where were you setting this that was problematic and you changed?
The Static Web App doesn't let me re-add the setting (like it's supposed to happen according to the docs), but it did before the first deployment.
Don't quite understand this?
Where were you setting this that was problematic and you changed?
I had it in the Static Web App Application Settings.
Okay thanks - sounds like your situation is different from mine
Still waiting for support to get back to me - think I've covered everything I can from my end.
I've tried everything I can think of with Emad Khalifah of Microsoft Support. No success as yet - I've asked for the issue to be escalated. There is a related issue which speaks of EnvironmentId
which appears to have been closed (surprising since I believe it is not fixed):
https://github.com/Azure/static-web-apps/issues/723
We've tried the workaround we list there out but it didn't work for us.
I have the same issue. The functions app deploys just fine when deploying directly to functions, but as fails as part of swa. Also, this worked before on the same project.
I had the same problem too with a hybrid next.js app. For me it fixed setting build_timeout_in_minutes
to a high value (e.g. 1000).
This was just a lucky guess because the error did not state anything about a timeout issue.
I had the same problem too with a hybrid next.js app. For me it fixed setting
build_timeout_in_minutes
to a high value (e.g. 1000). This was just a lucky guess because the error did not state anything about a timeout issue.
hey, where do we have to add this setting, as I am facing this issue now. Azure Functions are not working suddenly, the functions fail to deploy.
Issue is solved for me, now. Deployments work again :)
did you have to do anything specific? or did MS fix it from their end?
We are facing the issue right now as well. The status page shows everything is fine Functions wise.
Does anybody have any info about this problem ?
Thank you.
Same issues for us as well. No new deploys, everything worked well yesterday. Now the site is unavailable and it is not possible to deploy new code (Deployment Failure Reason: Failed to deploy the Azure Functions.). I tried setting up a completely new static web app but still the same issues. Should add to the context here that our app is a hybrid Next.JS app.
Same issue since this morning, but strangely only for our dev environment (we also have acceptance and production but those are still working). We've had this issue before and usually it's resolved without doing anything in a few hours. It's annoying that Azure pretends everything is fine though.
We are also running into this problem using the 'Deploy Azure Static Web App (Preview)' task. For another SWA application we are manually using an older version of the underlying container to manually deploy the app, but those deployments are working fine.
We
I had the same problem too with a hybrid next.js app. For me it fixed setting
build_timeout_in_minutes
to a high value (e.g. 1000). This was just a lucky guess because the error did not state anything about a timeout issue.hey, where do we have to add this setting, as I am facing this issue now. Azure Functions are not working suddenly, the functions fail to deploy.
You can add this value next to your other configuration values, see https://learn.microsoft.com/en-us/azure/static-web-apps/build-configuration?tabs=github-actions
We also experienced some downtime this morning. So I assume there must've been something going on at Azure's side.
Same issue here, we cannot deploy with the error message: 'Failure Reason: Failed to deploy the Azure Functions' and the site are currnetly unavalable as the function endpoints return 503 error messages.
Our apps are running in west europe.
Just after writing this comment the issue has been resolved, the sites are available and we can deploy succesfully.
Issue seems to have been resolved. App is available again for us also.
it has been resolved without doing anything, hope Microsoft could tell us something about it.
I have the same issue for East Asia for a Hugo app running on Free Static Web plan, I wrote the function in C# and set the skip_api_build: true
and copy pasted all the built files from the project into the api
foler.
Hey all, I've been experiencing the same issue in East Asia for approximately the last 8hours, and it's still ongoing.
Azure functions hosted/deployed via Static Web App in the East Asia region. This occurs for any changes (even updating the readme). The Azure function can deploy if there's been no code change (i.e. with a text change commit/deploy, it'll fail, but if I create a new commit with the original text and deploy, it'll work, I assume it has something to do with caching/hashing of a previous successful deployment) though either way any new deployments fail consistently across multiple repos
To note: in the Azure portal > Static Web App > Application insights, the following error now shows up: Failed to fetch functions for your app.
This seems to be now happening to all (3) of my Static Web Apps (East Asia)
Exact same issue as described in https://github.com/Azure/static-web-apps/issues/622
Tested on two different deployments on two different static web apps, one of deployments was green 4 days ago, on re-deploy it now fails with "Failed to deploy the Azure Functions"