[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Browser sees repo, but svn.exe does not

From: Brad Stiles <bradley.stiles_at_gmail.com>
Date: Fri, 22 Aug 2008 09:51:47 -0400

What misconfiguration or other problem do I look for if I can browse my
repository remotely using FireFox or IE, but I can't do so using 1.4 or
1.5 versions of svn.exe or TSVN? The same repository is visible using
Subversion within my local network, as well as if I look at it using my
router's IP address from within my network.

My repository is hosted on Windows XP Pro Media Center Edition, using
Apache 2.2.9 and Subversion 1.5.1, as set up by Visual SVN Server 1.5.2.

To summarize:

On a machine on my network
svn ls/co/ci http://localhost:81/svn/pcg work
svn ls/co/ci http://local-machines-IP:81/svn/pcg work
svn ls/co/ci http://routers-IP-Address:81/svn/pcg work

All three of those URLs work in the browser as well, allowing me to
browse through the repository.
Both methods properly prompt me for the user and password on the
repository, and accept the credentials I enter.

Note that if I turn port 81 forwarding off on the router, the
http://routers-IP-Address:81/svn/pcg URL doesn't even work for either
method, even from within my network, as I would expect.

On a remote machine, over the internet (from within my workplace

Using FireFox or IE, http://routers-IP-Address:81/svn/pcg works,
allowing me to browse through the repository.

However, svn ls http://routers-IP-Address:81/svn/pcg does not work, even
if I provide the --username and --password arguments, producing the
below error message:

svn: PROPFIND request failed on '/svn/pcg'
svn: PROPFIND of '/svn/pcg': could not connect to server

I'm virtually certain that this isn't a problem with Subversion or
Visual SVN directly, since it works just fine from within my network,
but I'm hoping someone will be able to point me in the direction I need
to look.

The most likely culprit would appear to be my router, and that
Subversion requires another port or set of ports open, or a different
protocol, rather than just 81 and TCP/UDP.

I don't know enough about Apache's configuration to know if there's
something I need to tweak there, but again, since it works fine within
my network, I'm not sure how that could be the problem.

Another culprit could be interference from some tool on my employer's
network. However, I can connect to "The Subversion Repository. No,
really, *the* Subversion Repository," as well as a fair number of other
Subversion repositories, from my work machine just fine.

I'm hoping the answer is blindingly obvious to someone here or on the
Visual SVN list. Even if it should be to me, I can accept that I'm
missing the obvious as long as I get it fixed.


To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-22 15:52:23 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.