Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"411 Length Required" Exception when pushing to Github from Eclipse

Tags:

github

eclipse

I am working on an Android app in Eclipse for a school project and trying to push to Github. It was working fine for a while, then suddenly it started telling me " An internal Exception occurred during push: http://github.com/[my user name]/[repo name].git: 411 Length Required"

I didn't change any of my settings in Eclipse or Git, so I'm not sure why it worked for one push but not the next. I was even more confused when Google told me that the '411 Length Required' exception was usually an HTTP-related problem.

If it helps, I've double checked my settings in Eclipse several times, it's running on an http protocol, secure store is always disabled, and Dry-Runs always seem to work fine.

Any help would be appreciated.

Steve

like image 799
Steve Eckert Avatar asked Mar 25 '13 01:03

Steve Eckert


1 Answers

Eclipse>Preferences>Team>Git>Configuration>Add Entry

Enter http.postBuffer as key and 524288000 as value (if 500M is enough)

Did the trick for me.

like image 75
jerome Avatar answered Oct 31 '22 15:10

jerome