“411需要长度”从Eclipse推送到Github时出现异常 [英] "411 Length Required" Exception when pushing to Github from Eclipse
问题描述
我正在Eclipse的一个Android应用程序上进行一个学校项目,并试图推送到Github。它工作正常一段时间,然后突然开始告诉我内部异常发生在推送期间:http://github.com/[my用户名] / [repo name] .git:411需要长度
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"
我没有更改任何我在Eclipse或Git中的设置,所以我不知道为什么它的一个推动而不是下一个。当Google告诉我411长度必需异常通常是与HTTP相关的问题时,我更加困惑。
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.
如果有帮助,我已经重新检查了Eclipse中的设置几次,它在http协议上运行,安全存储总是被禁用,而Dry-Runs总是似乎工作正常。
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
推荐答案
Eclipse>首选项>团队> Git>配置>添加条目
Eclipse>Preferences>Team>Git>Configuration>Add Entry
输入 http.postBuffer
作为关键字, 524288000
作为价值(如果500M就够了)
Enter http.postBuffer
as key and 524288000
as value (if 500M is enough)
对我来说是个窍门。
这篇关于“411需要长度”从Eclipse推送到Github时出现异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!