subversion from behind a proxy server

subversion from behind a proxy server

Posted by: murrow
Posted on: 2007-05-01 17:38:00

Am trying to access a Dreamhost subversion repository from behind a corporate proxy. I have the proxy server settings (host and port) set up in the svn server file, but am getting the MKACTIVITY 400 error when I try to commit using an svn client with an http://mysite.com/repo type URL.

Any ideas any one?

Re: subversion from behind a proxy server

Posted by: Lensman
Posted on: 2007-05-01 18:40:00

How are you connecting to subversion? I use SVN+SSH using TortoiseSVN and PuTTY and your setup doesn't sound similar to what I do to get through my corporate proxy.

Re: subversion from behind a proxy server

Posted by: murrow
Posted on: 2007-05-01 19:10:00

I am using TortoiseSVN, but have also tried RapidSVN. I am using this form:

http://mysite.com/repos/path/to/trunk

I don't want to use ssh+svn because the main purpose of the checkout is for a less experienced user to perform updates to the local server. The checkout and updates work using http, but the commits and adds won't. (I need the commits to push a few bug fixes back from this server to the deployment repository.)



Re: subversion from behind a proxy server

Posted by: Lensman
Posted on: 2007-05-01 19:57:00

I have to admit that this is beyond my direct expertise, but have you read this?
http://subversion.tigris.org/faq.html#proxy

In reply to:

Next, you need to make sure the proxy server itself supports all the HTTP methods Subversion uses. Some proxy servers do not support these methods by default: PROPFIND, REPORT, MERGE, MKACTIVITY, CHECKOUT. In general, solving this depends on the particular proxy software. For Squid, the config option is

# TAG: extension_methods
# Squid only knows about standardized HTTP request methods.
# You can add up to 20 additional "extension" methods here.
#
#Default:
# none
extension_methods REPORT MERGE MKACTIVITY CHECKOUT


Re: subversion from behind a proxy server

Posted by: murrow
Posted on: 2007-05-01 20:35:00

Yes, I did read that. However, it hasn't helped me. I may need more proxy server details than the server support crew can provide: e.g., the extension methods support.

But, thank you very much for your help.

Re: subversion from behind a proxy server

Posted by: Lensman
Posted on: 2007-05-02 00:55:00

Yeah, the fact that some operations work and some fail would seem to point to the need to configure the correct extension methods. I can understand the difficulty in getting the configuration of your client's proxy server... :(

Tags: svn clientsubversiondreamhostmysitereporepository