Network timeouts

Ivan's Avatar

Ivan

05 May, 2018 04:22 AM

Hi,

I'm experiencing network timeouts while trying to fetch libraries from rubygems.org.
Running `bundle --verbose`, I noticed some requests were being rate-limited, so I want to check whether my IP address has been blackholed, or whether you can suggest any further debugging steps to find the root cause.

I tried an alternate gem server (gems.ruby-china.org) and found I could fetch libraries from there without issue, but this doesn't seem to be affecting other users.

When I run `bundle --verbose`, I see several successful requests, followed by some rate-limit errors, then more successes:

    HTTP GET https://index.rubygems.org/info/aws-sdk-elasticsearchservice
    ...
    HTTP 200 OK https://index.rubygems.org/info/aws-sdk-marketplacemetering
    ...
    HTTP 429 Too Many Requests https://index.rubygems.org/info/aws-sdk-comprehend
    ...
    HTTP 200 OK https://index.rubygems.org/info/aws-sdk-guardduty
    ...

A few requests to older (`/api/v1`) endpoints follow, and then it just hangs.

    Query Gemcutter Dependency Endpoint API: faraday-middleware,celluloid-gems
    HTTP GET https://index.rubygems.org/api/v1/dependencies?gems=celluloid-gems%2Cfaraday-middleware
    HTTP 200 OK https://index.rubygems.org/api/v1/dependencies?gems=celluloid-gems%2Cfaraday-middleware
    Query List: []

It will sit for quite a while (about 5 minutes, though I haven't timed it) before finally reporting a timeout.

Hoping you can point me in the right direction.
Thank you.

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