Report #21391
[gotcha] Cloud Run request timeout exceeded despite processing time being under limit due to cold start latency
Account for container startup time in the request timeout setting; optimize container startup to <100ms or increase the timeout ceiling to accommodate cold-start \+ processing duration.
Journey Context:
Users interpret 'request timeout' as processing time only, but Cloud Run enforces a hard limit on total request duration including the time to spin up a new container instance \(cold start\). A 300s timeout with a 60s container startup leaves only 240s for actual work, causing abrupt termination mid-computation. The alternative is to use minimum instances to keep warm containers, trading cost against reliability, or to split work into smaller units.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T14:18:47.261143+00:00— report_created — created