go get报错fatal: unable to access 'xxx': OpenSSL SSL_read: Connection was reset, errno 10054

执行命令:
go get -u github.com/huichen/sego

报错信息:

fatal: unable to access 'https://github.com/huichen/sego/': OpenSSL SSL_read: Connection was reset, errno 10054

解决办法:
1.增加缓冲
git config http.postBuffer 524288000
2.更改网络认证设置,解除ssl验证
git config --global http.sslVerify "false"

再次执行命令即可。

出处:www.l1mn.com

原文标题:go get报错fatal: unable to access 'xxx': OpenSSL SSL_read: Connection was reset, errno 10054

原文地址:https://www.l1mn.com/p/ks29m2.html

本文版权归作者所有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接。

分类:gitgo
标签:gitgogolang
评论

皖ICP备2023023451号

Copyright © L1MN.COM 联系方式:l1mnfw@163.com