Gem gems.ruby-china.org 国内连不上?

Peter · 2017年03月30日 · 最后由 Peter 回复于 2017年03月30日 · 3261 次阅读

@huacnlee

请问近期有什么调整吗?国内好像用不了,国外会定向到 upaiyun

国内:

$ wget  https://gems.ruby-china.org/specs.4.8.gz
--2017-03-30 04:11:28--  https://gems.ruby-china.org/specs.4.8.gz
Resolving gems.ruby-china.org (gems.ruby-china.org)... 115.159.216.235
Connecting to gems.ruby-china.org (gems.ruby-china.org)|115.159.216.235|:443... failed: Connection timed out.
Retrying.

国外:

$ wget  https://gems.ruby-china.org/specs.4.8.gz
--2017-03-29 22:16:03--  https://gems.ruby-china.org/specs.4.8.gz
Resolving gems.ruby-china.org... 115.159.216.235
Connecting to gems.ruby-china.org|115.159.216.235|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://gems-ruby-china.b0.upaiyun.com/specs.4.8.gz [following]
--2017-03-29 22:16:05--  https://gems-ruby-china.b0.upaiyun.com/specs.4.8.gz
Resolving gems-ruby-china.b0.upaiyun.com... 58.222.18.2, 183.158.35.58, 183.158.35.59, ...
Connecting to gems-ruby-china.b0.upaiyun.com|58.222.18.2|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3022252 (2.9M) [application/octet-stream]
Saving to: 'specs.4.8.gz.1'

14% [======>                                               ] 433,426      187KB/s

302 到 gems-ruby-china.b0.upaiyun.com 是正常的逻辑。

然后不同那个可能得换点方式试试,看看会不会是其他问题导致的。

@huacnlee

谢谢回复,换什么方式呢?有没有服务器真实 ip ? 或者我直接用这个域名:gems-ruby-china.b0.upaiyun.com?

目前我直接连接的 https://rubygems.org,有点慢,但还可以使用。

需要 登录 后方可回复, 如果你还没有账号请 注册新账号