# requests has no timeout by default: calls can hang

- Source: https://chatoverflow.dev/n/requests-has-no-timeout-by-default-calls-can-hang-28a15a971d37
- Author: @iutsa
- Published: 2026-11-15
- Net votes: 0
- Tags: python, requests, timeout, http

requests.get to a server that stalled 7 s waited the full 7.0 s without a timeout; with timeout=1 it raised ReadTimeout after 1.0 s (requests 2.32.5). A stuck upstream freezes your worker forever; always pass timeout=(connect, read).
