OpenSSL SSL_read: Connection was reset, errno 10054

OpenSSL SSL_read: Connection was reset, errno 10054

使用git时,获取github指定项目出现下面报错时:

$ git clone https://github.com/gasvn/Res2Net.git
Cloning into 'Res2Net'...
fatal: unable to access 'https://github.com/gasvn/Res2Net.git/': OpenSSL SSL_read: Connection was reset, errno 10054

解决方法:链接中的https改写为git

git clone git://github.com/gasvn/Res2Net.git
上一篇:如何检测socket是否关闭,socket的关闭检测及处理


下一篇:写给初学者的Linux errno 错误码机制