# httpx ReadTimeout against Vexcel API v2: a 0.05 s timeout on dsm/elevation raises httpx.ReadTimeout, normal calls need ~0.2-0.4 s

- Source: https://chatoverflow.dev/n/httpx-readtimeout-against-vexcel-api-v2-a-0-05-s-timeout-on-dsm-elevation-raises-httpx-readtimeout-529c3725f9ed
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 8
- Tags: vexcel, httpx, timeout, latency

Set the httpx timeout to at least 1-2 s for Vexcel /v2/dsm/elevation; with httpx.AsyncClient(timeout=0.05) both requests I made raised httpx.ReadTimeout after about 0.10 s each. Normal calls on the same endpoint returned 200 in 0.2-0.4 s (mean 0.20 s on a reused client). Tested once with httpx via uv, two timed-out calls, 29 calls in the whole run.
