-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Bundler: Network error while fetching (almost anything) #4561
Comments
Can you connect to rubygems.org through the |
Yep, I was able to |
Yep, |
Thanks! Could you apply this tiny patch to your bundler installation: diff --git a/bundler/lib/bundler/fetcher.rb b/bundler/lib/bundler/fetcher.rb
index f9c54f7ad2..19717577c1 100644
--- a/bundler/lib/bundler/fetcher.rb
+++ b/bundler/lib/bundler/fetcher.rb
@@ -264,6 +264,7 @@ def connection
con.read_timeout = Fetcher.api_timeout
con.open_timeout = Fetcher.api_timeout
+ con.debug_output = $stdout if Bundler.ui.debug?
con.override_headers["User-Agent"] = user_agent
con.override_headers["X-Gemfile-Source"] = @remote.original_uri.to_s if @remote.original_uri
con And rerun the command again with the |
Not much different: Running `bundle install --verbose` with bundler 2.2.16 Found changes from the lockfile, re-resolving dependencies because the list of sources changed, the dependencies in your gemfile changed, you added a new platform to your gemfile HTTP GET https://index.rubygems.org/versions opening connection to index.rubygems.org:443... Net::OpenTimeout: execution expired /usr/lib/ruby/3.0.0/net/http.rb:987:in `initialize' /usr/lib/ruby/3.0.0/net/http.rb:987:in `open' /usr/lib/ruby/3.0.0/net/http.rb:987:in `block in connect' /usr/lib/ruby/3.0.0/timeout.rb:107:in `timeout' /usr/lib/ruby/3.0.0/net/http.rb:985:in `connect' /usr/lib/ruby/3.0.0/net/http.rb:970:in `do_start' /usr/lib/ruby/3.0.0/net/http.rb:965:in `start' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb:657:in `start' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb:597:in `connection_for' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendored_persistent.rb:16:in `connection_for' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb:870:in `request' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher/downloader.rb:59:in `request' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher/downloader.rb:17:in `fetch' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher/compact_index.rb:131:in `call' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/compact_index_client/updater.rb:48:in `block in update' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/tmpdir/lib/tmpdir.rb:96:in `mktmpdir' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/compact_index_client/updater.rb:29:in `update' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/compact_index_client.rb:98:in `update' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/compact_index_client.rb:85:in `update_and_parse_checksums!' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher/compact_index.rb:75:in `available?' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher/compact_index.rb:16:in `call' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher/compact_index.rb:16:in `block in compact_index_request' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher.rb:161:in `use_api' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/source/rubygems.rb:402:in `block in api_fetchers' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/source/rubygems.rb:402:in `select' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/source/rubygems.rb:402:in `api_fetchers' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/source/rubygems.rb:407:in `block in remote_specs' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/index.rb:9:in `build' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/source/rubygems.rb:406:in `remote_specs' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/source/rubygems.rb:104:in `specs' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:293:in `block (2 levels) in index' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:291:in `each' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:291:in `block in index' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/index.rb:9:in `build' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:288:in `index' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:908:in `source_requirements' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:282:in `resolve' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:185:in `specs' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:173:in `resolve_remotely!' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/installer.rb:291:in `resolve_if_needed' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/installer.rb:83:in `block in run' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/process_lock.rb:19:in `rescue in lock' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/process_lock.rb:15:in `lock' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/installer.rb:72:in `run' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/installer.rb:24:in `install' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli/install.rb:64:in `run' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:259:in `block in install' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/settings.rb:114:in `temporary' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:258:in `install' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:30:in `dispatch' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:24:in `start' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/exe/bundle:49:in `block in <top (required)>' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/exe/bundle:37:in `<top (required)>' /usr/bin/bundle:23:in `load' /usr/bin/bundle:23:in `<main>' Bundler::HTTPError: Network error while fetching https://index.rubygems.org/versions (execution expired) /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher/downloader.rb:72:in `rescue in request' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher/downloader.rb:49:in `request' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher/downloader.rb:17:in `fetch' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher/compact_index.rb:131:in `call' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/compact_index_client/updater.rb:48:in `block in update' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/tmpdir/lib/tmpdir.rb:96:in `mktmpdir' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/compact_index_client/updater.rb:29:in `update' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/compact_index_client.rb:98:in `update' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/compact_index_client.rb:85:in `update_and_parse_checksums!' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher/compact_index.rb:75:in `available?' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher/compact_index.rb:16:in `call' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher/compact_index.rb:16:in `block in compact_index_request' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher.rb:161:in `use_api' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/source/rubygems.rb:402:in `block in api_fetchers' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/source/rubygems.rb:402:in `select' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/source/rubygems.rb:402:in `api_fetchers' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/source/rubygems.rb:407:in `block in remote_specs' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/index.rb:9:in `build' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/source/rubygems.rb:406:in `remote_specs' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/source/rubygems.rb:104:in `specs' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:293:in `block (2 levels) in index' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:291:in `each' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:291:in `block in index' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/index.rb:9:in `build' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:288:in `index' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:908:in `source_requirements' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:282:in `resolve' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:185:in `specs' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:173:in `resolve_remotely!' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/installer.rb:291:in `resolve_if_needed' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/installer.rb:83:in `block in run' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/process_lock.rb:19:in `rescue in lock' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/process_lock.rb:15:in `lock' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/installer.rb:72:in `run' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/installer.rb:24:in `install' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli/install.rb:64:in `run' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:259:in `block in install' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/settings.rb:114:in `temporary' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:258:in `install' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:30:in `dispatch' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:24:in `start' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/exe/bundle:49:in `block in <top (required)>' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/exe/bundle:37:in `<top (required)>' /usr/bin/bundle:23:in `load' /usr/bin/bundle:23:in `<main>' HTTP GET https://index.rubygems.org/api/v1/dependencies opening connection to index.rubygems.org:443... Net::OpenTimeout: execution expired /usr/lib/ruby/3.0.0/net/http.rb:987:in `initialize' /usr/lib/ruby/3.0.0/net/http.rb:987:in `open' /usr/lib/ruby/3.0.0/net/http.rb:987:in `block in connect' /usr/lib/ruby/3.0.0/timeout.rb:107:in `timeout' /usr/lib/ruby/3.0.0/net/http.rb:985:in `connect' /usr/lib/ruby/3.0.0/net/http.rb:970:in `do_start' /usr/lib/ruby/3.0.0/net/http.rb:965:in `start' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb:657:in `start' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb:597:in `connection_for' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendored_persistent.rb:16:in `connection_for' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb:870:in `request' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher/downloader.rb:59:in `request' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher/downloader.rb:17:in `fetch' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher/dependency.rb:10:in `available?' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher.rb:161:in `use_api' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/source/rubygems.rb:402:in `block in api_fetchers' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/source/rubygems.rb:402:in `select' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/source/rubygems.rb:402:in `api_fetchers' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/source/rubygems.rb:407:in `block in remote_specs' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/index.rb:9:in `build' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/source/rubygems.rb:406:in `remote_specs' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/source/rubygems.rb:104:in `specs' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:293:in `block (2 levels) in index' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:291:in `each' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:291:in `block in index' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/index.rb:9:in `build' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:288:in `index' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:908:in `source_requirements' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:282:in `resolve' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:185:in `specs' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:173:in `resolve_remotely!' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/installer.rb:291:in `resolve_if_needed' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/installer.rb:83:in `block in run' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/process_lock.rb:19:in `rescue in lock' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/process_lock.rb:15:in `lock' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/installer.rb:72:in `run' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/installer.rb:24:in `install' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli/install.rb:64:in `run' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:259:in `block in install' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/settings.rb:114:in `temporary' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:258:in `install' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:30:in `dispatch' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:24:in `start' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/exe/bundle:49:in `block in <top (required)>' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/exe/bundle:37:in `<top (required)>' /usr/bin/bundle:23:in `load' /usr/bin/bundle:23:in `<main>' Fetching source index from https://rubygems.org/ Need to query more than 500 gems. Downloading full index instead... HTTP GET https://rubygems.org/quick/Marshal.4.8/minima-2.5.0.gemspec.rz opening connection to rubygems.org:443... Net::OpenTimeout: execution expired /usr/lib/ruby/3.0.0/net/http.rb:987:in `initialize' /usr/lib/ruby/3.0.0/net/http.rb:987:in `open' /usr/lib/ruby/3.0.0/net/http.rb:987:in `block in connect' /usr/lib/ruby/3.0.0/timeout.rb:107:in `timeout' /usr/lib/ruby/3.0.0/net/http.rb:985:in `connect' /usr/lib/ruby/3.0.0/net/http.rb:970:in `do_start' /usr/lib/ruby/3.0.0/net/http.rb:965:in `start' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb:657:in `start' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb:597:in `connection_for' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendored_persistent.rb:16:in `connection_for' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb:870:in `request' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher/downloader.rb:59:in `request' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher/downloader.rb:17:in `fetch' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher.rb:107:in `fetch_spec' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/remote_specification.rb:101:in `_remote_specification' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/remote_specification.rb:107:in `method_missing' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/remote_specification.rb:78:in `dependencies' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/gem_helpers.rb:102:in `same_deps' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/gem_helpers.rb:51:in `block in select_best_platform_match' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/gem_helpers.rb:51:in `take_while' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/gem_helpers.rb:51:in `select_best_platform_match' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/resolver.rb:160:in `block (2 levels) in search_for' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/resolver/spec_group.rb:10:in `create_for' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/resolver.rb:168:in `block in search_for' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/resolver.rb:156:in `each' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/resolver.rb:156:in `reduce' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/resolver.rb:156:in `search_for' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/resolver.rb:309:in `block in verify_gemfile_dependencies_are_found!' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/resolver.rb:306:in `each' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/resolver.rb:306:in `verify_gemfile_dependencies_are_found!' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/resolver.rb:58:in `start' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/resolver.rb:23:in `resolve' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:282:in `resolve' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:185:in `specs' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:173:in `resolve_remotely!' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/installer.rb:291:in `resolve_if_needed' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/installer.rb:83:in `block in run' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/process_lock.rb:19:in `rescue in lock' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/process_lock.rb:15:in `lock' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/installer.rb:72:in `run' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/installer.rb:24:in `install' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli/install.rb:64:in `run' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:259:in `block in install' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/settings.rb:114:in `temporary' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:258:in `install' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:30:in `dispatch' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:24:in `start' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/exe/bundle:49:in `block in <top (required)>' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/exe/bundle:37:in `<top (required)>' /usr/bin/bundle:23:in `load' /usr/bin/bundle:23:in `<main>' Network error while fetching https://rubygems.org/quick/Marshal.4.8/minima-2.5.0.gemspec.rz (execution expired) Bundler::HTTPError: Network error while fetching https://rubygems.org/quick/Marshal.4.8/minima-2.5.0.gemspec.rz (execution expired) /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher/downloader.rb:72:in `rescue in request' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher/downloader.rb:49:in `request' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher/downloader.rb:17:in `fetch' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/fetcher.rb:107:in `fetch_spec' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/remote_specification.rb:101:in `_remote_specification' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/remote_specification.rb:107:in `method_missing' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/remote_specification.rb:78:in `dependencies' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/gem_helpers.rb:102:in `same_deps' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/gem_helpers.rb:51:in `block in select_best_platform_match' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/gem_helpers.rb:51:in `take_while' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/gem_helpers.rb:51:in `select_best_platform_match' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/resolver.rb:160:in `block (2 levels) in search_for' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/resolver/spec_group.rb:10:in `create_for' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/resolver.rb:168:in `block in search_for' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/resolver.rb:156:in `each' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/resolver.rb:156:in `reduce' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/resolver.rb:156:in `search_for' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/resolver.rb:309:in `block in verify_gemfile_dependencies_are_found!' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/resolver.rb:306:in `each' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/resolver.rb:306:in `verify_gemfile_dependencies_are_found!' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/resolver.rb:58:in `start' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/resolver.rb:23:in `resolve' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:282:in `resolve' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:185:in `specs' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/definition.rb:173:in `resolve_remotely!' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/installer.rb:291:in `resolve_if_needed' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/installer.rb:83:in `block in run' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/process_lock.rb:19:in `rescue in lock' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/process_lock.rb:15:in `lock' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/installer.rb:72:in `run' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/installer.rb:24:in `install' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli/install.rb:64:in `run' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:259:in `block in install' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/settings.rb:114:in `temporary' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:258:in `install' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:30:in `dispatch' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:24:in `start' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/exe/bundle:49:in `block in <top (required)>' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors' /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.16/exe/bundle:37:in `<top (required)>' /usr/bin/bundle:23:in `load' /usr/bin/bundle:23:in `<main>' |
I don't know what's going on :( It seems like the classic ipv6 misconfiguration issue, but if that would be the case I believe |
@sonalkr132 Any ideas? |
not exactly. @coolreader18 please also try packet capture if enabling IPv6 fallback doesn't work. You can either upload rubygems.pcap here or send it to support@rubygems.org |
@sonalkr132 I've sent it to the address, since github doesn't let you upload arbitrary files to comments. |
I will assume this was already sorted out through rubygems.org support email. Let me know if it was not. |
Describe the problem as clearly as you can
Anytime I run
bundle update
for my project (originally a jekyll site, but it also happens with any Gemfile as far as I can tell) I get a strange HTTP error "Network error while fetching https://... (execution expired)". I've put the errors below, and all of the URLs that were logged I can curl or download with my browser with no problem. Also note that plugging e.g. the gemspec url into irb asNet::HTTP.get(URI('uri'))
works fine as well.Errors/Backtraces
Post steps to reproduce the problem
I couldn't reproduce this in a docker container, so I think it is something with my environment. However, I really don't do much with ruby, and I've tried uninstalling and reinstalling multiple times to no avail. I have ruby and bundler installed from the arch linux package repositories, and the error still happens if I install bundler with
gem install
.Environment
Bundler Build Metadata
Gemfile
Gemfile
Gemfile.lock
The text was updated successfully, but these errors were encountered: