timeout error while trying to do repo sync

2,075 views
Skip to first unread message

liorw

unread,
Apr 27, 2010, 3:51:56 AM4/27/10
to Repo and Gerrit Discussion
Hello
This is my first time I've been trying to compile the code
I intend to build version for the Samsung Galaxy I7500
I followed all the instructions here:
http://source.android.com/download
and here:
http://code.google.com/p/gaosp/wiki/Building

When I try to do : repo sync
I get timeout error -
I tried several times, didnt help...
People told me it might be port blocking
I did all I know to disable port blocking(disconnected WIFI router ,
etc..) bit it does not help

Today it started to download but very very slllooow (2 Kib/sec)

Dows anyone know why it is so slow / why do I get connection timeout?

Thank you

--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

Shawn Pearce

unread,
Apr 27, 2010, 10:26:12 AM4/27/10
to liorw, Repo and Gerrit Discussion
On Tue, Apr 27, 2010 at 00:51, liorw <liorw...@gmail.com> wrote:
> When I try to do : repo sync
> I get timeout error -
> I tried several times, didnt help...
> People told me it might be port blocking
> I did all I know to disable port blocking(disconnected WIFI router ,
> etc..) bit it does not help
>
> Today it started to download but very very slllooow (2 Kib/sec)
>
> Dows anyone know why it is so slow / why do I get connection timeout?

Where are you located? The android.git.kernel.org server farm has
servers in a few different locations. But non in Asia/Australia. So
connections from that part of the world need to connect to another
site, typically the western coast of the US, but maybe also Europe.
It may simply just be network congestion between you and the servers.

Jerry Smith

unread,
Apr 27, 2010, 6:30:46 PM4/27/10
to Repo and Gerrit Discussion
I am also getting errors while doing repo sync in the form of:

#./repo sync

Fetching projects: 82% (130/158) fatal: read error (Connection reset
by peer)
error: Cannot fetch platform/packages/providers/CalendarProvider

On Apr 27, 7:26 am, Shawn Pearce <s...@google.com> wrote:

Shawn Pearce

unread,
Apr 27, 2010, 6:42:20 PM4/27/10
to Jerry Smith, Repo and Gerrit Discussion
On Tue, Apr 27, 2010 at 15:30, Jerry Smith <jerr...@gmail.com> wrote:
> I am also getting errors while doing repo sync in the form of:
>
> #./repo sync
>
> Fetching projects:  82% (130/158)  fatal: read error (Connection reset
> by peer)
> error: Cannot fetch platform/packages/providers/CalendarProvider

Try again? Its possible your ISP temporarily disconnected you, or
there was simply too much load on the remote server and it killed your
server process to free up resources.

J.H.

unread,
Apr 27, 2010, 7:03:48 PM4/27/10
to Repo and Gerrit Discussion, wart...@kernel.org
On Apr 27, 3:42 pm, Shawn Pearce <s...@google.com> wrote:
> On Tue, Apr 27, 2010 at 15:30, Jerry Smith <jerryj...@gmail.com> wrote:
> > I am also getting errors while doing repo sync in the form of:
>
> > #./repo sync
>
> > Fetching projects:  82% (130/158)  fatal: read error (Connection reset
> > by peer)
> > error: Cannot fetch platform/packages/providers/CalendarProvider
>
> Try again?  Its possible your ISP temporarily disconnected you, or
> there was simply too much load on the remote server and it killed your
> server process to free up resources.

