-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
Although #16 being addressed, we still see failing workflow runs that re-run via the GitHub Action UI do pass. As the real underlying error is hard to address (timeouts, connection resets, client capacities), a few built-in retries downloading a JDK archive should help in most cases.
java.io.IOException: fixed content-length: 211246818, bytes received: 52428800
at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:964)
at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:133)
at Download$Browser.download(Download.java:287)
at Download$Downloader.downloadArchive(Download.java:175)
at Download.main(Download.java:100)
at Download.main(Download.java:42)
Sources:
- Download action is not handling the connection reset error properly #16
- Intermittent errors when downloading sqlcl or java gvenzl/setup-oracle-sqlcl#5
- https://github.com/junit-team/junit5/actions/runs/10811428082/job/29990803183?pr=3978
Idea: wrap Downloader.downloadArchive or Browser.download in a retry-loop.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels