login about faq

When I'm trying to fetch the source for the Staging Origen nightly build it always fails on one package when doing repo sync.

It's usually package 124/243 but it can differ between the tries. But always in the range of package 118-127.

The two of the most common errors I get is:

Fetching projects:  52% (127/243)  fatal: Unable to look up android.git.linaro.org (port 9418) (Name or service not known)
fatal: Unable to look up android.git.linaro.org (port 9418) (Name or service not known)

and

 Fetching projects:  51% (124/243)  android.git.linaro.org[0: 91.189.95.33]: errno=Connection timed out
 fatal: unable to connect a socket (Connection timed out)
 android.git.linaro.org[0: 91.189.95.33]: errno=Connection timed out
 fatal: unable to connect a socket (Connection timed out)

Usually I only get one of those errors and the next time I try the other error may occur instead. I have tried several times to do a repo sync and it's always at least one error that occur.

The command I use are:

repo init -u git://android.git.linaro.org/platform/manifest.git -b linaro_android_4.0.3 -m staging-origen.xml
repo sync

asked 15 Feb, 07:19

christoffer's gravatar image

christoffer
2338
accept rate: 0%

edited 04 Apr, 05:36

Michael%20Opdenacker's gravatar image

Michael Opde... ♦♦
440139

1

Hi,

I must confirm that I'm facing the same problem:

$ repo init -u git://git.linaro.org/platform/manifest.git -b linaro_android_4.0.3 -m landing-panda.xml

--> fatal: The remote end hung up unexpectedly.

Thank You.

Regards, Ashwini Singh

(15 Feb, 08:18) Ashwini Singh

I filed a sysadmin support ticket about this: https://rt.linaro.org//Ticket/Display.html?id=312 (for those in Linaro who can access the system).

I will keep you posted when I get more news.

Michael.

link

answered 15 Feb, 09:29

Michael%20Opdenacker's gravatar image

Michael Opde... ♦♦
440139
accept rate: 5%

Hi,

I can reproduce this too:

repo init -u git://git.linaro.org/platform/manifest.git -b linaro_android_4.0.3 -m landing-panda.xml
...
Get git://git.linaro.org/platform/manifest.git
fatal: The remote end hung up unexpectedly

I will report it to Linaro sysadmins.

Thanks for reporting this!

Michael.

link

answered 15 Feb, 09:15

Michael%20Opdenacker's gravatar image

Michael Opde... ♦♦
440139
accept rate: 5%

This error:

fatal: Unable to look up android.git.linaro.org (port 9418) (Name or service not known)

Gives a clue that the problem is on your (or ISP's) side. Essentially, your host couldn't reach your ISP's DNS to resolve the domain name (or your ISP's DNS couldn't contact its upstream).

The suggestion is just keep trying - repo sunc is incremental, so with repeating attempts you would fetch everything in the end. If you find it being stuck on specific repository (there're truely enormous repositories with binaries inside in AOSP which we inherit), then suggestion is to try another Internet connection.

Please note the replies from other folks are a bit flawed - they run their commands against git.linaro.org which is not correct, it should be android.git.linaro.org .

link

answered 15 Feb, 10:00

pfalcon's gravatar image

pfalcon
1
accept rate: 0%

One more suggestion: you can try to use http:// protocol instead of git://

(15 Feb, 10:04) pfalcon

Hi pfalcon,

Thank you for pointing it out. But, even when I tried it against - android.git.linaro.org, I was getting same 'fatal' error.

Thank You.

(17 Feb, 03:26) Ashwini Singh

There seem to be two problems here -- the DNS problem, and hangups from the server. For those of you seeing "name or service unknown" errors, it would be super helpful if you could run this command straight afterwards (I've left my output in there so you can see what to expect)...

$ dig android.git.linaro.org

; <<>> DiG 9.7.3 <<>> android.git.linaro.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44491
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3

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

;; ANSWER SECTION:
android.git.linaro.org. 525     IN      A       91.189.95.33

;; AUTHORITY SECTION:
linaro.org.             1376    IN      NS      ns3.canonical.com.
linaro.org.             1376    IN      NS      ns2.canonical.com.
linaro.org.             1376    IN      NS      ns1.canonical.com.

;; ADDITIONAL SECTION:
ns1.canonical.com.      12818   IN      A       91.189.94.173
ns2.canonical.com.      120209  IN      A       91.189.94.219
ns3.canonical.com.      120209  IN      A       209.6.3.210

;; Query time: 1 msec
;; SERVER: 192.168.1.14#53(192.168.1.14)
;; WHEN: Thu Feb 16 11:49:00 2012
;; MSG SIZE  rcvd: 171

For those of you seeing the "fatal: The remote end hung up unexpectedly." it would be helpful to know the time that this happened from. If you're willing the IP address you're using would also help identify the event in the logs. You can find out what IP we'd see by going to http://www.whatismyip.com.

Thanks heaps, Mikal

Canonical System Admin

link

answered 15 Feb, 19:54

Michael%20Still's gravatar image

Michael Still
1
accept rate: 0%

Hi. Here is the output from dig.

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

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

;; ANSWER SECTION: android.git.linaro.org. 294 IN A 91.189.95.33

;; Query time: 2 msec ;; SERVER: 193.15.96.74#53(193.15.96.74) ;; WHEN: Thu Feb 16 09:00:50 2012 ;; MSG SIZE rcvd: 56

(16 Feb, 03:06) christoffer

Hi Michael,

Thank You for your response. I'm getting this 'fatal: The remote end hung up unexpectedly.' problem from last two days.

(16 Feb, 03:41) Ashwini Singh

christoffer -- that response seems correct to me. Are you getting the "Unable to look up android.git.linaro.org" error?

Ashwini -- if you're willing to, could you email your IP address to us at rt@linaro.org? That will help us track this down in the logs. You can get your externally visible IP at http://www.whatismyip.com.

Thanks, Mikal

(16 Feb, 04:50) Michael Still

Thanks for the help Michael. But I'm still getting Fetching projects: 51% (125/244) fatal: Unable to look up android.git.linaro.org (port 9418) (Name or service not known) I been able to repo sync before, but not completely without troubles. But after a few tries it always worked. But now I been trying several times and not succeeded.

(20 Feb, 03:33) christoffer
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×28
×13
×8
×3

Asked: 15 Feb, 07:19

Seen: 282 times

Last updated: 04 Apr, 05:36