Skip to content

Ruby 3.2 cannot access Rubygems: Failed to open TCP connection to rubygems.org:443 (execution expired) #6659

@barracuda156

Description

@barracuda156

Something got broken (a month ago it worked fine):

Downloading bundled gem minitest-5.18.0...
retrying Net::OpenTimeout (Failed to open TCP connection to rubygems.org:443 (execution expired)) after 1 seconds...
retrying Net::OpenTimeout (Failed to open TCP connection to rubygems.org:443 (execution expired)) after 4 seconds...
retrying Net::OpenTimeout (Failed to open TCP connection to rubygems.org:443 (execution expired)) after 9 seconds...
retrying Net::OpenTimeout (Failed to open TCP connection to rubygems.org:443 (execution expired)) after 16 seconds...
retrying Net::OpenTimeout (Failed to open TCP connection to rubygems.org:443 (execution expired)) after 25 seconds...
retrying Net::OpenTimeout (Failed to open TCP connection to rubygems.org:443 (execution expired)) after 36 seconds...
Downloading bundled gem power_assert-2.0.3...
retrying Net::OpenTimeout (Failed to open TCP connection to rubygems.org:443 (execution expired)) after 1 seconds...
retrying Net::OpenTimeout (Failed to open TCP connection to rubygems.org:443 (execution expired)) after 4 seconds...
retrying Net::OpenTimeout (Failed to open TCP connection to rubygems.org:443 (execution expired)) after 9 seconds...
retrying Net::OpenTimeout (Failed to open TCP connection to rubygems.org:443 (execution expired)) after 16 seconds...
retrying Net::OpenTimeout (Failed to open TCP connection to rubygems.org:443 (execution expired)) after 25 seconds...
retrying Net::OpenTimeout (Failed to open TCP connection to rubygems.org:443 (execution expired)) after 36 seconds...
retrying Net::OpenTimeout (Failed to open TCP connection to rubygems.org:443 (execution expired)) after 49 seconds...
retrying Net::OpenTimeout (Failed to open TCP connection to rubygems.org:443 (execution expired)) after 64 seconds...
retrying Net::OpenTimeout (Failed to open TCP connection to rubygems.org:443 (execution expired)) after 81 seconds...
retrying Net::OpenTimeout (Failed to open TCP connection to rubygems.org:443 (execution expired)) after 100 seconds...
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby-devel/ruby-devel/work/ruby-8b2884c0b51e4733c09ecbb388ca1b236bad738b/tool/downloader.rb:291:in `rescue in download': failed to download power_assert-2.0.3.gem (RuntimeError)
Net::OpenTimeout: Failed to open TCP connection to rubygems.org:443 (execution expired): https://rubygems.org/downloads/power_assert-2.0.3.gem
	from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby-devel/ruby-devel/work/ruby-8b2884c0b51e4733c09ecbb388ca1b236bad738b/tool/downloader.rb:198:in `download'
	from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby-devel/ruby-devel/work/ruby-8b2884c0b51e4733c09ecbb388ca1b236bad738b/tool/downloader.rb:82:in `download'
	from -e:3:in `<main>'
/opt/local/lib/ruby3.2/3.2.0/net/http.rb:1271:in `initialize': Failed to open TCP connection to rubygems.org:443 (execution expired) (Net::OpenTimeout)
	from /opt/local/lib/ruby3.2/3.2.0/net/http.rb:1271:in `open'
	from /opt/local/lib/ruby3.2/3.2.0/net/http.rb:1271:in `block in connect'
	from /opt/local/lib/ruby3.2/3.2.0/timeout.rb:189:in `block in timeout'
	from /opt/local/lib/ruby3.2/3.2.0/timeout.rb:196:in `timeout'
	from /opt/local/lib/ruby3.2/3.2.0/net/http.rb:1269:in `connect'
	from /opt/local/lib/ruby3.2/3.2.0/net/http.rb:1248:in `do_start'
	from /opt/local/lib/ruby3.2/3.2.0/net/http.rb:1237:in `start'
	from /opt/local/lib/ruby3.2/3.2.0/open-uri.rb:327:in `open_http'
	from /opt/local/lib/ruby3.2/3.2.0/open-uri.rb:760:in `buffer_open'
	from /opt/local/lib/ruby3.2/3.2.0/open-uri.rb:214:in `block in open_loop'
	from /opt/local/lib/ruby3.2/3.2.0/open-uri.rb:212:in `catch'
	from /opt/local/lib/ruby3.2/3.2.0/open-uri.rb:212:in `open_loop'
	from /opt/local/lib/ruby3.2/3.2.0/open-uri.rb:153:in `open_uri'
	from /opt/local/lib/ruby3.2/3.2.0/open-uri.rb:740:in `open'
	from /opt/local/lib/ruby3.2/3.2.0/open-uri.rb:748:in `read'
	from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby-devel/ruby-devel/work/ruby-8b2884c0b51e4733c09ecbb388ca1b236bad738b/tool/downloader.rb:243:in `block in download'
	from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby-devel/ruby-devel/work/ruby-8b2884c0b51e4733c09ecbb388ca1b236bad738b/tool/downloader.rb:367:in `with_retry'
	from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby-devel/ruby-devel/work/ruby-8b2884c0b51e4733c09ecbb388ca1b236bad738b/tool/downloader.rb:242:in `download'
	from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby-devel/ruby-devel/work/ruby-8b2884c0b51e4733c09ecbb388ca1b236bad738b/tool/downloader.rb:82:in `download'
	from -e:3:in `<main>'
gmake: *** [defs/gmake.mk:319: gems/power_assert-2.0.3.gem] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions