Wednesday, October 5, 2011

Eclipse Proxy settings - bug and workaround

Many a times I experienced weird behavior of eclipse network connectivity (despite providing proxy settings) especially while installing plugins from update sites.
However, didn’t pay enough heed to the issues and many a times moved on with installing the plugins by manually downloading it.

With Eclipse Indigo, as the Eclipse marketplace makes plugin installation quite easier, I thought of checking out the exact issue with eclipse network connectivity.

As always, found the bug and work around easily by searching on net (community power!!!)

The bug is with Eclipse proxy settings. Normally, when we enable proxy on eclipse, we enable all types of proxies – HTTP, HTTPS and SOCKS.
The issue is that if you add ‘SOCKS’ proxy entry, eclipse will ignore HTTP/HTTPS whereas normally you will always connect to an HTTP/S url.
So the solution is that remove ‘SOCKS’ proxy entry and keep only HTTP/HTTPS entry. (Make sure you select Active provider as ‘Manual’)

Following is the screenshot for the proxy setting.


Update: You need to restart your eclipse after making this change.

Cheers,
Sarang
Enhanced by Zemanta

8 comments:

  1. Hi Sarang

    I had tried every single setting I could think of to get this to work in Spring Tool Suite 3.1 (based on Eclipse Juno) on my Mac until I saw the update to your post: 'you need to restart'. That was all that was required!

    Thanks

    David

    ReplyDelete
    Replies
    1. Hi David,
      I am glad my blog could help you.

      Cheers,
      Sarang

      Delete
  2. i would have never figured this out on my own. thank you so much :)

    ReplyDelete
  3. Million thanks, still a problem in Kepler, apparently

    ReplyDelete
  4. Thanks a lot Sarang, It worked for me... Saved me lots of time..

    ReplyDelete
  5. This comment has been removed by a blog administrator.

    ReplyDelete