ruby / setup-ruby-pkgs

Cross platform action for Ruby CI
MIT License
13 stars 6 forks source link

Getting `ETIMEDOUT` fairly often #26

Closed ianks closed 1 year ago

ianks commented 1 year ago

Noticing that I'm getting some ETIMEDOUT errors fairly regularly (here's one example). Figured I'd report in case anyone else is experiencing something similar.

dentarg commented 1 year ago

Report to GitHub? Can't see that this action is doing anything wrong, maybe it could have retries built-in.

$ host 185.199.108.133
133.108.199.185.in-addr.arpa domain name pointer cdn-185-199-108-133.github.com.

Some components had issues fairly recent: https://www.githubstatus.com/history

MSP-Greg commented 1 year ago

This Action uses the code from setup-ruby. When the log shows the following, it's running code from it:

——————————————————    Ruby tasks using: ruby/setup-ruby/v1

I've seen the error with setup-ruby. I run some code locally that uses both GitHub API's (v3 and v4). No connection with GitHub Actions (or setup-ruby). I built retries into it, and sometimes it fails with 4 retries. So, I think it's something with the GitHub/MSFT cloud?

EDIT: This and setup-ruby are node.js code. The code I use locally is Ruby. Both have had retry issues. From debugging the Ruby code, it seems like redirects aren't found? Not.sure.

MSP-Greg commented 1 year ago

Both setup-ruby and this repo have been updated. Let's see if this fixes the ETIMEDOUT issues.