ruby-china / rubygems-mirror

https://gems.ruby-china.com
MIT License
327 stars 31 forks source link

Bluemix platform response Forbidden 403 when access (https://gems-ruby-china.b0.upaiyun.com/gems/minitest-5.5.1.gem) #65

Closed therealqxing closed 7 years ago

therealqxing commented 7 years ago

您好,我是Bluemix平台的运维。现在发现我们在访问ruby china源response 403,不知道您这边是不是把我们forbidden了,如果是这样,麻烦您帮忙解封下,thanks.

therealqxing commented 7 years ago

Gem::RemoteFetcher::FetchError: bad response Forbidden 403 (https://gems-ruby-china.b0.upaiyun.com/gems/hike-1.2.3.gem)

huacnlee commented 7 years ago

IP

therealqxing commented 7 years ago

124.251.96.32

huacnlee commented 7 years ago

没有在黑名单列表里面。

算了,我先把现在的名单都清空了,可能生效要稍等一会儿,你过 1 小时以后试试

therealqxing commented 7 years ago

ok, thanks.

huacnlee commented 7 years ago
2017-03-10 1 14 39 2017-03-10 1 14 46
therealqxing commented 7 years ago

ok, 这个列表里面没有我们的环境的ip, 谢谢

therealqxing commented 7 years ago

您好,请问一下,像下面这种情况,是不是upaiyun把我们block了呢?

HTTP/1.1 302 Moved Temporarily
Server: nginx/1.10.1
Date: Fri, 10 Mar 2017 07:14:27 GMT
Content-Type: text/html
Content-Length: 161
Connection: keep-alive
Location: https://gems-ruby-china.b0.upaiyun.com/gems

HTTP/1.1 403 Forbidden
Server: marco/0.25
Date: Fri, 10 Mar 2017 07:14:31 GMT
Content-Type: application/xml
Connection: keep-alive
Vary: Accept-Encoding
X-Source: C/403
Accept-Ranges: bytes
X-Served-By: cache-sea1046-SEA, cache-hkg6826-HKG
X-Amz-Request-Id: 30C832BEB7414B44
X-Timer: S1489130071.195081,VS0,VE179
Fastly-Debug-Digest: 199577bd89d2d3613ff4ae8a6bb6465707746e9b24738ce2d71e2a6d036d3aa7
X-Cache-Hits: 0, 0
X-Amz-Id-2: TnJ4hlptL1rbudVawp/OQaU+b50B3dPITeYv+HkiEc4//c87zkS2u56lc6CuKR0ci2s3Czfblx4=
Age: 6
X-Cache: MISS from mix-sd-tna-135, MISS from cun-he-tvs-099
X-Request-Id: 3ee989631b83a7da22ce20cec60d61a3
Via: S.mix-sd-tna-140, T.216134.M.1, V.mix-sd-tna-135, T.215100.M.1, M.cun-he-tvs-099
huacnlee commented 7 years ago

对 403 就是,我刚才封了一批 IP

https://github.com/ruby-china/rubygems-mirror/issues/66

therealqxing commented 7 years ago

嗯我看到了,您这个被封的列表里面没有我们,可是还会出现403的问题,不清楚这是什么原因。有没有其他人跟您提过类似的问题呢(https://gems.ruby-china.org/ 没问题, https://gems-ruby-china.b0.upaiyun.com/gems 403)

huacnlee commented 7 years ago

https://gems.ruby-china.org/gems

这个本来就是不可以访问的

huacnlee commented 7 years ago

https://gems-ruby-china.b0.upaiyun.com/quick/Marshal.4.8/rucaptcha-2.1.2.gemspec.rz https://gems-ruby-china.b0.upaiyun.com/gems/rucaptcha-2.1.2.gem

这种才是可以访问的

therealqxing commented 7 years ago

ok. 可能我没表达清楚,我的意思是说我们访问gems.ruby-china.org是没问题的,发生403是在重定向到upaiyun之后,所以想跟您咨询下,是不是UpYun CDN这边有什么规则(比如频繁访问会暂时forbidden)

huacnlee commented 7 years ago

我都说过了 没有规则 除非我手动屏蔽

qxing notifications@github.com于2017年3月10日 周五下午4:14写道:

ok. 可能我没表达清楚,我的意思是说我们访问gems.ruby-china.org是没问题的,发生403是在重定向到upaiyun之后,所以想跟您咨询下,是不是UpYun CDN这边有什么规则(比如频繁访问会暂时forbidden)

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/ruby-china/rubygems-mirror/issues/65#issuecomment-285605508, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAVjj14LwQ8Dn6AcQOUflLDZUllfVcIks5rkQZmgaJpZM4MRzCl .

-- 李华顺 (Jason Lee) http://huacnlee.com

http://huacnlee.com http://twitter.com/huacnlee http://github.com/huacnlee

therealqxing commented 7 years ago

好的,谢谢。