Managed Azure Functions deployment fails after successful build and upload (.NET 8/10 isolated)
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
調査の方向性
Start by reviewing the Azure Static Web Apps deployment logs for deployment ID 0a290447-9d02-40b6-a411-256e126d73ca and the managed Functions deployment path for Azure/static-web-apps-deploy@v1. The report provides no failing file or actionable diagnostic, so the root cause and code change are not yet identifiable; done means finding the backend failure and a way to expose useful diagnostics.
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
Deployment of an integrated Azure Functions API in Azure Static Web Apps consistently fails during the deployment phase, although both the static website and the .NET isolated Functions API build successfully and the artifacts are uploaded.
The deployment fails with:
Deployment Failed :(
Deployment Failure Reason: Failed to deploy the Azure Functions.
No more specific error is provided.
Environment
- Azure Static Web Apps hosting plan: Free
- Deployment method: GitHub Actions (
Azure/static-web-apps-deploy@v1) - Frontend: Static HTML, CSS and JavaScript
- API: C# Azure Functions v4, .NET isolated worker
- Tested runtimes: .NET 10 and .NET 8
- API location:
./api - App location:
./website - Output location:
. - API runtime configuration:
dotnet-isolated:8.0(current) - Functions:
GetPhotos(HTTP GET) andSavePhotos(HTTP POST) - Azure region: Global (Static Web App resource)
Steps to reproduce
- Create an Azure Static Web App on the Free hosting plan, connected to a GitHub repository.
- Add a .NET isolated Azure Functions project in the
apidirectory. - Configure the GitHub Actions deployment with
app_location: "./website"andapi_location: "./api". - Set the corresponding
apiRuntimeinstaticwebapp.config.json. - Push the changes to the main branch.
- Observe that the build and artifact upload succeed, but deployment fails.
Relevant deployment logs
dotnet publish done in 16 sec(s).
Function Runtime Information. OS: windows, Functions Runtime: ~4, dotnetisolated version: 8.0
Finished building function app with Oryx
Found functions.metadata file
Done Zipping Api Artifacts
Done Zipping App Artifacts
Finished Upload. Polling on deployment.
Status: InProgress.
Status: Failed.
Deployment Failure Reason: Failed to deploy the Azure Functions.
Deployment ID: 0a290447-9d02-40b6-a411-256e126d73ca
Troubleshooting already performed
- Confirmed that the API builds successfully locally and in GitHub Actions.
- Tested both .NET 10 isolated and .NET 8 isolated, with the same deployment failure.
- Confirmed that
functions.metadatais generated and both functions are detected. - Verified the API and frontend paths in the workflow.
- Verified that
AzureWebJobsStorageis configured in the Static Web App environment variables. - Simplified
Program.csandhost.json. - Added content to previously empty HTML pages and updated API route configuration; deployment still fails.
- Ran Azure Portal deployment diagnostics, but no specific root cause was identified.
Expected behavior
The managed Azure Functions API should deploy successfully alongside the static website on the Free hosting plan.
Actual behavior
The API builds and uploads successfully, but Azure reports Failed to deploy the Azure Functions without further details.
Request
Could the Azure Static Web Apps team investigate the underlying Functions deployment failure using the deployment ID above, or advise how to obtain more detailed backend deployment diagnostics?
- 主要言語
- 言語のデータがありません
- スター
- 347
- フォーク
- 68
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Azure/static-web-apps のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Azure/static-web-apps#1764 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
Azure/static-web-apps#1827 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
Azure/static-web-apps#1826 · コメント 5 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
Azure/static-web-apps#1825 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 18/100
Azure/static-web-apps#1824 ·
Azure/static-web-apps の issue をすべて見る
似ている issue
-
component/media domain/discovery
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
roadmap/v1.2.0 type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
databrickslabs/ontos#1773 ·
メンテナーはふだん 2 日以内に返信
-
bug good first issue help wanted up-for-grabs
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ClickHouse/loom#2075 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: The trt-decoder extra installs TensorRT 11, which the trt_decoder plugin cannot load対応中かも @fedonman が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100