Azure / Azure/static-web-apps

Deployment Failure Reason: Failed to deploy the Azure Functions.

Open
#1,445 18 comments 11 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Since a couple of hours ago, we're getting `Deployment Failure Reason: Failed to deploy the Azure Functions.` on all our deploy attempts.
Including on re-running old pipelines on old commits that previously deployed successfully, will now 100% return that error.

This is a hybrid Next.JS app being deploying using Azure Pipeline's `AzureStaticWebApp@0`, which uses Oryx.

Throughout the week we have however regularly seen `Failure Reason: Web app warm up timed out. Please try again later.`, but a retry of the pipeline often just succeeded after.

We have tried deleting the environment, but it didn't help.
We're seeing the same issue across multiple Azure Static Web app instances across 2 separate Subscriptions.

The last deploy to succeed was at 12:09 PM GMT, the first to fail at 12:37 PM.

```
---End of Oryx build logs---
Web App Runtime Information. OS: linux, node version: 18
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.0432745(s)
Status: Failed. Time: 18.771164(s)
Deployment Failed :(
Deployment Failure Reason: Failed to deploy the Azure Functions.
```

```
- task: AzureStaticWebApp@0
displayName: "Build and Deploy to Azure Static Web Apps"
inputs:
azure_static_web_apps_api_token: $(AZURE_STATIC_WEB_APPS_API_TOKEN)
app_location: "/"
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.