Production environment stuck in UPLOADING — StaticSitesClient exits with code 1
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- azure
- Lĩnh vực
- cloud
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 347
- Fork
- 68
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Azure/static-web-apps
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Azure/static-web-apps#1764 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Azure/static-web-apps#1827 ·
-
Managed Functions Not RestartingĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Azure/static-web-apps#1826 · 5 bình luận · 1 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
Azure/static-web-apps#1825 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 18/100
Azure/static-web-apps#1824 ·
Tất cả issue của Azure/static-web-apps
Issue tương tự
-
Language: Terraform :globe_with_meridians: Needs: Triage :mag: Type: Bug :bug:
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Azure/terraform-azurerm-avm-res-storage-storageaccount#450 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
A quote or backslash in private registry credentials renders invalid JSONCó thể đã có người làm @blacksoxx đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
kubescape/helm-charts#1057 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
aws-amplify/amplify-backend#3385 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
data-mermaid/mermaid-segmentation#377 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
mieweb/ozwell-computer#84 ·
Maintainer thường phản hồi trong vòng 1 ngày