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. **************************************************************************************