【问题标题】:when run git clone, get error: errno 10054运行 git clone 时出现错误:errno 10054
【发布时间】:2021-10-15 15:57:23
【问题描述】:

当我使用命令 git clone** 获取公共代码时,它会出现以下消息:

unable to access 'https://github.com/jenkinsci/maven-snapshot-check-plugin.git/': OpenSSL SSL_read: Connection was reset, errno 10054

有人有什么想法吗?谢谢。

【问题讨论】:

    标签: linux windows git ssh clone


    【解决方案1】:

    这可能会解决它

    git config http.postBuffer 524288000
    

    【讨论】:

    • 请参阅the Git FAQ 了解此选项的作用以及为什么不应该启用它。
    【解决方案2】:

    下面的命令可以解决问题:

    git config --global http.sslVerify "false"

    【讨论】:

    • 这会从您的连接中删除所有安全性并使其容易受到篡改。
    猜你喜欢
    • 2017-09-11
    • 2021-09-18
    • 1970-01-01
    • 2016-05-30
    • 2018-02-05
    • 1970-01-01
    • 1970-01-01
    • 2017-07-03
    • 2021-03-30
    相关资源
    最近更新 更多