Repository Browser Cannot Connect

1,209 views
Skip to first unread message

Mike Walsh

unread,
Mar 19, 2008, 3:15:05 AM3/19/08
to us...@tortoisesvn.tigris.org
I installed Subversion using svn-1.4.6-setup.exe for Apache 2.2 and
added the relevant lines to the Apache config file, then installed
TortoiseSVN using TortoiseSVN-1.4.8.12137-win32-svn-1.4.6.msi.

I created a test repository with the TortoiseSVN menu item, and I can
view it in web browsers (HTTP), but when I try to view it the Tortoise
Repo-Browser (SVN), it does not work. It hangs with the "Please wait
whie the repository browser is initialized..." message for a while and
eventually (a looong time) it says that it could not connect.

I should point out that I am using Apache 2.2 on port 8080, so the URL
is svn://localhost:8080/svn/testrep/

I also tried svn//name:pass@localhost:8080/svn/testrep/ (after
enabling URL embedded logins) in case authorization was the problem,
but that didn't work, and I even tried disabling authorization
altogether without success.

TCPView shows that the repo-browser is connected on port 8080, but I'm
still not getting anything.


Any ideas on what's wrong and how to fix it?

Thanks a lot.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-un...@tortoisesvn.tigris.org
For additional commands, e-mail: users...@tortoisesvn.tigris.org

Jean-Marc van Leerdam

unread,
Mar 19, 2008, 4:46:53 AM3/19/08
to us...@tortoisesvn.tigris.org
On 19/03/2008, Mike Walsh <goog...@hotmail.com> wrote:
> I installed Subversion using svn-1.4.6-setup.exe for Apache 2.2 and
> added the relevant lines to the Apache config file, then installed
> TortoiseSVN using TortoiseSVN-1.4.8.12137-win32-svn-1.4.6.msi.
>
> I created a test repository with the TortoiseSVN menu item, and I can
> view it in web browsers (HTTP), but when I try to view it the Tortoise
> Repo-Browser (SVN), it does not work. It hangs with the "Please wait
> whie the repository browser is initialized..." message for a while and
> eventually (a looong time) it says that it could not connect.
>
> I should point out that I am using Apache 2.2 on port 8080, so the URL
> is svn://localhost:8080/svn/testrep/

No, when using Apache the URL should be http:// or https://. svn:// is
used when accessing the stand alone svnserve.

--
Regards,
Jean-Marc
----------------
___
// \\ @@ "De Chelonian Mobile"
/ \_/ \/._) TortoiseSVN
<\_/_\_/ / The coolest Interface to (Sub)Version Control
/_/ \_\ Check out http://tortoisesvn.net

Simon Large

unread,
Mar 19, 2008, 4:47:24 AM3/19/08
to us...@tortoisesvn.tigris.org
On 19/03/2008, Mike Walsh <goog...@hotmail.com> wrote:
> I installed Subversion using svn-1.4.6-setup.exe for Apache 2.2 and
> added the relevant lines to the Apache config file, then installed
> TortoiseSVN using TortoiseSVN-1.4.8.12137-win32-svn-1.4.6.msi.
>
> I created a test repository with the TortoiseSVN menu item, and I can
> view it in web browsers (HTTP), but when I try to view it the Tortoise
> Repo-Browser (SVN), it does not work. It hangs with the "Please wait
> whie the repository browser is initialized..." message for a while and
> eventually (a looong time) it says that it could not connect.
>
> I should point out that I am using Apache 2.2 on port 8080, so the URL
> is svn://localhost:8080/svn/testrep/

There's your problem. svn:// protocol is used by svnserve.exe. Apache
uses http:// so your server will not see it.

Simon

--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net

Mike Walsh

unread,
Mar 21, 2008, 10:24:04 PM3/21/08
to us...@tortoisesvn.tigris.org
On Mar 19, 4:46 am, "Jean-Marc van Leerdam"
<j.m.van.leer...@gmail.com> wrote:

> On 19/03/2008, Mike Walsh <googro...@hotmail.com> wrote:
> > I should point out that I am using Apache 2.2 on port 8080, so the URL
> > is svn://localhost:8080/svn/testrep/
>
> No, when using Apache the URL should be http:// or https://. svn:// is
> used when accessing the stand alone svnserve.

Ah, I see. I thought http was for web browsers and the repo-browser
used the specialized protocol. Oops. Although, I did try http as well
and I could swear it didn't work either. Well in any case it is
working now. Thanks.

I am having another problem though, that is the same in both the repo-
browser and web browser. I can access individual repositores now, but
I get a 403-forbidden error when trying to access the root (/svn/).
Isn't there a way to view a list of available repositories?

Stefan Küng

unread,
Mar 22, 2008, 4:34:42 AM3/22/08
to us...@tortoisesvn.tigris.org
Mike Walsh wrote:
> On Mar 19, 4:46 am, "Jean-Marc van Leerdam"
> <j.m.van.leer...@gmail.com> wrote:
>> On 19/03/2008, Mike Walsh <googro...@hotmail.com> wrote:
>>> I should point out that I am using Apache 2.2 on port 8080, so the URL
>>> is svn://localhost:8080/svn/testrep/
>> No, when using Apache the URL should be http:// or https://. svn:// is
>> used when accessing the stand alone svnserve.
>
> Ah, I see. I thought http was for web browsers and the repo-browser
> used the specialized protocol. Oops. Although, I did try http as well
> and I could swear it didn't work either. Well in any case it is
> working now. Thanks.
>
> I am having another problem though, that is the same in both the repo-
> browser and web browser. I can access individual repositores now, but
> I get a 403-forbidden error when trying to access the root (/svn/).
> Isn't there a way to view a list of available repositories?

http://tortoisesvn.net/node/112

Stefan

--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN

\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net

signature.asc

Mike Walsh

unread,
Mar 24, 2008, 1:36:26 PM3/24/08
to us...@tortoisesvn.tigris.org
On Mar 22, 4:34 am, Stefan Küng <tortoise...@gmail.com> wrote:

> Mike Walsh wrote:
> > I am having another problem though, that is the same in both the repo-
> > browser and web browser. I can access individual repositores now, but
> > I get a 403-forbidden error when trying to access the root (/svn/).
> > Isn't there a way to view a list of available repositories?
>
> http://tortoisesvn.net/node/112

That page says that it works in web browsers, but I get a 403 in a web
browser as well. Is there at least a way to return something more
graceful, like a custom error page or something.

Stefan Küng

unread,
Mar 24, 2008, 1:37:39 PM3/24/08
to us...@tortoisesvn.tigris.org
Mike Walsh wrote:
> On Mar 22, 4:34 am, Stefan Küng <tortoise...@gmail.com> wrote:
>> Mike Walsh wrote:
>>> I am having another problem though, that is the same in both the repo-
>>> browser and web browser. I can access individual repositores now, but
>>> I get a 403-forbidden error when trying to access the root (/svn/).
>>> Isn't there a way to view a list of available repositories?
>> http://tortoisesvn.net/node/112
>
> That page says that it works in web browsers, but I get a 403 in a web
> browser as well. Is there at least a way to return something more
> graceful, like a custom error page or something.

You have to set the SVNListParentPath directive to allow Subversion to
show a list of repositories in your apache config.

signature.asc
Reply all
Reply to author
Forward
0 new messages