can't sync sources

Bug #1610650 reported by ganesh varma
46
This bug affects 8 people
Affects Status Importance Assigned to Milestone
phablet-tools (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Can't sync the sources using phablet-dev-bootstrap command it just stucks at initializing the manifest.git repo and shows 503 service unavailable error.

ganesh varma (ganeshi4u)
Changed in phablet-tools (Ubuntu):
assignee: nobody → Ubuntu Phone (ubuntu-phone)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in phablet-tools (Ubuntu):
status: New → Confirmed
Revision history for this message
autra (autra) wrote :

I have the same issue. It *might* be an issue with git, as I cannot clone "http://code-review.phablet.ubuntu.com/aosp/platform/manifest". I hangs at POST git-upload-pack. I'm attaching some logs in a few moments.

Revision history for this message
autra (autra) wrote :

Ok after executing

> GIT_TRACE=1 GIT_CURL_VERBOSE=1 GIT_TRACE_PACKET=1 git clone --verbose http://code-review.phablet.ubuntu.com/aosp/platform/manifest

I have this error:

> * The requested URL returned error: 503 Service Unavailable
> * Closing connection 1
> error: RPC failed; HTTP 503 curl 22 The requested URL returned error: 503 Service Unavailable
> fatal: The remote end hung up unexpectedly

Revision history for this message
autra (autra) wrote :

Here are the full log.

Dave Morley (davmor2)
Changed in phablet-tools (Ubuntu):
assignee: Ubuntu Phone (ubuntu-phone) → nobody
Revision history for this message
ganesh varma (ganeshi4u) wrote :

This sync errors occur randomly and when i have reported this to Alan Pope he contacted the system admins and the servers ran fine for a couple of days after they have been restarted,but now it came back again. For people who are experiencing 503 service unavailable error this could also be of a low buffer size in git(mostly experienced when syncing ndk repository). Whoever facing an issue while syncing repository of above 2gb or more(in this case the ndk repo) change your http.postbuffer to a higher value in git by running this command.

git config --global http.postBuffer 524288000 (you can also double this value to 1048576000)

Revision history for this message
autra (autra) wrote :

I have tested on 3 different computers, same problem.

Revision history for this message
autra (autra) wrote :

And setting http.postBuffer to 1048576000 didn't help unfortunately :-(

Revision history for this message
Stefano (stefano99) wrote :

Same problem here: I'm trying to download Ubuntu touch's source code, but have the same error.

Revision history for this message
autra (autra) wrote :

More info, after digging into the phablet-dev-bootstrap script, I confirm that the problem lies in the execution of

> repo --trace init -u https://code-review.phablet.ubuntu.com/p/aosp/platform/manifest.git -b phablet-4.4.2_r1

You'll find the logs attached.

Revision history for this message
John McAleely (john.mcaleely) wrote :

It seems the issue each time in this bug has been that the gerrit instance becoming unresponsive, and requiring a restart.

Please reach out on irc (#ubuntu-phone, freenode, I'm john-mcaleely there) if this re-occurs. If it becomes a regular problem, we can look into what's causing it.

Changed in phablet-tools (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
John McAleely (john.mcaleely) wrote :

The gerrit was restarted this afternoon (UK time)

Revision history for this message
Leo Arias (elopio) wrote :

It's happening for me today. I'm changing it back to confirmed.

Changed in phablet-tools (Ubuntu):
status: Fix Committed → Confirmed
Revision history for this message
james apple muncy (j-apple-muncy) wrote :

Same here. Bounce the severs, please, Oct 1.

Revision history for this message
John McAleely (john.mcaleely) wrote :

done

Revision history for this message
james apple muncy (j-apple-muncy) wrote :

That's better but I'm still seeing some failures trying to do repo sink. Clearly this does not scale well when just one failed download among 172 necessitates reiteration across all 172 again.

By the way, I'm working with the manifest.xml from ubports
https://github.com/ubports/android

Revision history for this message
james apple muncy (j-apple-muncy) wrote :

I recommend an email to:
<email address hidden>
asking for a restart.

> https://code-review.phablet.ubuntu.com/
> has become unresponsive.
> Please, restart. Thank you.

Took them less than 10 minutes : )

Revision history for this message
Pavel (houk-2) wrote :

all day getting the error

error: RPC failed; HTTP 503 curl 22 The requested URL returned error: 503 Service Unavailable
fatal: The remote end hung up unexpectedly

Revision history for this message
Pavel (houk-2) wrote :

more than a day ago wrote in <email address hidden>, the server is still down

Revision history for this message
james apple muncy (j-apple-muncy) wrote :

rt
at
ubuntu
dot
com

Is the address

Revision history for this message
John McAleely (john.mcaleely) wrote :

Just to confirm, when I'm not around on freenode, rt is the way to go - generally the correct request (see comment #16) will be resolved very quickly. It's actually all I do when I am pinged :-)

Revision history for this message
John McAleely (john.mcaleely) wrote :

In the long run, I assume we should discuss migrating this service onto launchpad's git hosting, or some other hosting service.

Revision history for this message
Paul Gear (paulgear) wrote :

This is an operational issue with gerrit, not a bug. Canonical IS are tracking the issue. Please use <email address hidden> to communicate any further instances of this problem.

Changed in phablet-tools (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Rishabh Rao (rishabhrao) wrote :

I am Also Facing this Error.
I have been trying to sync Ubuntu Touch Phablet Soures for a while now and everytime i am getting this error.

Please Fix it or Restart once please.

Revision history for this message
Satheeshkumar Balaraman (bsatheeshkumar) wrote :

I am also facing this error now at the time of writing this post. I have been trying to sync Ubuntu Touch Phablet source for last 3 days and the same issue again and again. Fetching projects: 55% (75/135) Fetching project asop/platform/system/media
error: RPC failed; HTTP 503 curl The requested URL returned error: 503 Service Unavailable
fatal: The remote end hung up unexpectedly.

and the similar errors continues for other repositories system/media, frameworks/av etc

Revision history for this message
Atul Sohan (atulsohan-1) wrote :

Fetching project aosp/platform/external/bzip2
error: RPC failed; HTTP 503 curl 22 The requested URL returned error: 503 Service Unavailable
fatal: The remote end hung up unexpectedly

trying to build repeating for the last 12 hrs

Revision history for this message
Snorp09 (snorp09) wrote :

I'm currently having this bug as well. I'm following the porting guide and have the error while using:
"phablet-dev-bootstrap phablet"

I've been having this bug on both, my laptop and my desktop PC.

Revision history for this message
MikaB (mikab-deactivatedaccount) wrote :

I'm also facing this error. I'm also getting the message like the other people:
error: RPC failed; HTTP 503 curl 22 The requested URL returned error: 503 Service Unavailable
fatal: The remote end hung up unexpectedly

I was also following the steps in the porting guide and also wanted to create a local backup of the sources.
The problem persists on all my devices.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.