Retry "Connection reset by peer"#4106
Merged
rouault merged 1 commit intoOSGeo:masterfrom Mar 27, 2024
Merged
Conversation
Building the GDAL image can fail with: Downloading https://cdn.proj.org/fr_ign_RAF18b.tif... (132 / 423) Downloading https://cdn.proj.org/fr_ign_RAF20.tif... (133 / 423) Downloading https://cdn.proj.org/fr_ign_RAGTBT2016.tif... (134 / 423) Cannot open https://cdn.proj.org/fr_ign_RAGTBT2016.tif: OpenSSL SSL_read: Connection reset by peer, errno 104 so add the connection reset by peer to the list of things that get a retry time.
Contributor
Author
|
I'm not sure if my patch fixes the problem described, or even how to test it, but the line seems to be in good company with the "Connection timed out" comparison. |
Member
|
Seems reasonable. As you also have interest in GDAL, would you mind issuing a similar patch to GDAL's CPLHTTPGetNewRetryDelay() method in port/cpl_http.cpp? |
pjonsson
added a commit
to pjonsson/gdal
that referenced
this pull request
Mar 27, 2024
This fixes the same issue as OSGeo/PROJ#4106 fixes in PROJ.
8 tasks
2 tasks
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.
Building the GDAL image can fail with:
Downloading https://cdn.proj.org/fr_ign_RAF18b.tif... (132 / 423)
Downloading https://cdn.proj.org/fr_ign_RAF20.tif... (133 / 423)
Downloading https://cdn.proj.org/fr_ign_RAGTBT2016.tif... (134 / 423)
Cannot open https://cdn.proj.org/fr_ign_RAGTBT2016.tif: OpenSSL SSL_read: Connection reset by peer, errno 104
so add the connection reset by peer
to the list of things that get a retry
time.
docs/source/*.rstfor new API