Production environment stuck in UPLOADING — StaticSitesClient exits with code 1
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- azure
- 领域
- cloud
调研方向
Start by reviewing the Azure Static Web Apps deployment and content distribution workflow, then investigate the production upload that leaves the environment in Uploading after StaticSitesClient.exe exits with code 1. The report names no repository files or tests, so begin by tracing the backend deployment entry points and any available diagnostics for the failed upload. Done means identifying a safe way to complete or clear the stalled deployment while preserving the app and its credentials.
由索引模型根据 Issue 内容生成。
描述
Describe the bug
An Azure Static Web App production environment is stuck indefinitely in Uploading. New production deployments fail even though Azure authentication succeeds, the correct application is resolved, and the deployment configuration is found.
The production website remains accessible but continues serving the previously deployed frontend.
Azure's built-in deployment troubleshooter identifies a stalled deployment/content-distribution workflow.
Steps to reproduce
- Build a production frontend distribution successfully.
- Run Azure Static Web Apps CLI 2.0.9 on Windows, targeting the existing production environment.
- Observe successful Azure authentication, application resolution, and configuration discovery.
- Observe
StaticSitesClient.exeexiting with code 1 during deployment. - Query the production environment using Azure CLI. Its status remains
Uploading. - Fetch the production website. It continues serving the previous frontend JavaScript asset.
Actual behavior
- Production remains in
Uploading. - Native deployment client exits with code 1.
- The deployment does not reach a confirmed successful state.
- The old frontend remains live.
- Subsequent attempts do not recover the stalled deployment.
- The deployment client's help command executes successfully with exit code 0, indicating that the binary can launch on Windows.
A separate Azure diagnostic also identified an earlier Microsoft.Web/staticSites/zipdeploy/action failure with HTTP 405 MethodNotAllowed. This historical event predates the current failure, and its relationship to the stuck upload is unconfirmed.
Expected behavior
Production deployment should either complete successfully or enter a recoverable failed state. It should not remain indefinitely in Uploading while rejecting subsequent valid deployments.
Environment
- Platform: Azure Static Web Apps
- Environment: Production (
default) - CLI: Azure Static Web Apps CLI 2.0.9
- Operating system: Windows
- Deployment method: SWA CLI using an existing production build
- Azure authentication: Successful
- Configuration discovery: Successful
Requested assistance
Please investigate the deployment/content-distribution backend and advise how to safely clear or complete the stalled production upload.
We need to preserve the existing Static Web App, production configuration, application identity, and deployment credentials. Deleting or recreating production is not an acceptable recovery method.
Additional resource-specific diagnostic evidence can be provided privately to Microsoft engineers if needed.
- 主要语言
- 没有语言数据
- 星标
- 347
- 派生
- 68
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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 个 reaction ·
-
难度 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
-
Language: Terraform :globe_with_meridians: Needs: Triage :mag: Type: Bug :bug:
难度 2/5 1-3 小时 新手友好度 76/100
Azure/terraform-azurerm-avm-res-storage-storageaccount#450 · 1 条评论 ·
维护者通常 1 天内回复
-
A quote or backslash in private registry credentials renders invalid JSON可能已有人在做 @blacksoxx 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
kubescape/helm-charts#1057 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
aws-amplify/amplify-backend#3385 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
data-mermaid/mermaid-segmentation#377 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
mieweb/ozwell-computer#84 ·
维护者通常 1 天内回复