Skip to content

Instantly share code, notes, and snippets.

Created March 17, 2013 23:26
Show Gist options
  • Save anonymous/5184100 to your computer and use it in GitHub Desktop.
Save anonymous/5184100 to your computer and use it in GitHub Desktop.
error messages with connection problems while trying to update gem
time gem update --system --clear-sources --source http://production.s3.rubgems.org -V --backtrace
time gem update --system --clear-sources --source https://production.s3.rubgems.org -V --backtrace
time gem update --system --clear-sources --source http://rubgems.org -V --backtrace
time gem update --system --clear-sources --source https://rubgems.org -V --backtrace
"connection reset after 1 requests, retrying"
or "time out" (https://production.s3.rubgems.org/latest_specs.4.8.gz)
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
too many connection resets (http://production.s3.rubgems.org/latest_specs.4.8.gz)
/usr/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:462:in `rescue in request'
/usr/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:407:in `request'
/usr/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:205:in `fetch_http'
/usr/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:238:in `fetch_path'
/usr/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:269:in `load_specs'
/usr/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:231:in `block in list'
/usr/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:227:in `each'
/usr/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:227:in `list'
/usr/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:150:in `find_matching_with_errors'
/usr/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:177:in `find_matching'
/usr/lib/ruby/1.9.1/rubygems/commands/update_command.rb:214:in `block in which_to_update'
/usr/lib/ruby/1.9.1/rubygems/commands/update_command.rb:207:in `each'
/usr/lib/ruby/1.9.1/rubygems/commands/update_command.rb:207:in `which_to_update'
/usr/lib/ruby/1.9.1/rubygems/commands/update_command.rb:162:in `update_rubygems'
/usr/lib/ruby/1.9.1/rubygems/commands/update_command.rb:61:in `execute'
/usr/lib/ruby/1.9.1/rubygems/command.rb:278:in `invoke'
/usr/lib/ruby/1.9.1/rubygems/command_manager.rb:147:in `process_args'
/usr/lib/ruby/1.9.1/rubygems/command_manager.rb:117:in `run'
/usr/lib/ruby/1.9.1/rubygems/gem_runner.rb:65:in `run'
/usr/bin/gem:21:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment