An Azure service that provides an event-driven serverless compute platform.
hi Matt Wallace & thx for join me at Q&A platform,
urs isolation tests are useful, particularly because minimal handlers and even unmatched routes experience the same stalls. That makes application business logic an unlikely explanation for every timeout.
I'd focus on distinguishing cold-start/host-readiness delays from HTTP frontend-to-host or host-to-Node-worker communication problems. With Flex Consumption, no always-ready instances, and a maximum of one instance, scale-to-zero and startup behavior are relevant. However, a 30-second timeout doesn't establish a cold start, and a 60-second settling period doesn't guarantee the host remained ready. For targeted diagnostics, I'd correlate three things using UTC timestamps Client-side curl -v timing, particularly time_appconnect and time_starttransfer.
Application Insights requests, exceptions, and traces, including operation_Id and cloud_RoleInstance where available.
Function host startup, readiness, worker initialization, and termination events. The key distinction: If a timed-out request never appears in Application Insights, investigate the HTTP ingress or request handoff. If it appears but never completes, correlate it with host and worker events. Missing telemetry alone isn't conclusive.
The HTTP/2 EventStream and WorkerTerminate exceptions are worth investigating, but they don't prove a Node 22 platform defect without timestamp correlation. Your deployment and shutdown experiments are important potential confounders. I'd run one controlled test without deployments or configuration changes, recording 10–20 requests, exact UTC timestamps, client timings, and corresponding telemetry.
I can't confirm a known Flex Consumption/Node 22 issue matching this exact pattern.
Before changing memory, instance limits, or hosting plans, I'd submit that evidence to Azure Functions support for host and worker communication analysis.
Best regards,
Alex
💬 P.S. Did this help? Mark it as the solution: it keeps me motivated!
➕ Follow me on Q&A for more answers
📝 And feel free to visit my blog → https://ctrlaltdel.blog/