Subclipse Proxy problems

Finally, Subversion’s PROPFIND is enabled on the proxy server at one place I work, but for some rea­son Sub­clipse was still being a lit­tle bit special.

Turns out it doesn’t use Eclipse’s HTTP Proxy set­tings, but needs set­ting elsewhere.

On Win­dows XP, this will be in your Appli­ca­tion Data path under Sub­ver­sion. Mine is as follows:

C:\Documents and Settings\joshs\Application Data\Subversion

I haven’t got a Vista machine to test on, but it will still be the Appli­ca­tion Data\Subversion folder within the user’s path. (I will con­firm this next time I’m on a Vista box.)

Linux users, look in ~/.subversion/

Open the file “servers” (no exten­sion) and scroll to the bot­tom sec­tion, [Global].

Un-comment and edit the http-proxy-host and http-proxy-port set­tings (and user/password if required, it wasn’t for me) as appro­pri­ate and every­thing will start work­ing. You don’t even need to reload Eclipse.

Pro­duc­tiv­ity just soared!

Tags: , , , , , , ,

posted on Friday, November 16th, 2007 at 3:34 pm by Josh, filed under CYIADA, Geek, Open Source.

11 Responses to “Subclipse Proxy problems”

  1. Sub­clipse does not per­form any net­work com­mu­ni­ca­tions itself, it instead per­forms Sub­ver­sion API calls and the Sub­ver­sion libraries do all of the work. So the proxy con­fig­u­ra­tion needs to hap­pen for the Sub­ver­sion library, and that is done using the same tech­nique you use for the CLI (since it uses the same libraries). We have an open issue with Sub­ver­sion for them to add API that would let us “push” con­fig­u­ra­tion to the library.

    Some­thing that works on Win­dows XP, open the Win­dows Run Dia­log and type:

    %APPDATA%\Subversion and click OK. This will open up the folder you men­tioned. I’d assume it would also work on Vista.

  2. Pan Xingzhi says:

    Good post Josh! It helped me today.

    Just for com­plete­ness: nor­mally you need to mod­ify the [global] part, not the first encounter of “http-proxy-host”.

  3. […] Josh.st was the place I even­tu­ally found this and for more details on the fix, go there […]

  4. Sunny says:

    thank s alot josh!
    i was look­ing for this info.
    it helped me a lot!

  5. mohsen fakhari says:

    Thank you Josh
    I was going to change the fire­wall set­tings.
    I just changed ‘# http-proxy-host…’ to ‘http-proxy-host myProxy’ and so the port and every thing is fine.

  6. Anonymous says:

    u smell lol hehe hahaahh looools x

  7. Sander says:

    Thanks, my search for “sub­clipse net­work proxy set­tings” yielded this result. Works like a charm!

  8. […] porque no toma la con­fig­u­ración de proxy propia de eclipse. Leí en un par de blogs la solución: http://josh.st/blog/2007/11/16/subclipse-proxy-problems y http://svn.haxx.se/subusers/archive-2005 – 04/0058.shtml . Al pare­cer sub­clipse del­ega las […]

  9. Uday says:

    Thanks a lot. Was fac­ing this issue and would have started bang­ing my head in the next 10 mins had i not got the solution. :)

  10. feri says:

    Also from me a big THX!
    Tried for one day to get sub­clipse run­ning…
    Your tip works fine with both ver­sions (1.4.x and 1.6.x).

  11. Anshu Kumar says:

    Thanx josh,
    I was look­ing for just this frm quite few days.
    That worked for me too.
    :)

Leave a Reply