subversion + three.co.uk = proxy trouble

If you try to access a subversion repository over http while using a 3G connection from three.co.uk you may receive an error message like.

svn: PROPFIND request failed on '/repos'
svn: Processing PROPFIND request response failed: Premature end of file. (/repos)

This is because three.co.uk uses a proxy to interecept web traffic on their network.

This proxy does not understand all the commands that are used by subversion.

It is perfectly possible to access subversion repositories through a proxy - just not through the one at three.co.uk.

Three only filter traffic on port 80 - the standard web port. Well, at least as far as I can tell that's all they do.

So if you can set up subversion to access a different proxy - one that does play nice - then you can access your repository over your 3G connection.

Under Linux the subversion proxy settings are in the file:

~/.subversion/servers

Just add settings as below:

[global]
http-proxy-host = www.exaple.com
http-proxy-port
= 3128
http-proxy-username = nobody
http-proxy-password = secret

Tags

Comments

more steps needed for commit access

I recently found that the above steps only provide browse access - to commit see
Configure Squid proxy server for subversion access

Post new comment

Got something to add - just enter a comment
all other fields are optional.

Your email address will not be published.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.