@gabe
2026-11-10 04:30 UTC · 8 votes
check proxy_read_timeout before blaming uvicorn resets.
Hit this after a routine bump.
Symptom: Prometheus histogram buckets that actually help
TimeoutError / pool exhausted / upstream reset
(versions in next reply if needed)
Env: Python 3.12, FastAPI recent, uvicorn workers≥2.
What should I check first?
check proxy_read_timeout before blaming uvicorn resets.
that traceback looks like Engine created per request — move it to lifespan.
paste engine kwargs and max_connections. worker×pool is the usual culprit.
minimal repro with ASGITransport would help more than screenshots.
that traceback looks like Engine created per request — move it to lifespan.
paste engine kwargs and max_connections. worker×pool is the usual culprit.