Things that would be of immense help in actually understanding your
problem (so far all you've really claimed is that "it's broken" which
isn't really helpful)

- What OS are you on?
- Where are you located on the planet (country delineation is fine)?

From a command line run the following and paste the *WHOLE* results

traceroute android1.git.kernel.org
traceroute android2.git.kernel.org
traceroute android3.git.kernel.org
traceroute android4.git.kernel.org
nslookup android.git.kernel.org
dig android.git.kernel.org
nmap -p 9415-9420 android.git.kernel.org

I'm not seeing or hearing much else in the way of reported problems,
and I know the servers aren't overloaded or having other problems but
it's hard to backtrack anything without proper information.

Also if you reply to this make sure that wart...@kernel.org stays in
the CC (reply-all is usually your friend)

- John 'Warthog9' Hawley

Jerry Smith

unread,
Apr 27, 2010, 7:25:38 PM4/27/10
to Repo and Gerrit Discussion
This is happening at two physically different locations in Los
Angeles, California. Both are running Ubuntu 9.10.

traceroute is normal to all 4 subdomains without any hiccups

$ nslookup android.git.kernel.org
Server: 10.10.1.204
Address: 10.10.1.204#53

Non-authoritative answer:
android.git.kernel.org canonical name = android.git.geo.kernel.org.
android.git.geo.kernel.org canonical name = android.git.us.kernel.org.
Name: android.git.us.kernel.org
Address: 149.20.20.141
Name: android.git.us.kernel.org
Address: 204.152.191.45

$ dig android.git.kernel.org

; <<>> DiG 9.6.1-P1 <<>> android.git.kernel.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10040
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;android.git.kernel.org. IN A

;; ANSWER SECTION:
android.git.kernel.org. 504 IN CNAME android.git.geo.kernel.org.
android.git.geo.kernel.org. 504 IN CNAME android.git.us.kernel.org.
android.git.us.kernel.org. 504 IN A 204.152.191.45
android.git.us.kernel.org. 504 IN A 149.20.20.141

;; Query time: 33 msec
;; SERVER: 10.10.1.204#53(10.10.1.204)
;; WHEN: Wed Apr 28 01:24:31 2010
;; MSG SIZE rcvd: 131

$ nmap -p 9415-9420 android.git.kernel.org

Starting Nmap 5.00 ( http://nmap.org ) at 2010-04-28 01:25 CEST
Warning: Hostname android.git.kernel.org resolves to 2 IPs. Using
204.152.191.45.
Interesting ports on android2.git.kernel.org (204.152.191.45):
PORT STATE SERVICE
9415/tcp closed unknown
9416/tcp closed unknown
9417/tcp closed unknown
9418/tcp open unknown
9419/tcp closed unknown
9420/tcp closed unknown

Nmap done: 1 IP address (1 host up) scanned in 0.10 seconds
> Also if you reply to this make sure that warth...@kernel.org stays in

J.H.

unread,
Apr 27, 2010, 7:35:21 PM4/27/10
to Repo and Gerrit Discussion
> traceroute is normal to all 4 subdomains without any hiccups

It's actually *WAY* more useful to know what the traceroutes had vs.
'without any hiccups', it gives me an idea of what's going on with
respect to the network between your servers and mine, as well as
giving me IP information that I can actually lookup in our logs

Beyond that can you run the following command:

git clone git://android.git.kernel.org/platform/packages/providers/CalendarProvider.git

you should get output like the following:

Initialized empty Git repository in /tmp/CalendarProvider/.git/
remote: Counting objects: 1617, done.
remote: Compressing objects: 100% (341/341), done.
remote: Total 1617 (delta 669), reused 1611 (delta 665)
Receiving objects: 100% (1617/1617), 444.02 KiB, done.
Resolving deltas: 100% (669/669), done.

Also can you paste back:

git --version

as well?

Jerry Smith

unread,
Apr 27, 2010, 8:05:37 PM4/27/10
to Repo and Gerrit Discussion
Hi John,

I've e-mailed you the full traceroute as well as the failed results
from git clone and my git version info. Please let me know if there's
anything else I need to try.

Rajendrakumar

unread,
Apr 29, 2010, 6:14:12 AM4/29/10
to Repo and Gerrit Discussion
Hi All,

I am also facing the same issues with my repo sync.

I am located in India and I am using ubuntu 9.10 as my OS.


When I try to do repo sync, its sync with 2-5/kbs speed all the time.
sometimes it goes upto 10-15/kbs.

Can some one give me suggestions on how to make things work.

Thanks
Rajendrakumar
> More info athttp://groups.google.com/group/repo-discuss?hl=en- Hide quoted text -
>
> - Show quoted text -

Rajendrakumar

unread,
May 1, 2010, 7:32:07 AM5/1/10
to Repo and Gerrit Discussion
Hi,

I got it working.. now its working fine...

Thanks
Rajendrakumar
> > More info athttp://groups.google.com/group/repo-discuss?hl=en-Hide quoted text -
>
> > - Show quoted text -
>
> --
> To unsubscribe, email repo-discuss...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages