Fatal: the remote end hung up unexpectedly on creating large file
See original GitHub issueDescribe the bug
A clear and concise description of what the bug is.
When pushing a large file commit to github (creating the file), it gives an error:
Enumerating objects: 4, done.
Counting objects: 100% (4/4), done.
Delta compression using up to 4 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 1.21 MiB | 1.19 MiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: fatal: early EOF
error: RPC failed; curl 56 Failure when receiving data from the peer
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date
Version & OS
Version 2.5.3
Steps to reproduce the behavior
- Create a large file in a repo that is synced to github and commit it.
- Click Push origin
- Wait a while and it comes up with the error
Expected behavior
It to sync properly.
Actual behavior
Instead, it didn’t sync and showed the error
Screenshots
Add screenshots to help explain your problem, if applicable.
Logs
Attach your logs by opening the Help
menu and selecting Show Logs...
, if applicable.
Additional context
Add any other context about the problem here.
See file at https://github.com/mbartlett21/bible_databases/blob/master/lua/t_dby.lua for the file
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
The remote end hung up unexpectedly while Git push with ...
This is only for large files I guess. For smaller changes it works fine. I've updated http.postBuffer to 2M and it still doesn't...
Read more >Git Push Fails - fatal: The remote end hung up unexpectedly
Workaround. Maximum size in bytes of the buffer used by smart HTTP transports when POSTing data to the remote system. For requests larger...
Read more >How to fix the error fatal: The remote end hung up unexpectedly
Solution. To solve the issue, change the settings of your buffer so that you have enough space available. You can increase the buffer...
Read more >git error solved: The remote end hung up unexpectedly
Sometimes, when you clone a git repository you may end up with a fatal error “The remote end hung up unexpectedly”.
Read more >Troubleshooting Git - GitLab Docs
Write failed: Broken pipe fatal: The remote end hung up unexpectedly ... For example, if a repository has a very long history and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am having this issue and disabling the firewall did not solve this problem. My situation is identical to this one. I am attempting to do 3 pushes (merge commit) of large files of unreal engine 4 and c++
@Ethshaam just an idea (since that was my problem a bit back), make sure you have a proper
.gitattributes
file so that the right files are actually pushed out as lfs. Like the one described here: https://stefanperales.com/blog/unreal-engine-4-and-git-lfs/