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

Frequent ETIMEDOUT errors occuring #398

Closed
2 tasks done
ianks opened this issue Nov 13, 2022 · 5 comments
Closed
2 tasks done

Frequent ETIMEDOUT errors occuring #398

ianks opened this issue Nov 13, 2022 · 5 comments

Comments

@ianks
Copy link

ianks commented Nov 13, 2022

Ensure the following before filing this issue

  • I verified it reproduces with the latest version with - uses: ruby/setup-ruby@v1 (see Versioning policy)

  • I tried to reproduce the issue locally by following the workflow steps (including all commands done by ruby/setup-ruby, except for Downloading Ruby & Extracting Ruby),
    and it did not reproduce locally (if it does reproduce locally, it's not a ruby/setup-ruby issue)

Are you running on a GitHub-hosted runner or a self-hosted runner?

GitHub-hosted runner

The workflow code or a link to the workflow file

https://github.com/oxidize-rb/rb-sys/actions/runs/3457144103/jobs/5770380878

Link to the log of a failed workflow job, or to a gist with the output

https://github.com/oxidize-rb/rb-sys/actions/runs/3457144103/jobs/5770380878

The command and output of the failing step

Run ruby/setup-ruby-pkgs@v1
  ——————————————————    Ruby tasks using: ruby/setup-ruby/v1
Error: connect ETIMEDOUT 185.199.110.133:443

Any other notes?

These have been happening sporadically for a month or so, but today I got 3 in a single build. May be missing a retry option somewhere?

@MSP-Greg
Copy link
Collaborator

I've seen the same 'type' of issue, but recently also saw the below. The error you're seeing is executing js code, the below code is Ruby code (bundle install).

Fetching gem metadata from [https://rubygems.org/.](https://rubygems.org/)
  Network error while fetching
  https://rubygems.org/quick/Marshal.4.8/rake-compiler-1.1.1.gemspec.rz

JFYI, I download Actions logs and test artifacts from all ruby-loco builds, which also hits the GitHub API. The code logs retries, and several weeks ago, I started seeing them regularly.

Hence, I think it's a GitHub network issue, and I assume they'll fix it sometime soon...

@MSP-Greg
Copy link
Collaborator

@ianks I suspect #399 should fix this.

@eregon
Copy link
Member

eregon commented Nov 14, 2022

I wonder if this might be timeouts from rubygems.org, cc @deivid-rodriguez
Also https://github.com/ruby/setup-ruby/actions/runs/3457650272/jobs/5771287394 for example

@MSP-Greg
Copy link
Collaborator

@eregon I've seen that error also.

@ianks This repo is using the downloadTool function from @actions/tool-cache, which is part of actions/toolkit. I'm still seeing errors, but possibly less frequently. May open an issue in a GitHub repo if it continues.

@eregon
Copy link
Member

eregon commented Dec 13, 2022

I guess this doesn't happen anymore, and anyway I don't think this action can do much about it.

@eregon eregon closed this as completed Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants