ERRno::ECONNRESTE: An existing connection was forcibly closed by the remote

来自https://ruby.taobao.org/

由于国内网络原因(你懂的),导致 rubygems.org 存放在 Amazon S3 上面的资源文件间歇性连接失败。所以你会与遇到 gem install rackbundle 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
时间: 2024-10-29 19:06:28

ERRno::ECONNRESTE: An existing connection was forcibly closed by the remote的相关文章

10054: An existing connection was forcibly closed by the remote host

现象 打开页面,PHP-CGI退出,Nginx错误日志如下: 2017/08/09 15:13:31 [error] 8140#19268: *1 WSARecv() failed (10054: An existing connection was forcibly closed by the remote host) while reading response header from upstream, client: 127.0.0.1, server: localhost, reque

myBatis连接MySQL报异常:No operations allowed after connection closed.Connection was implicitly closed

网站运行一个晚上,早上来上班,发现报错: ### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed. 网上查了下,由于使用了默认配置,空闲超过8小时,自动断开该连接 我使用的是mybatis的默认连接池,于是把该配的,都配置上.datasource的属性

“psql: could not connect to server: Connection refused” Error when connecting to remote database

问题: I am trying to connect to a postgres database installed in a remote server using the following command: psql -h host_ip -U db_username -d db_name This the error that occurs: psql: could not connect to server: Connection refused Is the server runn

使用gem安装jekyll错误记录

准备在windows7上安装Jekyll, 安装好了Ruby和RubyDevKit之后,准备使用: $ gem install jekyll 安装jekyll,但是返回错误: ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) Errno::ECONNRESET: An existing connection was forcibly closed by the remote host. - SSL_connect 解决

初学Python遇到的浏览器问题

初学Python,把遇到的问题总结出来,如果其它初学者有遇到同样的问题,可参考! from selenium import webdriver driver=webdriver.Ie() driver.get('https://www.baidu.com') 问题一: Traceback (most recent call last): File "C:/Python27/Lib/test1.py", line 5, in <module> driver=webdriver

Github pages + jekyll 博客快速搭建

Github Pages + Jekyll 方案的优点: · 免费 · 有版本管理,修改方便 · 支持markdown 缺点: · 它生成的是静态网页,添加动态功能必须使用外部服务,比如评论功能要使用第三方服务(如disqus). · 它不适合大型网站,因为没有用到数据库,每运行一次都必须遍历全部的文本文件,网站越大,生成时间越长. 步骤: 1.注册Github 2.域名 1)去买域名 2)用Github pages提供的免费域名 http://{username}.github.io //用你

The underlying connection was closed: An unexpected error occurred on a receive

转自: http://www.outsystems.com/forums/discussion/15641/tip-the-underlying-connection-was-closed-an-unexpected-error-occurred-on-a-rece/ Symptom You application is making a call to another system performing an HTTP(S) request. This request can be a: We

socket学习及各类错误码(部分转)

如果本地有多个网卡(即多个ip),要指定本地发送网卡,则在建立的socket上bind所指定的网卡进行connect和send操作.例子程序如下: #include <stdio.h>#include "WinSock2.h"#pragma comment(lib,"ws2_32.lib") SOCKET tcp_socket;SOCKADDR_IN tcpAddr;const int BufLen=1024;char SendBuf[BufLen];

CMPP错误码说明

与中国移动代码的对应关系. MI::zzzzSMSC返回状态报告的状态值为EXPIREDMJ:zzzzSMSC返回状态报告的状态值为DELETEDMK:zzzzSMSC返回状态报告的状态值为UNDELIVML:zzzzSMSC返回状态报告的状态值为ACCEPTDMM:zzzzSMSC返回状态报告的状态值为UNKNOWNMN:zzzzSMSC返回状态报告的状态值为REJECTD 回页首 CMPP发送失败代码对照表 值(4位,不足4位前面补0) 含义1 消息结构错2 命令字错误3 消息序列号重复4