Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add retries for JDK downloads #718

Open
edmorley opened this issue Aug 27, 2024 · 0 comments
Open

Add retries for JDK downloads #718

edmorley opened this issue Aug 27, 2024 · 0 comments

Comments

@edmorley
Copy link
Member

edmorley commented Aug 27, 2024

A Java CNB build failed with a network/DNS related error in:
https://github.com/heroku/cnb-builder-images/actions/runs/10580292795/job/29314925685?pr=569#step:6:19

With:

[Installing OpenJDK 17.0.12]

[Error: OpenJDK download failed]
Could not download OpenJDK distribution.

Please try again. If this error persists, please open an issue on GitHub:
ERROR: failed to build: exit status 1
https://github.com/heroku/buildpacks-jvm/issues/new

Details: HttpError(Transport(Transport { kind: Dns, message: Some("resolve dns name 'heroku-buildpacks-jvm.s3.us-east-1.amazonaws.com:443'"), url: Some(Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("heroku-buildpacks-jvm.s3.us-east-1.amazonaws.com")), port: None, path: "/openjdk/zulu/amd64/17.0.12.tar.gz", query: None, fragment: None }), source: Some(Custom { kind: Uncategorized, error: "failed to lookup address information: Try again" }) }))

ERROR: failed to build: executing lifecycle: failed with status code: 51
Error: Process completed with exit code 1.

Some retries might help prevent intermittent failures like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant