gem mirror failing with 404 and 503 errors

sswartz's Avatar


26 Nov, 2012 05:45 PM

I started trying to create an internal RubyGems mirror last week, but kept running into the same problem when running "gem mirror -V". I am able to initially download 102,267 gems of the 245,759 available. The problem is:

404 on attribute-kit-0.1.0.gem
404 on engen-0.1.3.gem
404 on alpha_omega-0.0.40.gem
404 on ghostplus-0.0.1.gem
404 on hmx_client-0.0.9.gem
404 on health_check-0.2.3.gem
404 on hmx_client-0.0.8.gem
ERROR:  While executing gem ... (Gem::Mirror::Fetcher::Error)
    unexpected response #<Net::HTTPServiceUnavailable 503 Service Unavailable readbody=false>

Does anyone know how to get around these errors or what to do to get the entire GEM repository downloaded given these errors?

Thanks for the assistance.

  1. Support Staff 1 Posted by Nick Quaranto on 19 Dec, 2012 01:27 AM

    Nick Quaranto's Avatar

    Ugh. Do you have a list of everything that failed?

  2. 2 Posted by sswartz on 19 Dec, 2012 03:07 AM

    sswartz's Avatar

    At the time I submitted this that was the complete list. The download/mirroring stopped when it encountered the 503 error.

  3. Support Staff 3 Posted by Nick Quaranto on 10 Jan, 2013 04:14 PM

    Nick Quaranto's Avatar

    Yanked all of these. Let me know if you find more.

  4. Nick Quaranto closed this discussion on 10 Jan, 2013 04:14 PM.

  5. sswartz re-opened this discussion on 28 Feb, 2013 07:05 PM

  6. 4 Posted by sswartz on 28 Feb, 2013 07:05 PM

    sswartz's Avatar

    On 2/28/2013 I am encountering a "404" error for the gems "milia-0.3.14.gem" and "jenkins-0.6.7.gem". Immediately after encountering that problem I get the aforementioned error:

    ERROR: While executing gem ... (Gem::Mirror::Fetcher::Error)
    unexpected response #

    I still have not been able to download the entire RubyGems repository because of this error.

  7. 5 Posted by sswartz on 28 Feb, 2013 07:06 PM

    sswartz's Avatar

    Let me try that again. The aforementioned error message is:

    ERROR: While executing gem ... (Gem::Mirror::Fetcher::Error)
    unexpected response #

  8. 6 Posted by sswartz on 28 Feb, 2013 07:07 PM

    sswartz's Avatar

    Something weird is happening with the cut and paste of the error message. It is the aforementioned 503 error message.

  9. 7 Posted by sswartz on 28 Feb, 2013 09:02 PM

    sswartz's Avatar

    And, several more gems giving 404 errors:


Reply to this discussion

Internal reply

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

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


? 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