为什么我收到此github错误消息

时间:2020-02-01 20:03:22

标签: git

$ git push
Enumerating objects: 55, done.
Counting objects: 100% (55/55), done.
Delta compression using up to 4 threads
Compressing objects: 100% (46/46), done.
error: RPC failed; curl 56 LibreSSL SSL_read: error:1404C3FC:SSL routines:ST_OK:sslv3 alert bad record mac, errno 0
fatal: the remote end hung up unexpectedly
Writing objects: 100% (46/46), 14.31 MiB | 1.45 MiB/s, done.
Total 46 (delta 15), reused 0 (delta 0)
fatal: the remote end hung up unexpectedly
Everything up-to-date

1 个答案:

答案 0 :(得分:-1)

您需要将git配置更改为使用TLSv1.2而不是SSLv3:

git config http.sslVersion tlsv1.2

您可以在此处找到更多信息和建议

https://githubengineering.com/crypto-removal-notice/