Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 962
moro clash Avatar asked Apr 08 '18 17:04

moro clash


1 Answers

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/

like image 133
Daniel Avatar answered Sep 17 '22 11:09

Daniel