[Git]OpenSSL SSL_read: Connection was reset, errno 10054

Git 报错

OpenSSL SSL_read: Connection was reset, errno 10054
服务器的SSL证书没有经过第三方机构的签署

D:\AsProject\gitProject>git clone https://github.com/sufadi/ReciteInterviewQuestions.git
Cloning into 'ReciteInterviewQuestions'...
fatal: unable to access 'https://github.com/sufadi/ReciteInterviewQuestions.git/': OpenSSL SSL_read: Connection was reset, errno 10054

解决方案

  1. 使用 git config --global http.sslVerify “false” 解决
  2. 另一种可能是网络不稳定,多发几次命令

我就遇到clone了2次才下载到git的仓库

D:\AsProject\gitProject>git config --global http.sslVerify "false"

D:\AsProject\gitProject>git clone https://github.com/sufadi/ReciteInterviewQuestions.git
Cloning into 'ReciteInterviewQuestions'...
fatal: unable to access 'https://github.com/sufadi/ReciteInterviewQuestions.git/': OpenSSL SSL_read: Connection was reset, errno 10054

D:\AsProject\gitProject>git clone https://github.com/sufadi/ReciteInterviewQuestions.git
Cloning into 'ReciteInterviewQuestions'...
warning: You appear to have cloned an empty repository.

D:\AsProject\gitProject>dir
 驱动器 D 中的卷是 Data
 卷的序列号是 820B-7E6D

 D:\AsProject\gitProject 的目录

2021/12/25  13:52    <DIR>          .
2021/12/25  13:52    <DIR>          ..
2021/12/25  13:52    <DIR>          ReciteInterviewQuestions
               0 个文件              0 字节
上一篇:hibernate(四)


下一篇:VirtualBox 虚拟机 Read-only file system