error: RPC failed; curl 56 OpenSSL SSL_read: error:140943FC:SSL routines:ssl3_read_bytes:sslv3 alert bad record mac, errno 0

19,479

So I ran into the same issue and contacted github.com/contact. In the end, they gave the hint that solved it for me. I needed to change the git config to use TLSv1.2 instead of SSLv3:

git config http.sslVersion tlsv1.2

As GitHub support told me, in the beginning, the issue could be related to a change which they deployed a few months ago, that disables support for deprecated legacy TLS and SSH algorithms, including those that were used in older versions of some Git clients. You can find more information and advice here:

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

Share:
19,479
moro clash
Author by

moro clash

Updated on July 19, 2022

Comments

  • moro clash
    moro clash almost 2 years

    I use Arch Linux and this problem appears when trying to push on my rip

    error: RPC failed; curl 56 OpenSSL SSL_read: error:140943FC:SSL routines:ssl3_read_bytes:sslv3 alert bad record mac, errno 0

    this issue when writing

    git push origin master

    Counting objects: 65, done. Delta compression using up to 4 threads. Compressing objects: 100% (56/56), done. Writing objects: 100% (65/65), 76.27 KiB | 1.00 MiB/s, done. Total 65 (delta 32), reused 0 (delta 0) error: RPC failed; curl 56 OpenSSL SSL_read: error:140943FC:SSL routines:ssl3_read_bytes:sslv3 alert bad record mac, errno 0 fatal: The remote end hung up unexpectedly fatal: The remote end hung up unexpectedly Everything up-to-date

    i'm change my buffer size and upgrade git, curl, openssl but doesn't work .

    so any help pleas.

  • edelmaks
    edelmaks about 6 years
    Although it didn't help me with exactly the same error, there is a tip if you get warning: unsupported ssl version TLSv1.2: using default - type tlsv1.2 in lowercase.
  • sudip
    sudip over 2 years
    git config --global http.sslVersion tlsv1.2 to set it globally.