HTTP Error 503: Service Unavailable - in repo upload

1,102 views
Skip to first unread message

Golan Davidovits

unread,
Feb 3, 2013, 8:56:14 AM2/3/13
to repo-d...@googlegroups.com
Hi.

I'm hitting this error: "HTTP Error 503: Service Unavailable"  while trying to do `repo upload` to some repositories.
Alternatively, When I'm doing `git push` to review for some repositories it works just fine.

I would appreciate any lead in finding the issue.

Thanks,
Golan

Golan Davidovits

unread,
Feb 3, 2013, 9:02:15 AM2/3/13
to repo-d...@googlegroups.com

On Sunday, February 3, 2013 3:56:14 PM UTC+2, Golan Davidovits wrote:
Hi.

I'm hitting this error: "HTTP Error 503: Service Unavailable"  while trying to do `repo upload` to some repositories.
Alternatively, When I'm doing `git push` to review for *same* repositories it works just fine.
Also, important to mention that this behavior is not consistent for all users.

Shawn Pearce

unread,
Feb 3, 2013, 6:11:54 PM2/3/13
to Golan Davidovits, repo-discuss
On Sun, Feb 3, 2013 at 5:56 AM, Golan Davidovits <gol...@gmail.com> wrote:
> I'm hitting this error: "HTTP Error 503: Service Unavailable" while trying
> to do `repo upload` to some repositories.
> Alternatively, When I'm doing `git push` to review for some repositories it
> works just fine.

Where are you uploading to? Your own server?

Magnus Bäck

unread,
Feb 3, 2013, 6:15:29 PM2/3/13
to repo-d...@googlegroups.com
On Sunday, February 03, 2013 at 08:56 EST,
Golan Davidovits <gol...@gmail.com> wrote:

> I'm hitting this error: "HTTP Error 503: Service Unavailable"
> while trying to do `repo upload` to some repositories.
> Alternatively, When I'm doing `git push` to review for some
> repositories it works just fine.

What request is generating this error? Are you pushing with HTTP
or SSH? Please supply the full error message. Perhaps it's the
"GET .../ssh_info" request that fails, because that doesn't take
place for "git push". Any proxy or firewall that might be blocking
HTTP requests?

--
Magnus Bäck
ba...@google.com

Golan Davidovits

unread,
Feb 4, 2013, 5:51:12 AM2/4/13
to repo-d...@googlegroups.com, Golan Davidovits

Own Server

Golan Davidovits

unread,
Feb 4, 2013, 5:54:05 AM2/4/13
to repo-d...@googlegroups.com

I need some instructions how to check this issue. As i mentioned pushing with GIT works fine, it's the `repo upload` to same target branch that fails. I'm pushing with SSH. I'm not aware of firewall block but I'm not sure how to verify. 

Thanks,
Golan
 

Golan Davidovits

unread,
Feb 4, 2013, 5:55:24 AM2/4/13
to repo-d...@googlegroups.com

Also, this is the only error message i see.

Thanks,
Golan
 

Magnus Bäck

unread,
Feb 4, 2013, 7:01:14 AM2/4/13
to repo-d...@googlegroups.com
On Monday, February 04, 2013 at 05:54 EST,
A simple Wireshark session will show you exactly what request
is made. Please show the command you run and the full output
you get. Details matter.

Again, my guess is that it's the GET of /ssh_info that fails.
Repo will make an HTTP request to the review server (based
on the 'review' attribute in the manifest). If your review
attribute is "review.example.com" then Repo will fetch
http://review.example.com/ssh_info. Try feeding that URL to
wget or curl. You can find the code executed for this in
.repo/repo/git_config.py.

--
Magnus Bäck
ba...@google.com

Golan Davidovits

unread,
Feb 4, 2013, 4:28:57 PM2/4/13
to repo-d...@googlegroups.com
Looks like a proxy issue after all.
Thanks for your help!

Golan
Reply all
Reply to author
Forward
0 new messages