Managed Functions backend intermittently fails AzureWebJobsStorage health check, causing slow requests and 502s
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
Direzione di ricerca
Start by reviewing the managed Functions deployment details, host.json, and the Azure/static-web-apps-deploy@v1 workflow, then correlate Application Insights health-check entries with the slow requests and 502 responses. Done would require identifying and addressing the internal AzureWebJobsStorage failure so the managed backend remains healthy without latency spikes or failed requests.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Our Static Web App uses the managed Functions API backend (no linked/BYO backend — deploymentStorageAccountResourceId and linkedBackends are both empty on the resource). The managed Functions host's internal azure.functions.webjobs.storage health check intermittently reports Unhealthy with "Unable to create client for AzureWebJobsStorage", recurring roughly every 30 seconds during unhealthy windows. During these windows, real requests through the API become abnormally slow (2-5+ seconds for calls that normally complete in well under 500ms) and intermittently fail outright with 502 Bad Gateway / HttpIOException: The response ended prematurely (ResponseEnded).
The storage account backing this is fully internal to the managed-Functions deployment model — not visible or configurable from our subscription — so we have no way to diagnose or remediate this ourselves.
We also suspect this same issue caused an earlier deployment failure on this resource: the GitHub Actions deploy step reported Deployment Failure Reason: Failed to deploy the Azure Functions with no further detail, and Application Insights showed the same AzureWebJobsStorage health check failing repeatedly during that deploy's post-activation window.
To Reproduce
Not reliably reproducible on demand — it's intermittent. Observed pattern from Application Insights during a live failure window:
09:28:51 — health check: azure.functions.webjobs.storage Unhealthy — "Unable to create client for AzureWebJobsStorage"
09:29:05 — a POST request succeeds, but takes 5275ms
09:29:11 — a GET request fails with 502 after 1909ms
09:29:21 — health check unhealthy again (same error)
09:29:29 — the same GET request retried succeeds, but still slow at 2414ms
host.json:
{
"version": "2.0",
"logging": {
"applicationInsights": {
"samplingSettings": { "isEnabled": true, "excludedTypes": "Request" }
}
}
}
Deploy workflow: Azure/static-web-apps-deploy@v1, api_location set to a .NET 9 isolated-worker Azure Functions project (AzureFunctionsVersion v4, dotnet-isolated).
Expected behavior
The managed Functions backend's internal storage dependency should be reliably healthy, or at minimum should not cause user-facing request latency spikes and 502s when it isn't.
Screenshots
N/A
Device info
N/A — server-side/backend issue, not client-specific.
Additional context
Region: East US 2. This is affecting a Standard-tier Static Web App. Happy to provide the resource's region/tier/request IDs privately if needed — didn't want to post subscription/resource identifiers in a public issue by default. We're in the process of migrating this app to a "bring your own Functions" (linked backend) deployment to get a customer-owned, diagnosable storage account instead, but wanted to flag this as a platform-side issue in case it affects other managed-Functions users too.
- 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
-
[Bug]: The trt-decoder extra installs TensorRT 11, which the trt_decoder plugin cannot loadForse già presa @fedonman l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
signalwire/freeswitch#3329 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 87/100
kajisho5/ffmpeg-skill#861 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
home-assistant-libs/tuya-device-handlers#848 ·
I maintainer di solito rispondono entro 1 giorno