git出现OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054错误

解决方案一:将https替换成git

第一次克隆的错误信息:

Administrator@WIN-QIJ6CH8JVRR MINGW64 /f/BookProject
$ git clone https://github.com/fenixsoft/microservice_arch_springcloud.git
Cloning into 'microservice_arch_springcloud'...
fatal: unable to access 'https://github.com/fenixsoft/microservice_arch_springcloud.git/': OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054

将https修改为git

Administrator@WIN-QIJ6CH8JVRR MINGW64 /f/BookProject
$ git clone git://github.com/fenixsoft/microservice_arch_springcloud.git
Cloning into 'microservice_arch_springcloud'...
remote: Enumerating objects: 808, done.
remote: Counting objects: 100% (808/808), done.
remote: Compressing objects: 100% (411/411), done.
Receiremote: Total 808 (delta 277), reused 723 (delta 197), pack-reused 0
Receiving objects: 100% (808/808), 6.28 MiB | 3.48 MiB/s, done.
Resolving deltas: 100% (277/277), done.

 

解决方案二:两条命令

第一条:这条会报错,继续下一条命令

git config http.sslVerify "false"

第二条:

git config --global http.sslVerify "false"

 欢迎关注作者微信公众号

 

posted @ 2021-10-24 16:50  沾青先生  阅读(4902)  评论(0编辑  收藏  举报