jmollan / git-repo

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

repo sync failure #75

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Environment: Ubuntu 10.04 64-bit on HP z200 workstation
Affected Version: r58664 of depot tools repository:
  URL: http://src.chromium.org/svn/trunk/tools/depot_tools
  Repository Root: http://src.chromium.org/svn
  Repository UUID: 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
  Revision: 58664

Spteps to reproduce: Start repo sync for ChromiumOS sources (as per WiKi)
Expected result: synched and built repository.
Actual result: in the middle synchronization fails with "error: RPC failed; 
result=56, HTTP code = 200" message.

It seems that problem happens due to server-side network errors, see attached 
capture for details.

When using only git with 'git://' protocol everything works perfectly.

Original issue reported on code.google.com by jocula...@gmail.com on 7 Sep 2010 at 8:06

Attachments:

GoogleCodeExporter commented 9 years ago
I get the same error. I have git version 1.7.0.4

Original comment by ratliff....@gmail.com on 13 Aug 2011 at 9:26

GoogleCodeExporter commented 9 years ago
I also see the same error on Ubuntu 10.04 64-bit w/ git version 1.7.0.4. do we 
have a solution for it?

Original comment by chienf...@gmail.com on 7 Sep 2011 at 3:20

GoogleCodeExporter commented 9 years ago
Same here. Using git version 1.7.7.rc0.75.g56f27. Same problem with 
git version 1.7.3.

It's not only with "fetch", clone fails also:

$ GIT_TRACE=2 git fetch googlecode
trace: built-in: git 'fetch' 'googlecode'
trace: run_command: 'git-remote-https' 'googlecode' 
'https://code.google.com/p/git-core/'
trace: run_command: 'rev-list' '--quiet' '--objects' '--stdin' '--not' '--all'
trace: run_command: 'fetch-pack' '--stateless-rpc' '--lock-pack' 
'--include-tag' '--thin' 'https://code.google.com/p/git-core/' 
'refs/heads/maint' 'refs/heads/pu' 'refs/heads/todo'
trace: exec: 'git' 'fetch-pack' '--stateless-rpc' '--lock-pack' '--include-tag' 
'--thin' 'https://code.google.com/p/git-core/' 'refs/heads/maint' 
'refs/heads/pu' 'refs/heads/todo'
trace: built-in: git 'fetch-pack' '--stateless-rpc' '--lock-pack' 
'--include-tag' '--thin' 'https://code.google.com/p/git-core/' 
'refs/heads/maint' 'refs/heads/pu' 'refs/heads/todo'
remote: Counting objects: 1871, done.
remote: Finding sources: 100% (1871/1871), done.
remote: Total 1871 (delta 156)
trace: run_command: 'index-pack' '--stdin' '-v' '--fix-thin' '--keep=fetch-pack 
12804 on bauges' '--pack_header=2,1871'
trace: exec: 'git' 'index-pack' '--stdin' '-v' '--fix-thin' '--keep=fetch-pack 
12804 on bauges' '--pack_header=2,1871'
trace: built-in: git 'index-pack' '--stdin' '-v' '--fix-thin' 
'--keep=fetch-pack 12804 on bauges' '--pack_header=2,1871'
remote: Error: internal server error
error: RPC failed; result=56, HTTP code = 200 | 16 KiB/s   
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
warning: https unexpectedly said: '0000'

