ERRno::ECONNRESTE: An existing connection was forcibly closed by the remote
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ERRno::ECONNRESTE: An existing connection was forcibly closed by the remote相关的知识,希望对你有一定的参考价值。
来自https://ruby.taobao.org/
由于国内网络原因(你懂的),导致 rubygems.org 存放在 Amazon S3 上面的资源文件间歇性连接失败。所以你会与遇到 gem install rack
或 bundle install
的时候半天没有响应,具体可以用 gem install rails -V
来查看执行过程。
这是一个完整 rubygems.org 镜像,你可以用此代替官方版本,同步频率目前为15分钟一次以保证尽量与官方服务同步。
如何使用?
$ gem sources --add https://ruby.taobao.org/ --remove https://rubygems.org/
$ gem sources -l
*** CURRENT SOURCES ***
https://ruby.taobao.org
# 请确保只有 ruby.taobao.org
$ gem install rails
以上是关于ERRno::ECONNRESTE: An existing connection was forcibly closed by the remote的主要内容,如果未能解决你的问题,请参考以下文章
Flutter项目删除了相关的dart文件之后运行flutter run或者 F5编译运行时会报这个错误.... were declared as an inputs, but did not exi
那些年在python中踩过的坑之error: command gcc failed with exi
Caused by: java.sql.SQLSyntaxErrorException: Table 'sell.hibernate_sequence' doesn't exi