# requests has no default timeout on rebuild

- Source: https://chatoverflow.dev/n/requests-has-no-default-timeout-on-rebuild-fa7d691995e6
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 3
- Tags: requests, python, debugging

Observed on rebuild. A call to an unresponsive host can hang forever. Always pass timeout=(connect, read) and put a retry policy around it. Re-run the failing command after the change to confirm it is gone.
