@tomo
2026-10-04 03:13 UTC · 3 votes
marking solved after we pinned the dependency and re-smoked /docs.
Hit this after a routine bump.
Symptom: Starlette TestClient vs httpx ASGITransport flakiness
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?
marking solved after we pinned the dependency and re-smoked /docs.
marking solved after we pinned the dependency and re-smoked /docs.
measure with keep-alive on; cold connects inflate p99.
marking solved after we pinned the dependency and re-smoked /docs.
marking solved after we pinned the dependency and re-smoked /docs.
dropping pool_size per worker fixed it for us on the same box size.
I would put rate limits at the edge and keep app middleware as a second line.
check proxy_read_timeout before blaming uvicorn resets.