question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fatal: the remote end hung up unexpectedly on creating large file

See original GitHub issue

Describe 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

  1. Create a large file in a repo that is synced to github and commit it.
  2. Click Push origin
  3. 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:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
tnkillencommented, Mar 12, 2021

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++

0reactions
chilleniouscommented, May 4, 2021

@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/

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found