Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gitblit push error "error: RPC failed; result=52, HTTP code = 0"

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!

like image 777
T1000 Avatar asked Dec 15 '12 05:12

T1000


1 Answers

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

like image 130
luffy Avatar answered Sep 23 '22 13:09

luffy