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

subversion client having issues talking to subversion repository over HTTPS via proxy

From: Ashish SHUKLA <ashish.is_at_lostca.se>
Date: Tue, 25 Jun 2013 21:39:36 +0530


I'm having problems connecting my subversion client to talk to my subversion
repositories over HTTPS. I've two subversion repositories (version 1.7), both
of which require HTTP Basic authentication, on different hosts.

On my client-side, I've a ~/.subversion/servers file configured to use HTTP
proxy, a polipo instance running locally. Now when I connect to repository A
using subversion client, it works fine. But when I connect to repository B, I
get HTTP Error "501 Method Not Implemented".

I truss-ed the polipo instance, and noticed that when subversion client
connects to repository A, it sends "CONNECT repository-a.domain.tld:443..."
request to proxy, and then uses that throughout the session. Whereas when
subversion client connects to repository B, it sends "CONNECT
repository-b.domain.tld:443..." to proxy, and after that it sends "OPTIONS
https://repository-b.domain.tld/ HTTP/1.1\r\nWWW-Authenticate:....\r\n" to
proxy to which proxy responds with "501 Method Not Implemented".

I looked at httpd configurations of both hosts, and found that repository-a's
httpd is having "KeepAlive On", whereas repository-b's httpd has it Off. I
added "KeepAlive On" on repository-b's httpd, and it started working as well.

So from what I understand about this problem, is that svn client should have
sent 2nd request OPTIONS request also in a CONNECT request. I used subversion
1.7, as well as 1.8 to test it.

I could file a bug-report if it seems like bug.

I'm not part of the list, so if you could Cc me in replies, it would be great.


“Fashion is a form of ugliness so intolerable that we have to alter it every six
months.” (Oscar Wilde)
Sent from my Emacs

Received on 2013-06-25 21:17:10 CEST

This is an archived mail posted to the Subversion Dev mailing list.