Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

svn over HTTP proxy [closed]

I'm on laptop (Ubuntu) with a network that use HTTP proxy (only http connections allowed).
When I use svn up for url like 'http://.....' everything is cool (google chrome repository works perfect), but right now I need to svn up from server with 'svn://....' and I see connection refused.
I've set proxy configuration in /etc/subversion/servers but it doesn't help.
Anyone have opinion/solution?

like image 227
small_jam Avatar asked Sep 17 '08 12:09

small_jam


2 Answers

In /etc/subversion/servers you are setting http-proxy-host, which has nothing to do with svn:// which connects to a different server usually running on port 3690 started by svnserve command.

If you have access to the server, you can setup svn+ssh:// as explained here.

Update: You could also try using connect-tunnel, which uses your HTTPS proxy server to tunnel connections:

connect-tunnel -P proxy.company.com:8080 -T 10234:svn.example.com:3690 

Then you would use

svn checkout svn://localhost:10234/path/to/trunk 
like image 102
rami Avatar answered Sep 20 '22 12:09

rami


Ok, this should be really easy:

$ sudo vi /etc/subversion/servers 

Edit the file:

[Global] http-proxy-host=my.proxy.com http-proxy-port=3128 

Save it, run svn again and it will work.

like image 38
dillera Avatar answered Sep 24 '22 12:09

dillera