RE: Problem with reverse proxy and TortoiseSVN

963 views
Skip to first unread message

csantos

unread,
Jun 15, 2011, 5:24:34 AM6/15/11
to us...@tortoisesvn.tigris.org
Hello,

I have the same problem with TortoiseSVN. With a web browser I can access the svn repositories behind an Apache HTTP server. When I try to checkout with tortoise I get this error message:
Error: Server sent unexpected return value (405 Method Not Allowed) in response to
Error: PROPFIND request for '/rdn/res/TDC_Servlet/!svn/vcc/default'

I snniffed the traffic and I noticed that the Reverse Proxy forwarded the first propfind (PROPFIND /svn/Project1), and the response from the Subcversion server (207 MULT-STATUS). But when the reverse proxy receives the second propfind request (PROPFIND /svn/Project1/!svn/vcc/default), it responds immediately with HTTP 405 (method not allowed), the reverse proxy don't forward the second propfind to the Subversion server.
Could be a problem with the symbol "!"?

I don't know what means these request PROPFIND /svn/Project1/!svn/vcc/default.

Any ideas?

Regards,

Santos

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2766114

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Simon Large

unread,
Jun 15, 2011, 10:56:36 AM6/15/11
to us...@tortoisesvn.tigris.org
On 15 June 2011 10:24, csantos <claudia....@ricoh-europe.com> wrote:
> Hello,
>
> I have the same problem with TortoiseSVN. With a web browser I can access the svn repositories behind an Apache HTTP server. When I try to checkout with tortoise I get this error message:
> Error: Server sent unexpected return value (405 Method Not Allowed) in response to
> Error: PROPFIND request for '/rdn/res/TDC_Servlet/!svn/vcc/default'
>
> I snniffed the traffic and I noticed that the Reverse Proxy forwarded the first propfind (PROPFIND /svn/Project1), and the response from the Subcversion server (207 MULT-STATUS). But when the reverse proxy receives the second propfind request (PROPFIND /svn/Project1/!svn/vcc/default), it responds immediately with HTTP 405 (method not allowed), the reverse proxy don't forward the second propfind to the Subversion server.
> Could be a problem with the symbol "!"?
>
> I don't know what means these request PROPFIND /svn/Project1/!svn/vcc/default.
>
> Any ideas?

Try using https:// instead of http://

Simon

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

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2766234

Luo ZhengHong

unread,
Jun 20, 2012, 10:48:20 PM6/20/12
to us...@tortoisesvn.tigris.org
Change http:// to https:// didn't work for me.
Does anyone know how to solve this issue?
Thanks!

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2972330

Luo ZhengHong

unread,
Jun 21, 2012, 2:35:36 AM6/21/12
to us...@tortoisesvn.tigris.org
Finally I found a solution.

For example, PC1 is the reverse proxy host.
PC2 provide svn service.

Make sure PC1 provide the same path with PC2.

ProxyPass /svn/samepath http://PC2/svn/samepath/
<Location /svn/samepath>
ProxyPassReverse /svn/samepath
<Limit OPTIONS GET REPORT MKACTIVITY PROPPATCH PUT CHECKOUT MKCOL MOVE COPY DELETE LOCK UNLOCK MERGE>
Order Deny,Allow
Allow from all
Satisfy Any
</Limit>
</Location>

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2972360
Reply all
Reply to author
Forward
0 new messages