1

When i am Trying to push my android project to GitHub i got this error

Failed with error: RPC failed; curl 56 LibreSSL SSL_read: error:140943FC:SSL routines:SSL3_READ_BYTES:sslv3 alert bad record mac, errno 0 The remote end hung up unexpectedly The remote end hung up unexpectedly

3
  • Please show all commands you use... Commented Apr 28, 2018 at 9:30
  • git init git remote add origin github.com/x/y.git git add . git commit -m "first commit" push -u origin master Counting objects: 93, done. Delta compression using up to 4 threads. Compressing objects: 100% (81/81), done. Writing objects: 100% (93/93), 1.78 MiB | 17.87 MiB/s, done. Total 93 (delta 44), reused 0 (delta 0) error: RPC failed; curl 56 LibreSSL 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 Commented Apr 29, 2018 at 5:42
  • Does this help stackoverflow.com/a/43364619/5784831? Commented Apr 29, 2018 at 8:36

1 Answer 1

1

It can be caused by large files in your repo. Github has 100 MB limit for a single file in a repo. You might want to check it by using git lfs migrate info.

I've had the same issue but this particular error was intermittent. I occasionally have seen "error: GH001: Large files detected. You may want to try Git Large File Storage". Also when I switched to SSH for remote origin instead of HTTPS it gave me broken pipe error message.

I already used LFS but my .gitattributes missed some large files so I've updated it and run git lfs migrate import --include="*.fileextension" then pushed to github without an error. See https://help.github.com/articles/moving-a-file-in-your-repository-to-git-large-file-storage/.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.