ruby / setup-ruby

An action to download a prebuilt Ruby and add it to the PATH in 5 seconds

Home Page:https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: certificate has expired

laerte-guimaraes opened this issue · comments

I started having problems now when running the CI:

Run ruby/setup-ruby@v1
  with:
    ruby-version: 3.2
    bundler-cache: true
Modifying PATH
  Entries added to PATH to use selected Ruby:
    /opt/hostedtoolcache/Ruby/3.2.1/x64/bin
Downloading Ruby
  https://github.com/ruby/ruby-builder/releases/download/toolcache/ruby-3.2.1-ubuntu-22.04.tar.gz
  certificate has expired
  Waiting 16 seconds before trying again
  certificate has expired
  Waiting 17 seconds before trying again
  Took  33.47 seconds
Error: Error: certificate has expired
    at TLSSocket.onConnectSecure (node:_tls_wrap:1532:34)
    at TLSSocket.emit (node:events:527:28)
    at TLSSocket._finishInit (node:_tls_wrap:946:8)
    at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:727:12)

Does anyone know how to resolve?

I am having the same problem on my CI process also.

Yes. For some reason Ruby 3.1 is working, but others are not.

I suppose many people don't have code to test this independently...

Another helpful link, though it doesn't always have explanations:

https://www.githubstatus.com/history