502 Bad Gateway when cloning the repo

86 views
Skip to first unread message

Ondrej Certik

unread,
Aug 18, 2008, 10:31:46 AM8/18/08
to coderevie...@googlegroups.com
Hi,

am I doing something wrong?

$ svn checkout http://rietveld.googlecode.com/svn/trunk/ rietveld
svn: Server sent unexpected return value (502 Bad Gateway) in response
to OPTIONS request for 'http://rietveld.googlecode.com/svn/trunk'

I tried it from a different computer and it doesn't work either.

Ondrej

Raghuram Devarakonda

unread,
Aug 18, 2008, 10:37:36 AM8/18/08
to coderevie...@googlegroups.com
It fails for me too.

---
marvin:tmp$ svn checkout http://rietveld.googlecode.com/svn/trunk/ rietveld
svn: PROPFIND request failed on '/svn/trunk'
svn: PROPFIND of '/svn/trunk': 502 Bad Gateway (http://rietveld.googlecode.com)
---

Raghuram Devarakonda

unread,
Aug 18, 2008, 10:42:58 AM8/18/08
to coderevie...@googlegroups.com

Actually, I am seeing same failures with other googlecode projects too
so the problem may not be Rietveld specific.

Ondrej Certik

unread,
Aug 18, 2008, 10:43:49 AM8/18/08
to coderevie...@googlegroups.com

Evan, don't you by accident have a git repo of rietveld somewhere? :)

Now I need to wait for google to fix the servers.

Ondrej

Guido van Rossum

unread,
Aug 18, 2008, 10:57:54 AM8/18/08
to coderevie...@googlegroups.com
Google has taken notice and is working on the issue. No need to send
more reports.

--
--Guido van Rossum (home page: http://www.python.org/~guido/)

Evan Martin

unread,
Aug 18, 2008, 11:45:37 AM8/18/08
to coderevie...@googlegroups.com
On Mon, Aug 18, 2008 at 7:43 AM, Ondrej Certik <ond...@certik.cz> wrote:
>> marvin:tmp$ svn checkout http://rietveld.googlecode.com/svn/trunk/ rietveld
>> svn: PROPFIND request failed on '/svn/trunk'
>> svn: PROPFIND of '/svn/trunk': 502 Bad Gateway (http://rietveld.googlecode.com)
>
> Evan, don't you by accident have a git repo of rietveld somewhere? :)

Feel free to clone from
http://neugierig.org/software/git/?r=rietveld

I (think) I've set up the "svn" branch visible there to track svn
trunk. The other branches I may add or delete as I go, so don't rely
on them.

BTW, a neat git trick I only learned recently: Once you have my clone,
you can use it to use my cloned-from-git branch to bootstrap a real
git-svn branch:
# set up a git-svn branch
git update-ref refs/remotes/git-svn refs/remotes/origin/svn
# initialize git-svn
git svn init http://rietveld.googlecode.com/svn/trunk
Now "git svn fetch" will fetch further updates to Rietveld. This
avoids needing to clone all of Rietveld's history yourself, which is
quite slow already and unreliable given the googlecode servers'
flakiness.

Ondrej Certik

unread,
Aug 18, 2008, 11:57:36 AM8/18/08
to coderevie...@googlegroups.com
On Mon, Aug 18, 2008 at 5:45 PM, Evan Martin <mar...@danga.com> wrote:
>
> On Mon, Aug 18, 2008 at 7:43 AM, Ondrej Certik <ond...@certik.cz> wrote:
>>> marvin:tmp$ svn checkout http://rietveld.googlecode.com/svn/trunk/ rietveld
>>> svn: PROPFIND request failed on '/svn/trunk'
>>> svn: PROPFIND of '/svn/trunk': 502 Bad Gateway (http://rietveld.googlecode.com)
>>
>> Evan, don't you by accident have a git repo of rietveld somewhere? :)
>
> Feel free to clone from
> http://neugierig.org/software/git/?r=rietveld
>
> I (think) I've set up the "svn" branch visible there to track svn
> trunk. The other branches I may add or delete as I go, so don't rely
> on them.

$ git clone git://neugierig.org/rietveld.git
Initialized empty Git repository in /home/ondra/repos/rietveld/.git/
remote: Generating pack...
remote: Done counting 445 objects.
remote: Deltifying 445 objects...
remote: 100% (445/445) done
remote: Total 445 (delta 305), reused 421 (delta 287)
Receiving objects: 100% (445/445), 182.42 KiB | 94 KiB/s, done.
Resolving deltas: 100% (305/305), done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.

Is the problem on my side?


> BTW, a neat git trick I only learned recently: Once you have my clone,
> you can use it to use my cloned-from-git branch to bootstrap a real
> git-svn branch:
> # set up a git-svn branch
> git update-ref refs/remotes/git-svn refs/remotes/origin/svn
> # initialize git-svn
> git svn init http://rietveld.googlecode.com/svn/trunk
> Now "git svn fetch" will fetch further updates to Rietveld. This
> avoids needing to clone all of Rietveld's history yourself, which is
> quite slow already and unreliable given the googlecode servers'
> flakiness.

Exactly! That's the point of distributed VCS, you have everything you
need to work on the project. And git svn rocks.

Ondrej

Evan Martin

unread,
Aug 18, 2008, 12:56:06 PM8/18/08
to coderevie...@googlegroups.com
On Mon, Aug 18, 2008 at 8:57 AM, Ondrej Certik <ond...@certik.cz> wrote:
>> I (think) I've set up the "svn" branch visible there to track svn
>> trunk. The other branches I may add or delete as I go, so don't rely
>> on them.
>
> $ git clone git://neugierig.org/rietveld.git
> Initialized empty Git repository in /home/ondra/repos/rietveld/.git/
> remote: Generating pack...
> remote: Done counting 445 objects.
> remote: Deltifying 445 objects...
> remote: 100% (445/445) done
> remote: Total 445 (delta 305), reused 421 (delta 287)
> Receiving objects: 100% (445/445), 182.42 KiB | 94 KiB/s, done.
> Resolving deltas: 100% (305/305), done.
> warning: remote HEAD refers to nonexistent ref, unable to checkout.
>
> Is the problem on my side?

Sorry, I got too fancy with my clone. I think it works now; please try again.

Ondrej Certik

unread,
Aug 18, 2008, 1:03:35 PM8/18/08
to coderevie...@googlegroups.com

This worked, thanks!

Ondrej

Guido van Rossum

unread,
Aug 18, 2008, 2:09:14 PM8/18/08
to coderevie...@googlegroups.com
FWIW, this is now resolved AFAICT.
Reply all
Reply to author
Forward
0 new messages