hejq0310 / git-repo

Automatically exported from code.google.com/p/git-repo
Apache License 2.0
0 stars 0 forks source link

Empty Reply Issue When Excuting “repo init” #188

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Affected Version:
from https://storage.googleapis.com/git-repo-downloads/repo
Environment:
CentOS 6.3 64bit 
git version 1.9.0 
curl version 7.19.7
What steps will reproduce the problem?
1.repo init -u https://android.googlesource.com/platform/manifest

What do you see instead?
error: RPC failed; result=52, HTTP code = 0 
fatal: The remote end hung up unexpectedly

Please provide any additional information below.
Adding GIT_CURL_VERBOSE behind, I got these at the end:

>POST /git-repo/git-upload-pack HTTP/1.1
User-Agent: git/1.9.0
Host: gerrit.googlesource.com
Accept-Encoding: gzip
Content-Type: application/x-git-upload-pack-result
Accept: application/x-git-upload-pack-request
Content-Encoding: gzip
Content-Length: 3072
* Empty reply from server
* Connection #0 to host gerrit.googlesource.com left intact

Actually,I can open gerrit website in my web browser. And I have tried to 
change the http.postBuffer, http.lowSpeedLimit, http.lowSpeedTime of git to 
rational value. Unfortunately, they were not working.

I have also tried using "git clone https://gerrit.googlesource.com/git-repo", 
same as before.

Original issue reported on code.google.com by pkuseanj...@gmail.com on 2 Dec 2014 at 1:08