Skip to content

Add retry logic for streaming timeout errors in Urllib3Fetcher#2896

Open
ishaanxgupta wants to merge 3 commits intotheupdateframework:developfrom
hemang1404:develop
Open

Add retry logic for streaming timeout errors in Urllib3Fetcher#2896
ishaanxgupta wants to merge 3 commits intotheupdateframework:developfrom
hemang1404:develop

Conversation

@ishaanxgupta
Copy link
Copy Markdown

@ishaanxgupta ishaanxgupta commented Jan 7, 2026

Collaborated with @hemang1404

Description of the changes being introduced by the pull request:
Configure urllib3 Retry with 3 retries for read/connect timeouts

  • Add exception handling for ReadTimeoutError and ProtocolError during streaming
  • Override download_bytes to retry entire download on SlowRetrievalError
  • Fixes issue where mid-stream timeouts were not automatically retried

Fixes #2842

@jku please have a look and if there are any changes please let us know

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Investigate/test fetcher retries

4 participants