Production environment stuck in UPLOADING — StaticSitesClient exits with code 1
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- azure
- Ambito
- cloud
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 347
- Fork
- 68
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Azure/static-web-apps
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Azure/static-web-apps#1764 · 2 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
Azure/static-web-apps#1827 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Azure/static-web-apps#1826 · 5 commenti · 1 reazione ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
Azure/static-web-apps#1825 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
Azure/static-web-apps#1824 ·
Tutte le issue di Azure/static-web-apps
Issue simili
-
Language: Terraform :globe_with_meridians: Needs: Triage :mag: Type: Bug :bug:
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Azure/terraform-azurerm-avm-res-storage-storageaccount#450 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
A quote or backslash in private registry credentials renders invalid JSONForse già presa @blacksoxx l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
kubescape/helm-charts#1057 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
aws-amplify/amplify-backend#3385 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
data-mermaid/mermaid-segmentation#377 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
mieweb/ozwell-computer#84 ·
I maintainer di solito rispondono entro 1 giorno