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

Cannot connect to SVN+Apache server except from localhost

From: Victor Engmark <victor.engmark_at_gmail.com>
Date: 2007-02-21 10:47:13 CET

Hello,

I've tried to setup a Subversion + Apache 2.2 server. The following query
works:
svn list https://localhost/repository-name

When I try the corresponding query - - from a different host, the connection
just hangs (no question of user name/password, even). What follows is what
I've found out about the situation so far.

# netstat -an | egrep "80|443"
tcp 0 0 :::80 :::* LISTEN
tcp 0 0 :::443 :::* LISTEN

# tcpdump port 443
09:16:07.231009 IP removed.41096 > removed.https: S 1642178740:1642178740(0)
win 65535 <mss 1412,nop,wscale 0,nop,nop,timestamp 2415058 0>

Looking through the Apache settings, I can't find that localhost is singled
out in any way.

httpd.conf:
...
<Directory />
    Options None
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>
...

vhost-ssl.conf:
<VirtualHost _default_:443>
        DocumentRoot "/srv/svn"
        ServerName removed (ip address)
        ErrorLog /var/log/apache2/error_log
        TransferLog /var/log/apache2/access_log
        <Location />
         DAV svn
         SVNParentPath /srv/svn/repos
         Options FollowSymLinks
         order allow,deny
         allow from all
         AuthType Basic
         AuthName "Subversion Repository"
         Require valid-user
         AuthUserFile /srv/svn/user_access/repository_passwdfile
        </Location>
...

openssl s_client -connect localhost:443 -state -debug:
...
depth=0 /C=removed/CN=removed
verify error:num=18:self signed certificate
verify return:1
depth=0 /C= removed/CN=removed
verify return:1
SSL_connect:SSLv3 read server certificate A
...
No client certificate CA names sent
...
SSL-Session:
...
    Verify return code: 18 (self signed certificate)

Any help would be appreciated!

-- 
Victor Engmark
Quid quid latine dictum sit, altum viditar - What is said in Latin, sounds
profound
Received on Wed Feb 21 15:35:26 2007

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.