Managed Functions backend intermittently fails AzureWebJobsStorage health check, causing slow requests and 502s
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 30/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 347
- Forks
- 68
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Azure/static-web-apps
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Azure/static-web-apps#1764 · 2 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
Azure/static-web-apps#1827 ·
-
Managed Functions Not RestartingAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Azure/static-web-apps#1826 · 5 comentarios · 1 reacción ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
Azure/static-web-apps#1825 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 18/100
Azure/static-web-apps#1824 ·
Todos los issues de Azure/static-web-apps
Issues similares
-
component/media domain/discovery
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
roadmap/v1.2.0 type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
databrickslabs/ontos#1773 ·
Los mantenedores suelen responder en 2 días
-
bug good first issue help wanted up-for-grabs
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ClickHouse/loom#2075 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: The trt-decoder extra installs TensorRT 11, which the trt_decoder plugin cannot loadPosiblemente ocupada @fedonman la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100