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

setup-java action failes on self-hosted runner with Error: aborted #695

Open
2 of 5 tasks
dzenansoftic opened this issue Oct 14, 2024 · 5 comments
Open
2 of 5 tasks
Assignees
Labels
bug Something isn't working

Comments

@dzenansoftic
Copy link

Description:
When trying to download java 21 (distribution microsoft) the step failes after some retries, because it aborted without any error message or explanation. This is on a self-hosted runner. We have multiple workflows running at the same time on different self-hosted runners.

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Repro steps:
run the setup-java action in a self-hosted runner

Expected behavior:
Successful download

Actual behavior:
Action failes and only Error shown is aborted

image

@dzenansoftic dzenansoftic added bug Something isn't working needs triage labels Oct 14, 2024
@d3r3kk
Copy link

d3r3kk commented Oct 15, 2024

We cannot reproduce this issue from our network. Can you please provide further details by adding debug switches to the download task, or perhaps doing a traceroute from the agent prior to downloading (also, does your download agent deal with redirects well?)? Have you tried to do this manually from your own workstation using the same tool the agent does (ie. does the agent download tool deal with 302 redirects)? What happens if you try and download a different version (21.0.3 for instance)?

@aparnajyothi-y
Copy link
Contributor

Hello @dzenansoftic, Thank you for creating this issue. The error message you encountered seems to be related to a server downtime.

We have run the same workflow on our end, and the setup job completed successfully. Please refer to the attached screenshots for your reference.
Screenshot 2024-10-15 at 6 42 00 PM

Could you please re-trigger the workflow on your end and confirm if the issue persists?

Feel free to reach out if you need any further clarifications.

@stefanschulte
Copy link

Just to provide some more context: I've seen the same error twice in the last 2 days, although my workflows run on github hosted default ubuntu runners.

Same error message. Download then again works fine when just re-running the same workflow again.
image

@aparnajyothi-y
Copy link
Contributor

Hello @dzenansoftic, please let us know if the re-trigger resolved the issue. If you have any further concerns or questions, feel free to reach out.

@aparnajyothi-y
Copy link
Contributor

Hello @dzenansoftic, gently following up to see if re-triggering the process has resolved the issue. If you have any further questions or concerns, please don’t hesitate to reach out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants