下载安装go插件包报错fatal: unable to access 'https://github.com/golang/tools.git/': OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054

时间:2023-12-11 11:02:32

使用git命令来给vscode安装go插件的时候报错,如下:

$ git clone https://github.com/golang/tools.git tools
Cloning into 'tools'...
fatal: unable to access 'https://github.com/golang/tools.git/': OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno

解决办法如下:

执行命令:

git config http.postBuffer 524288000

注意524288000算法:1024*1024*500

出现如下错误:curl 56 OpenSSL SSL_read:SSL_ERROR_sysCALL

执行命令:

git config http.sslVerify "false"

参照:

https://blog.csdn.net/assassinsshadow/article/details/80673364