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:


Jay Chen

11-Jan-2014 at 12:55 am

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


    5-May-2014 at 3:06 am

    git config –global http.postBuffer 104857600


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?


21-Apr-2014 at 9:02 pm

Thanks for the tip – worked perfectly.


5-Aug-2014 at 6:11 am

Check if the url was moved /renamed


17-Oct-2014 at 11:39 pm

thanks dude!


8-Nov-2014 at 9:30 am

you save me, thanks man!


12-Aug-2016 at 4:35 pm

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


Quick Poll

Are you using

Visit our advertisers