【问题标题】:GitLab SSL Read error, decryption failed or bad record macGitLab SSL 读取错误、解密失败或坏记录 mac
【发布时间】:2017-02-17 20:30:07
【问题描述】:

我想使用此命令将现有的 Git 存储库添加到 GitLab:git push -u origin --all,但我收到以下错误消息:

fatal: unable to access 'https://gitlab.com/Name/MyProject.git/': SSL read: error:1
SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac, errno
0

知道为什么吗?

【问题讨论】:

    标签: git ssl gitlab


    【解决方案1】:

    首先,检查是否可以切换到 ssh 作为解决方法:

    git remote set-url git@gitlab.com:Name/MyProject.git
    

    (你需要generate a public/private key paris first, and register your public key to your GitLab profile

    This question 似乎引用了Debian or OpenSSL bug,因此这取决于您的操作系统和您的 openssl 版本。

    【讨论】:

    • 一定要先升级到最新的Git版本,看看是否报错
    猜你喜欢
    • 2013-07-05
    • 1970-01-01
    • 1970-01-01
    • 2021-11-19
    • 2017-12-26
    • 1970-01-01
    • 2014-05-10
    • 2015-06-13
    • 2021-03-30
    相关资源
    最近更新 更多