Subversion: Secure connection truncated

Posted by Nick on Server Fault See other posts from Server Fault or by Nick
Published on 2010-12-22T23:18:22Z Indexed on 2010/12/22 23:55 UTC
Read the original article Hit count: 164

Filed under:
|
|

Hi,

I'm trying to set-up a subversion server with apache2/webdav access. I've created the repository and configure Apache according to the official book, and I can see the repository in a webbrowser.

The browser shows:

conf/
db/
hooks/
locks/

Although clicking any of those links gives an empty xml document like:

<D:error>
<C:error/>
<m:human-readable errcode="2">
Could not open the requested SVN filesystem
</m:human-readable>
</D:error>

I've never used subversion before so I assume this is correct?

Anyway, when I try to connect via a command line client, it asks for my password, I give it, then I get the (useless) error message:

svn: OPTIONS of 'https://svn.mysite.com': Could not read status line:
Secure connection truncated (https://svn.mysite.com)

The command I'm using is:

svn checkout https://svn.mysite.com/ svn.mysite.com

Subversion was installed using Ubuntu's package manager. It's version 1.6.6 on Ubuntu 10.04.

My Virtualhost Cofiguration:

<VirtualHost  123.123.12.12:443>

ServerAdmin [email protected]
ServerName svn.mysite.com

<Location />
     DAV svn
     SVNParentPath /var/svn/repos
     SVNListParentPath On

     AuthType Basic
     AuthName "Subversion Repository"
     AuthUserFile /etc/subversion/passwd
     Require valid-user
</Location>

# Setup The SSL Certificate Paths
SSLEngine On
       SSLCertificateFile /etc/ssl/certs/mysite.com.crt
       SSLCertificateKeyFile /etc/ssl/private/dmysite.com.key
</VirtualHost>

© Server Fault or respective owner

Related posts about apache2

Related posts about svn