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

17 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
  6. Good job! Thank you very much...

    ReplyDelete
  7. Thanks a bunch -- it's still a problem with Spring Tool Suite 3.7.3/Eclipse Neon 4.6!

    ReplyDelete
  8. THANKSSSS I was struggling with this for too much time!!

    ReplyDelete
  9. Good to see that my post is helpful. Not so good to see that this issue still exists after all these years! (I should share the blame of not contributing back to community by fixing the issue!)

    ReplyDelete
  10. still the same issue am facing after i did what u told...

    ReplyDelete
  11. Still a valid answer for Eclipse Oxygen. Thank you for share. Best regards.

    ReplyDelete
  12. Thanks for sharing mate! Most helpful

    ReplyDelete