Eclipse still using http.proxyHost settings when no longer set
Solution 1
It's a bug in the preferences panel. You can see it if you tail your workspace/.metadata/.log file.
The workaround (at least in Eclipse 3.4.2) is:
- Open Window > Preferences, then General > Network Connections
- Select Manual proxy configuration
- Click the Add Host... button to add a 'No Proxy' entry
- Enter a random entry, say 'localhost' and click OK
- Click Direct connection to the Internet
- Close the property panel with the OK button.
Solution 2
Or go to your eclipse.ini file and check if there are some parameters like :
-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
OR same parameters but the first one finishes in 4 like below:
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4
Since release of Eclipse Kepler (4.3)
With this parameters you can disable the HttpClient provider and have ECF use the JRE URLConnection-based provider instead(line 1). And set proxy settings.
jdcotter
Updated on July 15, 2022Comments
-
jdcotter almost 2 years
I'm dealing with the same sort of problem as "Zombie http.proxyHost settings for JVM on OSX" except I'm on Kubuntu 8.04 and Eclipse 3.4.2. I had to use a proxy for work but have migrated off it. I've reset everything in my environment I can find inside and outside Eclipse to get rid of setting the proxy. However when I try to use the Software Update feature I find it's still using the proxy. In the error log I can see:
!ENTRY org.eclipse.core.net 1 0 2009-03-17 10:49:50.137 !MESSAGE System property http.proxyHost has been set to netproxy.blah.com by an external source. This value will be overwritten using the values from the preferences
!ENTRY org.eclipse.core.net 1 0 2009-03-17 10:49:50.164 !MESSAGE System property http.proxyPort has been set to 3128 by an external source. This value will be overwritten using the values from the preferences
Any ideas as to what the external source might be that's setting this property?