Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do I have to configure the proxy settings so Eclipse can download new plugins?
    text
    copied!<p>I am working with Eclipse 3.7, on an Windows XP environment behind a web proxy.</p> <p>I want to install the <a href="http://groovy.codehaus.org/Eclipse+Plugin" rel="noreferrer">Groovy plugin</a> on a <em>newly unzipped</em> Eclipse Indigo (<em>Eclipse Java EE Indigo M4</em>). I added the <a href="http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.7/" rel="noreferrer">update site</a> to the <code>Available Software Site</code> list.</p> <p>But Eclipse is not able to retrieve the information of this plugin, and thus the installation is not possible...</p> <p>If I put <code>Native</code> configuration in <code>General &gt; Network Connections</code>, which does not have the <code>Auth</code> option selected, I get the following error when I trying to reach the update site:</p> <pre><code>HTTP Proxy Authentication Required: http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.7/content.xml HTTP Proxy Authentication Required: http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.7/content.xml Proxy Authentication Required </code></pre> <p>So now, I select <code>manual</code>, I define all correct information for the three schemas (HTTP, HTTPS, SOCKS): proxy, port, Auth, User and password. However, when I try to reach the update site, Eclipse is indicating that he is <code>Fetching children of Groovy Eclipse</code>, but keep this status at 0%...</p> <p>What is strange is that even if I put a wrong password in the <code>General &gt; Network Connections</code> configuration, I don't get any error message.</p> <p><strong>My questions:</strong></p> <ul> <li>What is wrong in my configuration?</li> <li>Is there another way to define the proxy configuration? </li> <li>Is there a way to get more information, to know what Eclipse is trying to do (the <code>workspace/.metadata/.log</code> doesn't contain any useful information) ? </li> </ul> <p>Another problem (minor however) is that the modifications of the proxy settings seem to be handled only after an Eclipse restart.</p> <hr> <p><em>ps1:</em> Using my browser, I can reach the update site, so it is not blocked by the proxy.</p> <p><em>ps2:</em> This problem is not related to this plugin, as Eclipse behaves the same way for other plugin.</p> <p><em>ps3:</em> Here is the content of the <code>workspace/.metadata/.log</code> when I start Eclipse and try to install the plugin (all these logs are written during the startup, none when Eclipse tries to access the update site)</p> <pre><code>!SESSION 2011-05-02 10:38:58.681 ----------------------------------------------- eclipse.buildId=I20101208-1300 java.version=1.6.0_20 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product !ENTRY org.eclipse.core.net 1 0 2011-05-02 10:39:02.228 !MESSAGE System property http.proxyHost is not set but should be XXX. !ENTRY org.eclipse.core.net 1 0 2011-05-02 10:39:02.228 !MESSAGE System property http.proxyPort is not set but should be 8080. !ENTRY org.eclipse.core.net 1 0 2011-05-02 10:39:02.244 !MESSAGE System property https.proxyHost is not set but should be XXX. !ENTRY org.eclipse.core.net 1 0 2011-05-02 10:39:02.244 !MESSAGE System property https.proxyPort is not set but should be 8080. !ENTRY org.eclipse.core.net 1 0 2011-05-02 10:39:02.244 !MESSAGE System property socksProxyHost is not set but should be XXX. !ENTRY org.eclipse.core.net 1 0 2011-05-02 10:39:02.244 !MESSAGE System property socksProxyPort is not set but should be 8080. !ENTRY org.eclipse.core.net 1 0 2011-05-02 10:39:02.244 !MESSAGE System property https.proxyHost is not set but should be XXX. !ENTRY org.eclipse.core.net 1 0 2011-05-02 10:39:02.244 !MESSAGE System property https.proxyPort is not set but should be 8080. !ENTRY org.eclipse.core.net 1 0 2011-05-02 10:39:02.244 !MESSAGE System property socksProxyHost is not set but should be XXX. !ENTRY org.eclipse.core.net 1 0 2011-05-02 10:39:02.244 !MESSAGE System property socksProxyPort is not set but should be 8080. !ENTRY org.eclipse.core.net 1 0 2011-05-02 10:39:02.244 !MESSAGE System property socksProxyHost is not set but should be XXX. !ENTRY org.eclipse.core.net 1 0 2011-05-02 10:39:02.244 !MESSAGE System property socksProxyPort is not set but should be 8080. !ENTRY org.eclipse.osgi 2 1 2011-05-02 10:39:02.447 !MESSAGE NLS missing message: TaskJobFactory_Refreshing_repository_configuration in: org.eclipse.mylyn.internal.tasks.ui.messages </code></pre> <hr> <p><em>Edit</em></p> <p>If I add the following lines in my <code>eclipse.ini</code> file (<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=281472#c7" rel="noreferrer">because of that</a>), it works:</p> <pre><code>-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient -Dhttp.proxyPort=8080 -Dhttp.proxyHost=XXX -Dhttp.proxyUser=XXX -Dhttp.proxyPassword=XXX -Dhttp.nonProxyHosts=localhost|127.0.0.1 </code></pre> <p>But why? Does this problem still exists in Eclipse 3.7?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload