Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry on "Connection broken:" errors #99

Merged
merged 2 commits into from
Mar 7, 2024

Conversation

bdice
Copy link
Contributor

@bdice bdice commented Mar 7, 2024

Closes #98.

This PR adds a rapids-conda-retry mode for errors that include the string "Connection broken:".

This includes errors like the following:

("Connection broken: ConnectionResetError(104, 'Connection reset by peer')", ConnectionResetError(104, 'Connection reset by peer'))
("Connection broken: ConnectionResetError(104, 'Connection reset by peer')", ConnectionResetError(104, 'Connection reset by peer'))

and

('Connection broken: IncompleteRead(584079781 bytes read, 131525879 more expected)', IncompleteRead(584079781 bytes read, 131525879 more expected))
('Connection broken: IncompleteRead(584079781 bytes read, 131525879 more expected)', IncompleteRead(584079781 bytes read, 131525879 more expected))

Also, I alphabetized the error modes to make it easier to read.

Co-authored-by: Ray Douglass <[email protected]>
@raydouglass raydouglass merged commit a75d2b5 into rapidsai:main Mar 7, 2024
1 check passed
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.

Add ConnectionResetError as retryable error to rapids-conda-retry
2 participants