Fetching Error indicated when performing repo sync command

1459 views
Skip to first unread message

kk

unread,
Jun 10, 2009, 2:53:06 AM6/10/09
to Repo and Gerrit Discussion
Hi All,


I am having intermittent errors, as shown below, when initiation a
repo sync.

I have looked at previous discussions regarding removal of .repo
directory [rm -rf .repo] and perform a reinitialization [repo init -u
git://android.git.kernel.org/platform/manifest.git], then a sync
[repo sync], however the issue remains unresolved.

I performed a successful sync about 5 days ago without issue.

Is this issue related to repository server issue or network access
issue?

Can you provide some assistance on how I can troubleshoot this issue
further?


Environment: Ubuntu 9.04
Current Open Source Release



Fetching projects: 9% (11/113)
Initializing project platform/external/bison ...
fatal: read error (Connection reset by peer)
error: Cannot fetch platform/external/bison
motodevjp@motodevjp-laptop:~/mydroid$ repo sync
Fetching projects: 2% (3/113) fatal: The remote end hung up
unexpectedly
error: Cannot fetch platform/bootable/bootloader/legacy
motodevjp@motodevjp-laptop:~/mydroid$ repo sync
fatal: The remote end hung up unexpectedly
error: Cannot fetch manifests


Regards,

KK

deg

unread,
Jun 10, 2009, 9:02:01 AM6/10/09
to Repo and Gerrit Discussion
I've also been having the same problem, intermittently for at least
the past 18 hours.

I've tried from two machines, at two locations (both in Israel),
across three different ISP connections.


deg@deg-ub804:~/mydroid-master$ repo --trace sync
: unpickle /home/deg/.gitconfig
: unpickle /home/deg/mydroid-master/.repo/repo/.git/config
: unpickle /home/deg/mydroid-master/.repo/manifests.git/config
: export GIT_DIR=/home/deg/mydroid-master/.repo/repo/.git
: git fetch origin
fatal: The remote end hung up unexpectedly
error: Cannot fetch repo

deg@deg-ub804:~/mydroid-master$ traceroute android.git.kernel.org
traceroute to android.git.kernel.org (199.6.1.176), 30 hops max,
40 byte packets
1 gateway.hairis.degel.com (192.168.0.1) 1.057 ms 0.981 ms
0.880 ms
2 lo1.lns27.hfa.nv.net.il (212.143.209.27) 17.531 ms 24.274
ms 34.249 ms
3 vl201.coresw1.hfa.nv.net.il (212.143.198.254) 41.429 ms
43.444 ms 49.812 ms
4 teng2-1-0.gw2.hfa.nv.net.il (212.143.8.196) 56.770 ms 63.960
ms 73.659 ms
5 pos0-1-1.brdr2.lnd.nv.net.il (212.143.12.57) 145.860 ms
157.251 ms 163.480 ms
6 linx-801.xe-0-0-0.jun1.galilei.network.bit.nl (195.66.227.51)
174.675 ms 141.529 ms 146.984 ms
7 213.154.236.76 (213.154.236.76) 154.773 ms 105.943 ms
114.761 ms
8 android3.git.kernel.org (199.6.1.176) 120.725 ms 126.080 ms
102.507 ms

David

Johan de Koning

unread,
Jun 10, 2009, 9:09:24 AM6/10/09
to Repo and Gerrit Discussion
Looks to me that the git server cannot be reached. I have troubles
opening the GitWeb with the browser
> > KK- Tekst uit oorspronkelijk bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -

alex

unread,
Jun 10, 2009, 3:53:22 PM6/10/09
to Repo and Gerrit Discussion
Same here
--
~/android/android-src $ ~/bin/repo sync
Fetching projects: 3% (4/114) fatal: The remote end hung up
unexpectedly
error: Cannot fetch platform/bootable/diskinstaller
--

lite huang

unread,
Jun 11, 2009, 1:02:29 AM6/11/09
to Repo and Gerrit Discussion
I think the repo obtained from kernel.org was broken.
To fix the problem,
Add the following line to ~/.repo/repo/git_config.py at line#416
Return False

Note that the line must be indented by 2 space chars.
The original code would cause "repo sync" doing GIT FETCH via SSH
connection.
And, there might be something wrong with SSH connection.

-rwxr-xr-x 1 lasehu lasehu 16996 2009-06-10 19:39 repo
VERSION = (1, 8)



BR,
lasehu

Shawn Pearce

unread,
Jun 12, 2009, 12:11:53 PM6/12/09
to repo-d...@googlegroups.com
2009/6/10 lite huang <lite...@gmail.com>


I think the repo obtained from kernel.org was broken.
To fix the problem,
Add the following line to ~/.repo/repo/git_config.py at line#416
 Return False

Thanks.  I'm rolling repo 1.6.8.2 to fix this.  Its change https://review.source.android.com/10353
Reply all
Reply to author
Forward
0 new messages