$ GIT_TRACE=2 git clone https://code.google.com/p/git-core/ git-googlecode
trace: built-in: git 'clone' 'https://code.google.com/p/git-core/' 
'git-googlecode'
Cloning into git-googlecode...
trace: run_command: 'git-remote-https' 'origin' 
'https://code.google.com/p/git-core/'
trace: run_command: 'fetch-pack' '--stateless-rpc' '--lock-pack' '--thin' 
'https://code.google.com/p/git-core/' 'HEAD' 'refs/heads/html' 
'refs/heads/maint' 'refs/heads/man' 'refs/heads/master' 'refs/heads/next' 
'refs/heads/pu' 'refs/head
s/todo' 'refs/tags/junio-gpg-pub' 'refs/tags/v1.7.6.1' 'refs/tags/v1.7.6.2' 
'refs/tags/v1.7.6.3' 'refs/tags/v1.7.6.4' 'refs/tags/v1.7.7' 
'refs/tags/v1.7.7-rc0' 'refs/tags/v1.7.7-rc1' 'refs/tags/v1.7.7-rc2' 
'refs/tags/v1.7.7-rc3'        
trace: exec: 'git' 'fetch-pack' '--stateless-rpc' '--lock-pack' '--thin' 
'https://code.google.com/p/git-core/' 'HEAD' 'refs/heads/html' 
'refs/heads/maint' 'refs/heads/man' 'refs/heads/master' 'refs/heads/next' 
'refs/heads/pu' 'refs/heads
/todo' 'refs/tags/junio-gpg-pub' 'refs/tags/v1.7.6.1' 'refs/tags/v1.7.6.2' 
'refs/tags/v1.7.6.3' 'refs/tags/v1.7.6.4' 'refs/tags/v1.7.7' 
'refs/tags/v1.7.7-rc0' 'refs/tags/v1.7.7-rc1' 'refs/tags/v1.7.7-rc2' 
'refs/tags/v1.7.7-rc3'         
trace: built-in: git 'fetch-pack' '--stateless-rpc' '--lock-pack' '--thin' 
'https://code.google.com/p/git-core/' 'HEAD' 'refs/heads/html' 
'refs/heads/maint' 'refs/heads/man' 'refs/heads/master' 'refs/heads/next' 
'refs/heads/pu' 'refs/hea
ds/todo' 'refs/tags/junio-gpg-pub' 'refs/tags/v1.7.6.1' 'refs/tags/v1.7.6.2' 
'refs/tags/v1.7.6.3' 'refs/tags/v1.7.6.4' 'refs/tags/v1.7.7' 
'refs/tags/v1.7.7-rc0' 'refs/tags/v1.7.7-rc1' 'refs/tags/v1.7.7-rc2' 
'refs/tags/v1.7.7-rc3'       
remote: Counting objects: 148197, done.
remote: Finding sources: 100% (148197/148197), done.
remote: Total 148197 (delta 109229)
trace: run_command: 'index-pack' '--stdin' '-v' '--fix-thin' '--keep=fetch-pack 
12868 on bauges' '--pack_header=2,148197'
trace: exec: 'git' 'index-pack' '--stdin' '-v' '--fix-thin' '--keep=fetch-pack 
12868 on bauges' '--pack_header=2,148197'
trace: built-in: git 'index-pack' '--stdin' '-v' '--fix-thin' 
'--keep=fetch-pack 12868 on bauges' '--pack_header=2,148197'
Receiving objects:   0% (1/148197)   

remote: Error: internal server error
error: RPC failed; result=56, HTTP code = 200MiB | 858 KiB/s   
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
warning: https unexpectedly said: '0000'

Original comment by moy.bac...@gmail.com on 5 Oct 2011 at 8:22

GoogleCodeExporter commented 9 years ago
Close this; it's not repo's fault, it's an issue in git and was fixed by sop 
already 
http://git.661346.n2.nabble.com/PATCH-remote-curl-Fix-warning-after-HTTP-failure
-td6860452.html

It's primarily triggerable by semi-flakey networking...

Original comment by ferri...@google.com on 5 Jan 2012 at 12:19

GoogleCodeExporter commented 9 years ago
I am facing this issue and unable to sync my repo.
link provided is also unable to resolve this.

Please help out.

Original comment by akyg...@gmail.com on 25 Jan 2015 at 3:36

GoogleCodeExporter commented 9 years ago
Hello,

I am facing the same issue while syncing repo for Cyanogenmod.
I tried changing my WiFi connection to an Ethernet connection.

Tried using -f 

Tried toggling between -j2 to -j1

I got this error while synchronizing /platform/prebuilts/sdk 
I tried to pull the zip directory from GIT website but no such directory exists.

So I am stuck with failing repo sync...

Any help is highly appreciated.

Thanks

Original comment by vishal.r...@gmail.com on 6 Apr 2015 at 2:53