Timeout error

guard.16's Avatar

guard.16

10 Apr, 2018 02:55 PM

Hey - I am getting a timeout error on every gem update I am trying to do. after doing some reading - some peopel had this issue but it was specific to their projects. I removed the project from my computer, uninstalled rails - and then attempted to update the gems. I can download and install each gem individually if I go to a specific gem URL after the timeout happens. if I run gem update I get the following:

ERROR: While executing gem ... (Gem::RemoteFetcher::UnknownHostError)
    timed out (https://api.rubygems.org/latest_specs.4.8.gz)

gem install rails gives me:
ERROR: Could not find a valid gem 'rails' (>= 0), here is why:
          Unable to download data from https://rubygems.org/ - timed out (https://api.rubygems.org/specs.4.8.gz)

All help related to this issue will be appreciated -it's been going on for about 2 weeks but is only now a critical issue.

  1. Support Staff 1 Posted by Aditya Prakash on 22 Apr, 2018 12:53 PM

    Aditya Prakash's Avatar

    hi guard.16,

    Looks like api.rubygems.org is not resolvable/reachable from your host. Can you please try to download spec file using wget or curl and see what error comes up?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac