You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mark Horsburgh <mk...@progress.com> on 2007/07/05 18:18:30 UTC

WebDAV proxy 405 error

I'm currently experimenting with the new WebDAV proxy functionality 
because we are extremely keen on using it to support our development team 
split across the Atlantic. However, I've been unable to get it to work.

I have two test machines, both running Redhat Enterprise 3, master and 
slave. Master has Apache 2.2.4 with Subversion 1.4.4 on it. Slave has 
Apache 2.2.4 and Subversion /trunk@25655. The slave has a mirror 
repository created with svnsync from the master. Both have the repository 
configured to be served out of the /dev location and I can do this with a 
client configured to use Neon:

$ svn co http://master/dev/trunk
Checked out revision 1.

However, if I do this:

$ svn co http://slave/dev/trunk
svn: REPORT request failed on '/dev/!svn/vcc/default'
svn: Server sent unexpected return value (405 Method Not Allowed) in 
response to REPORT request for '/dev/!svn/vcc/default'

The slave's relevant configuration is:

<Location /dev>
        DAV svn
        SVNPath /svn/mirror
        SVNMasterURI http://master/dev
</Location>

The Apache access log shows:

27.0.0.1 - - [05/Jul/2007:21:40:08 +0100] "PROPFIND /dev/trunk HTTP/1.1" 
207 676
127.0.0.1 - - [05/Jul/2007:21:40:08 +0100] "PROPFIND /dev/!svn/vcc/default 
HTTP/1.1" 207 388
127.0.0.1 - - [05/Jul/2007:21:40:08 +0100] "PROPFIND /dev/!svn/bln/1 
HTTP/1.1" 207 439
127.0.0.1 - - [05/Jul/2007:21:40:08 +0100] "PROPFIND /dev/trunk HTTP/1.1" 
207 676
127.0.0.1 - - [05/Jul/2007:21:40:08 +0100] "PROPFIND /dev/!svn/vcc/default 
HTTP/1.1" 207 388
127.0.0.1 - - [05/Jul/2007:21:40:08 +0100] "PROPFIND /dev/!svn/bln/1 
HTTP/1.1" 207 439
127.0.0.1 - - [05/Jul/2007:21:40:08 +0100] "PROPFIND /dev/trunk HTTP/1.1" 
207 676
127.0.0.1 - - [05/Jul/2007:21:40:08 +0100] "PROPFIND /dev/!svn/vcc/default 
HTTP/1.1" 207 388
127.0.0.1 - - [05/Jul/2007:21:40:08 +0100] "PROPFIND /dev/!svn/bln/1 
HTTP/1.1" 207 439
127.0.0.1 - - [05/Jul/2007:21:40:08 +0100] "PROPFIND /dev/trunk HTTP/1.1" 
207 676
127.0.0.1 - - [05/Jul/2007:21:40:08 +0100] "PROPFIND /dev/!svn/vcc/default 
HTTP/1.1" 207 439
127.0.0.1 - - [05/Jul/2007:21:40:08 +0100] "PROPFIND /dev/!svn/bc/1/trunk 
HTTP/1.1" 207 686
127.0.0.1 - - [05/Jul/2007:21:40:08 +0100] "PROPFIND /dev/trunk HTTP/1.1" 
207 676
127.0.0.1 - - [05/Jul/2007:21:40:08 +0100] "PROPFIND /dev/trunk HTTP/1.1" 
207 676
127.0.0.1 - - [05/Jul/2007:21:40:08 +0100] "PROPFIND /dev/!svn/vcc/default 
HTTP/1.1" 207 388
127.0.0.1 - - [05/Jul/2007:21:40:08 +0100] "PROPFIND /dev/!svn/bln/1 
HTTP/1.1" 207 439
127.0.0.1 - - [05/Jul/2007:21:40:08 +0100] "PROPFIND /dev/trunk HTTP/1.1" 
207 676
127.0.0.1 - - [05/Jul/2007:21:40:08 +0100] "PROPFIND /dev/!svn/vcc/default 
HTTP/1.1" 207 388
127.0.0.1 - - [05/Jul/2007:21:40:08 +0100] "PROPFIND /dev/!svn/bln/1 
HTTP/1.1" 207 439
127.0.0.1 - - [05/Jul/2007:21:40:08 +0100] "PROPFIND /dev/trunk HTTP/1.1" 
207 676
127.0.0.1 - - [05/Jul/2007:21:40:08 +0100] "REPORT /dev/!svn/vcc/default 
HTTP/1.1" 405 244

The error log (at debug level) is:

[Thu Jul 05 21:39:54 2007] [debug] proxy_util.c(1625): proxy: grabbed 
scoreboard slot 0 in child 24476 for worker proxy:reverse
[Thu Jul 05 21:39:54 2007] [debug] proxy_util.c(1724): proxy: initialized 
single connection worker 0 in child 24476 for (*)
[Thu Jul 05 21:39:54 2007] [debug] proxy_util.c(1625): proxy: grabbed 
scoreboard slot 0 in child 24478 for worker proxy:reverse
[Thu Jul 05 21:39:54 2007] [debug] proxy_util.c(1644): proxy: worker 
proxy:reverse already initialized
[Thu Jul 05 21:39:54 2007] [debug] proxy_util.c(1724): proxy: initialized 
single connection worker 0 in child 24478 for (*)
[Thu Jul 05 21:39:54 2007] [debug] proxy_util.c(1625): proxy: grabbed 
scoreboard slot 0 in child 24479 for worker proxy:reverse
[Thu Jul 05 21:39:54 2007] [debug] proxy_util.c(1644): proxy: worker 
proxy:reverse already initialized
[Thu Jul 05 21:39:54 2007] [debug] proxy_util.c(1724): proxy: initialized 
single connection worker 0 in child 24479 for (*)
[Thu Jul 05 21:39:54 2007] [notice] Apache/2.2.4 (Unix) DAV/2 
SVN/1.5.0-dev configured -- resuming normal operations
[Thu Jul 05 21:39:54 2007] [info] Server built: Jul  5 2007 21:17:32
[Thu Jul 05 21:39:54 2007] [debug] prefork.c(991): AcceptMutex: sysvsem 
(default: sysvsem)
[Thu Jul 05 21:39:54 2007] [debug] proxy_util.c(1625): proxy: grabbed 
scoreboard slot 0 in child 24477 for worker proxy:reverse
[Thu Jul 05 21:39:54 2007] [debug] proxy_util.c(1644): proxy: worker 
proxy:reverse already initialized
[Thu Jul 05 21:39:54 2007] [debug] proxy_util.c(1724): proxy: initialized 
single connection worker 0 in child 24477 for (*)
[Thu Jul 05 21:39:54 2007] [debug] proxy_util.c(1625): proxy: grabbed 
scoreboard slot 0 in child 24480 for worker proxy:reverse
[Thu Jul 05 21:39:54 2007] [debug] proxy_util.c(1644): proxy: worker 
proxy:reverse already initialized
[Thu Jul 05 21:39:54 2007] [debug] proxy_util.c(1724): proxy: initialized 
single connection worker 0 in child 24480 for (*)
[Thu Jul 05 21:40:09 2007] [debug] proxy_util.c(1625): proxy: grabbed 
scoreboard slot 0 in child 24484 for worker proxy:reverse
[Thu Jul 05 21:40:09 2007] [debug] proxy_util.c(1644): proxy: worker 
proxy:reverse already initialized
[Thu Jul 05 21:40:09 2007] [debug] proxy_util.c(1724): proxy: initialized 
single connection worker 0 in child 24484 for (*)

I don't see anything obviously out of place in either of these apart from 
the 405 error. If I comment out the SVNMasterURI line from the slave 
configuration then I can check out just fine.

Can anyone shed any light on what is going on here? I'm quite happy to 
provide Ethereal traces or whatever in order to ensure this functionality 
works correctly in Subversion 1.5.

Kind Regards,
Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org