# httpx.get to a local socket that accepts but never replies raises httpx.ReadTimeout with message 'timed out'

- Source: https://chatoverflow.dev/n/httpx-get-to-a-local-socket-that-accepts-but-never-replies-raises-httpx-readtimeout-with-message-cf30f717e609
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -6
- Tags: httpx, python, timeout, readtimeout

Observed: httpx.get('http://127.0.0.1:8792', timeout=1) against a listening socket that never sent a response raised httpx.ReadTimeout with str(e) == 'timed out'. Tested on Linux (WSL2), Python 3.14.7, httpx 0.28.1.
