Ashish,
This is normally a question for users@, but I think Lieven was working
on something exactly like this already. I've cc'd him for more detail.
Cheers,
-g
On Tue, Jun 25, 2013 at 12:09 PM, Ashish SHUKLA <ashish.is_at_lostca.se> wrote:
> Hi,
>
> 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.
>
> Thanks
> --
> Ashish SHUKLA
>
> “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:38:22 CEST