rmuir opened a new pull request, #11846: URL: https://github.com/apache/lucene/pull/11846
Add retries for common issues such as connect timeout, etc. This won't solve the problem of read-timeouts happening around the actual transferTo, but it is an easy incremental improvement. Quickly tested the retries work by taking away gradle's network: ``` $ unshare --user --net ./gradlew test Downloading gradle-wrapper.jar from https://raw.githubusercontent.com/gradle/gradle/v7.3.3/gradle/wrapper/gradle-wrapper.jar Error connecting to server: java.net.SocketException: Network is unreachable, will retry in 30 seconds. Error connecting to server: java.net.SocketException: Network is unreachable, will retry in 30 seconds. Error connecting to server: java.net.SocketException: Network is unreachable, will retry in 30 seconds. ERROR: Could not download gradle-wrapper.jar (SocketException: Network is unreachable). ``` Closes #11845 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org