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

Re: Problems with TortoiseSVN 1.5 and Apache2-Subversionserver

From: Stefan Küng <steveking_at_gmx.ch>
Date: Wed, 26 Mar 2008 12:45:29 +0100

>> I think Subversion has some problems with rewrite rules. It doesn't like
>> if URLs get changed.
>> Shouldn't you just use 'SSLRequireSSL' in your apache config?
>>
> Well, I followed some tutorials and find it very useful to have a
> redirect from http to https if someone forgets if it was http oder
> https.
> I tried that and it hasnt changed anything, it just keeps telling me
> the "400 BAD REQUEST" error

So you get the same error even without redirects. At least we now know
that the redirects are not to blame.

>>> It shows the following error:
>>> Checkout fromhttp://svn.XXXXX.net, revision HEAD, Fully recursive,
>>> Externals included
>>> Server sent unexpected return value (400 Bad Request) in response to
>>> OPTIONS
>>> request for 'http://svn.XXXXX.net'
>>> When i try the direct acces to the SSL-Site i get:
>>> Command: Checkout fromhttps://svn.XXXXX.net, revision HEAD, Fully
>>> recursive, Externals included
>>> Error: OPTIONS of 'https://svn.XXXXX.net':Could not parse response
>>> status
>>> Error: line (https://svn.XXXXX.net)
>>> Finished!:
>>> Has anyone an idea how to fix this? I googled but couldn't find
>>> anything useful.
>> Since you're already using TSVN 1.5 beta, can you please download the
>> latest nightly build (http://nightlybuilds.tortoisesvn.net/latest/),
>> installl it. Then get the 'svn.exe' from the same place and move/copy it
>> into the TSVN installation folder.
>> Then you can try the command
>> C:\program files\TortoiseSVN\bin\svn.exe cohttp://svn.XXXX.netproject
>>
> The same error. The folder structure is like this:
> https://svn/trunk
> https://svn/branch
> https://svn:/tags
> When checkout one of these folders directly it works.
> With http it wants me to use https directly (svn: Repository moved
> temporarily to 'http://svn/trunk'; please relocate) but when i access
> the repo with https://svn/ i get the error: svn: Server sent
> unexpected return value (400 Bad Request) in response to OPTIONS
> request for 'http://svn' with ssl: svn: OPTIONS of 'https://svn':
> Could not parse response status line (https://svn)

Do you maybe have IPv6 enabled on your server? That could be a reason
since TSVN 1.5 has IPv6 enabled too. That means that the Subversion lib
first tries an IPv6 connection to the server and only if that fails
tries the IPv4 part. It could be that your server has IPv6 enabled but
does not send the correct response when connecting to that (maybe
Subversion isn't even configured there to answer IPv6 requests?).

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-03-26 12:46:33 CET

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