Rails资产间歇性超时https://rails-assets.org

时间:2017-11-16 10:51:41

标签: ruby-on-rails rails-assets

在为此进行捆绑安装时以及在Continuous Integration服务器上进行间歇性获取错误。

Retrying dependency api due to error (4/4): Bundler::HTTPError Network error while fetching https://rails-assets.org/api/v1/dependencies?gems=rails-assets-angular%2Crails-assets-bootstrap-2.3.2%2Crails-assets-bootstrap-3%2Crails-assets-jasmine%2Crails-assets-jqueryjs%2Crails-assets-rainbow%2Crails-assets-typeahead.js (too many connection resets (due to Net::ReadTimeout - Net::ReadTimeout) after 0 requests on 70190348894440, last used 22.186127 seconds ago)

1 个答案:

答案 0 :(得分:0)

很可能每隔一段时间就会进行一次维护(特别是这个晚期),尽管他们之前肯定有停机时间(见https://github.com/tenex/rails-assets/issues/329)。

做一个简单的卷曲你可以看到他们根本没有回应任何请求:

$ curl 'https://rails-assets.org/api/v1/dependencies?gems=rails-assets-angular%2Crails-assets-bootstrap-2.3.2%2Crails-assets-bootstrap-3%2Crails-assets-jasmine%2Crails-assets-jqueryjs%2Crails-assets-rainbow%2Crails-assets-typeahead.js' -D - --max-time 10
curl: (28) Operation timed out after 10004 milliseconds with 0 bytes received