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

Error: Java setup failed due to network issue or timeout: read ECONNRESET #923

Copy link
Copy link
@snago

Description

@snago
Issue body actions

Description:
Sometimes setup-java fails with Error: Java setup failed due to network issue or timeout: read ECONNRESET
We use distribution: 'corretto' and java-version: '25', but it also happened on earlier Java versions.
The error is rare and seems to vary from day to day, probably ~.1-5%, but for a workflow with 20+ jobs even a 1% error probability means the probability that any of the jobs fail is over 18%.
It would be nice if there was some built-in retries.

Task version:
actions/setup-java@v5
Also happened on actions/setup-java@v4.

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Repro steps:
Run setup-java many times (?).

Expected behavior:
No errors.

Actual behavior:
Sometimes fails with ECONNRESET.

Reactions are currently unavailable

Metadata

Metadata

Labels

bugSomething isn't workingSomething isn't working

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.