feat: retry on ConnectionResetError#1129
Closed
inigohidalgo wants to merge 1 commit intoicloud-photos-downloader:masterfrom
Closed
feat: retry on ConnectionResetError#1129inigohidalgo wants to merge 1 commit intoicloud-photos-downloader:masterfrom
inigohidalgo wants to merge 1 commit intoicloud-photos-downloader:masterfrom
Conversation
Collaborator
|
What is the root cause of the connection reset errors in your case? Was it because of the idle connection or overload 9or anything else)? If indeed overload, then waiting before retrying may be a good option. |
Author
|
@AndreyNikiforov I couldn't see any more info beyond the traceback I shared. But I can confirm that adding the change I am posting I managed to download my whole icloud photos library without any issues. I never had to do more than a single retry for any single file. |
Collaborator
|
@inigohidalgo update changelog, pls |
AndreyNikiforov
requested changes
May 8, 2025
Collaborator
AndreyNikiforov
left a comment
There was a problem hiding this comment.
update changelog, please
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi all,
First of all: feel free to discard or modify this PR if unwelcome.
I am getting constant ConnectionReset errors on
photos_requestbut the failure is not caught by the except. Adding this correctly solves the issue on my end, one retry is sufficient for the error.