使用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