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

Re: Error connecting to an Apache svn server remotely

From: Ulrich Eckhardt <ulrich.eckhardt_at_dominolaser.com>
Date: Mon, 16 May 2011 12:44:21 +0200

On Sunday 15 May 2011, Kenny Q. Zhu wrote:
> I set up an apache SVN server on an Opensuse Linux server within the
> university department network. Access to it from within the university
> network is completely fine. One day when I tried to access from outside the
> university using the linux svn client, I got one of these two errors
> (nondeterministic):
>
> kzhu@tux:~$ svn list http://www.xxx.edu/mysvn
>
> svn: OPTIONS of 'http://www.xxx.edu/mysvn': Could not parse response status
> line. (http://www.xxx.edu)
>
>
>
> kzhu@tux:~$ svn list http://www.www.edu/mysvn
>
> svn: PROPFIND of '/mysvn': Could not read status line: connection was
> closed by server. (http://www.xxx.edu )

Reminds me of problems we had with a caching proxy. The problem is that the
commandset required for a web browser is different from that required by SVN,
even though both use HTTP. The proxy received a command it wasn't prepared
for, barfed out an error message, which would cause the first error above. It
then closed the connection, which would cause the second error if that was
before the answer was fully received.

> I looked at the apache access log on the server, and see these:
>
> xxx.xxx.xxx.xxx - - [15/May/2011:13:26:04 +0800] "OPTIONS /mysvn HTTP/1.1"
> 401 1286 "-" "SVN/1.6.15 (r1038135) neon/0.25.5"
>
> xxx.xxx.xxx.xxx - kzhu [15/May/2011:13:26:05 +0800] "OPTIONS /mysvn
> HTTP/1.1" 200 188 "-" "SVN/1.6.15 (r1038135) neon/0.25.5"

It's not the "OPTIONS" command, but the "PROPFIND" command that caused
problems, I guess, so check what proxies you have in between.

OTOH, the already given advise to use HTTPS has so many additional advantages
that you should actually do that instead fixing HTTP access.

Just my 2cc.

Uli
**************************************************************************************
Domino Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at http://www.dominolaser.com
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Domino Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
Received on 2011-05-16 12:41:53 CEST

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.