1. 程式人生 > 其它 >git出現OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054錯誤

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"