China: sabotaged?

rekado's Avatar


16 Oct, 2011 04:29 PM


it seems that connections to are sabotaged by at least one (probably two) ISPs in Shanghai. I've tested this both with and without proxying requests to Europe and could confirm that connection resets are only received when the request is done locally. itself is accessible and I didn't have problems to download gems (though I didn't test it recently).

Is there an official mirror? There used to be different gem repositories; are these all merged now? Access to the above-mentioned resource is required when updating the platform.

I would like to know if there is a network of mirrors that do not rely on Amazon S3, which appears to be blocked, sabotaged or at least inadvertedly restricted by the local ISPs.

  1. Support Staff 1 Posted by Nick Quaranto on 04 Aug, 2012 06:47 PM

    Nick Quaranto's Avatar

    Sorry, this comment was buried in our spam inbox.

    Is this still happening?

  2. 2 Posted by rekado on 05 Aug, 2012 01:08 AM

    rekado's Avatar

    Yes, this is still happening. I'm using now which seems to be a rubygems mirror located in China.

  3. Support Staff 3 Posted by Evan Phoenix on 05 Aug, 2012 07:23 PM

    Evan Phoenix's Avatar

    Are you using as your source? (note the https). I'd think that they wouldn't be able to sabotage https, so that might be a workaround for you.

  4. 4 Posted by rekado on 06 Aug, 2012 08:17 AM

    rekado's Avatar itself is not sabotaged, but any connection to, which as far as I can tell is a cloud server. "Sabotage" in this case means that any connection to the cloud server is flooded with RST packets. This is true for other services that use Amazon's cloud servers, too.

    Using as the source doesn't make any difference as the connection to is terminated by the ISP. SSL doesn't protect against resetting the connection which is what appears to happen.

  5. Support Staff 5 Posted by Evan Phoenix on 14 Aug, 2012 03:19 AM

    Evan Phoenix's Avatar

    This is the reason that I setup the mirror in tokyo. He's already using it since I'm sending all the traffic from China and Japan to it.

  6. Evan Phoenix closed this discussion on 14 Aug, 2012 03:19 AM.

Comments are currently closed for this discussion. You can start a new one.

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