Tuesday, November 3, 2009

Solution : Eclipse Galileo 3.5 + Proxy settings

I installed eclipse 3.5 at my work place (where we access internet through an authenticated NTML proxy).  I was unable to make eclipse pass through this proxy, which prevented me to install updates and additional software.

Anthony Dahanne’s describes the workaround on his blog (in french). The Apache httpclient implementation should be disabled because it doesn’t work well with NTMLv2 proxies.

For NTLMv2 Proxies, that require user name and password for access the workaround is to

  1. Disable the ECF httpclient provider.
  2. Provide the NTLMv2 proxy authentication info (proxyhost, domain, username, and password)

In practice, edit your eclipse.ini file to append the following properties.

-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient
-Dhttp.proxyPort=8080
-Dhttp.proxyHost=myproxy
-Dhttp.proxyUser=mydomain\myusername
-Dhttp.proxyPassword=mypassword
-Dhttp.nonProxyHosts=localhost|127.0.0.1

Ref : <a target="_blank" href="http://demeringo.ovh.org/blog/?p=103">http://demeringo.ovh.org/blog/?p=103
</a>


12 comments:

Anonymous said...

Thanks for this! Saved me from pulling my hair out.

Anonymous said...

Thank you, I can use Galileo now, the proxy was really a problem

toothache said...

thanks a lot.. it saved a lot of my time. It was really helpful.

Ted Raymond said...

Thanks for this post. Solved my issue with our #$#@$$%!! proxy server.

Brian Detweiler said...

Oh thank god, I am finally seeing progress bars! This should be the Tip of the Day somewhere!

Well done, sir. Well done.

Anonymous said...

Hi.
This solution didn't work for me....

I'm working with Eclipse 3.5.2 on a machine with linux.
I add those lines to eclipse.ini after -vmargs entry and configure active provider into eclipse to MANUAL with all the configuration HTTP, HTTPS and SOCKS.

When i try to update i get this error:
"HTTP Proxy Authentication Required: http://download.eclipse.org/releases/galileo/content.xml
Proxy auth required
"

Can you help me?

Anonymous said...

Thanks a ton!!. Its works like charm. Was trying disabling HHTP, HTTPS and SOCK connections.

Raja Chandra Rangineni.

Anonymous said...

Thank you very very much. In Ubuntu 10.04 the ini file is /etc/eclipse.ini.


Ciao and thanks

Praveen said...

Thanks a lot for this solution. Helped me a lot from spenting one more day in making this work in my work place.

Gary said...

I've been looking for a way to convert docx to pdf and I was wondering what you would suggest as the best way to do that?

Mihir said...

Gary,

I think CutePDF is better solution, if you are looking for free.

I use Foxit Reader (Due to low memory foot print)and Foxit PDF writter (it's not free and it puts water marks on topend of the page).

Regards,
Mihir

Anonymous said...

it works! thank you