Gitblit推送错误“错误:RPC失败;结果= 52,HTTP代码= 0“ [英] Gitblit push error "error: RPC failed; result=52, HTTP code = 0"

查看:1084
本文介绍了Gitblit推送错误“错误:RPC失败;结果= 52,HTTP代码= 0“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在Gitblit的web界面中,我创建了一个名为empty的空存储库,并将其克隆到本地存储通过以下命令:

  git克隆https:// localhost:8443 / git / test / empty.git 

我添加了一个文件并提交更改并添加了一个远程

  git remote add gitblit https:// localhost:8443 / git / test / empty.git 

然后我尝试推送:

  git push -v gitblit master 

并且错误显示:

 推送到https:// localhost:8443 / git / test / empty.git 
计数对象:3,完成。
写入对象:100%(3/3),215字节,完成。
总共3(delta 0),重用0(delta 0)
POST git-receive-pack(351字节)
错误:RPC失败;结果= 52,HTTP代码= 0
致命:远程端意外挂起
致命:远程端意外挂断
所有最新的

我尝试了ssl和缓冲区设置,但没有任何帮助。

  git config http.postBuffer 524288000 
git config http.sslVerify false
git config --global http.postBuffer 524288000
config --global --bool - 添加http.sslVerify false

绑定的我的Gitblit设置全部设置为空以接受绑定到所有接口:

  server.httpBindInterface = 
server.httpsBindInterface =
server.ajpBindInterface =

任何帮助将不胜感激!

解决方案

我只是解决了我的问题,将git版本更新到最新的版本(2.1.2)。


Setup gitlbit on my Mac OS X 10.8, but keeps failing to push!

In the Gitblit web interface, I created an empty repository called empty and cloned it to local storage by the following command:

git clone https://localhost:8443/git/test/empty.git

I added a file and commit the change and added a remote

git remote add gitblit https://localhost:8443/git/test/empty.git

then I try to push with:

git push -v gitblit master

and the error shows:

Pushing to https://localhost:8443/git/test/empty.git
Counting objects: 3, done.
Writing objects: 100% (3/3), 215 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
POST git-receive-pack (351 bytes)
error: RPC failed; result=52, HTTP code = 0
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

I tried the ssl and the buffer settings, but no help.

git config http.postBuffer 524288000
git config http.sslVerify false 
git config --global http.postBuffer 524288000
config --global --bool --add http.sslVerify false

My Gitblit settings of bindings are all set to blank to accept binding to all interfaces:

server.httpBindInterface = 
server.httpsBindInterface = 
server.ajpBindInterface = 

Any help would be appreciated!

解决方案

I just fixed my problem with update the git version to the newest(2.1.2)

这篇关于Gitblit推送错误“错误:RPC失败;结果= 52,HTTP代码= 0“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