Gitlab error “fatal: The remote end hung up unexpectedly”

Gitlab error “fatal: The remote end hung up unexpectedly”

Tags :

Category : How-to

Get Social!

gitlabI have been using Gitlab for a while now to run a local Git server for storing code and documentation of the projects I work on. Gitlab is the open source version of Github which you can run on your own environments .

After upgrading to version 6.3 I received an error when checking in larger projects to the Gitlab server.

The below shows the git push command and the error which occurred.

The solution is the run the below command on the client to increase the postBuffer size before trying to re-run the git push. Use the below command to set the postBuffer size to 100MB.

Then retry the git push and all should be working.


Related posts:


8 Comments

Jay Chen

11-Jan-2014 at 12:55 am

I get this error when cloning, not pushing. Is there a solution for this?

    Kevin

    5-May-2014 at 3:06 am

    git config –global http.postBuffer 104857600

james.coyle

11-Jan-2014 at 7:18 pm

Hi Jay,

Can you do ‘git init’, ‘git remote add origin http://git-url‘ and finally ‘git pull origin master’ instead?

Daniel

21-Apr-2014 at 9:02 pm

Thanks for the tip – worked perfectly.

Zaheer

5-Aug-2014 at 6:11 am

Check if the url was moved /renamed

sebabeva

17-Oct-2014 at 11:39 pm

thanks dude!

lytsing

8-Nov-2014 at 9:30 am

you save me, thanks man!

Romina

12-Aug-2016 at 4:35 pm

Gracias!
Funciona, pero hay alguna forma de que quede permanente?

It works, but there is some way to make it permanent?

Leave a Reply

Visit our advertisers

Search

Quick Poll

Which type of virtualisation do you use?
  • Add your answer

Visit our advertisers