Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Retry failed archive downloads #86

Copy link
Copy link
@sormuras

Description

@sormuras
Issue body actions

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:

Idea: wrap Downloader.downloadArchive or Browser.download in a retry-loop.

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.