Eclipse 3.5 Unable to install plugins

113,392

Solution 1

We had tons of issues here, namely with the proxy support. We ended-up using Pulse: http://www.poweredbypulse.com/

Pulse has built-in support for a few plugin, however, you can add third-party plugin and even local jar file quite easily.

Strangely it does not always use the built-in Eclipse feature, so sometimes when Eclipse become difficult ( like in our case for the proxy business ), you can work-around it with Pulse.

Solution 2

Use the following setting and you will be all set. Go to Window --> Preference --> General --> Network Connection --> select Direct from drop downenter image description here

Solution 3

Couple of weeks ago I stumbled upon a Problem with Java and a MySQL-Connection. The Problem being that no Connection could be established. Anyway, the fix was to add -Djava.net.preferIPv4Stack=true to the command line.

I just added the same line to eclipse.ini and as it turns out, it also fixes this issue for me. The option name is pretty self-explainitory: It prefers the IPv4 stack over the IPv6 stack. So this solution may not be viable for everyone.

Solution 4

I had a similar problem setting up eclipse in the office. I had set up the for HTTP, HTTPS and SOCKS in:

Window>pref>general>network connections

Clearing the proxy settings for SOCKS fixed the problem for me.

Solution 5

I had a similar problem setting up eclipse.

I changed: NATIVE connection to MANUAL and cleared the proxy settings for SOCKS in Windows -> Preferences -> General -> Network connection. That fixed the problem for me.

Share:
113,392
SirFabel
Author by

SirFabel

Updated on October 13, 2020

Comments

  • SirFabel
    SirFabel over 3 years

    I really don't know what's going on with Eclipse 3.5 (3.5.0 or 3.5.1, same issues), but it's been now 2 days that I'm struggling with Eclipse to find a way to make the plugins installation work via the "Install New Software screen"!!! I have visited a lot of forums and blogs, tried many solutions but in vain: each time the current problem disappears and a new one appears.

    I'm trying to make it work at my office, so behind proxy. The best advice I got so far is the one regarding the known issue with NTLM proxies: http://wiki.eclipse.org/ECF_Filetransfer_Support_for_NTLMv2_Proxies. I put in place the hint, but now I have a new error message: Eclipse cannot find the repositories at all... For instance here is what I get now with the Galileo update site itself:

    org.eclipse.equinox.internal.provisional.p2.core.ProvisionException: No repository found at http://download.eclipse.org/releases/galileo.
        at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:380)
        at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:606)
        at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
        at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:88)
        at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil.loadMetadataRepository(ProvisioningUtil.java:88)
        at org.eclipse.equinox.internal.provisional.p2.ui.QueryableMetadataRepositoryManager.doLoadRepository(QueryableMetadataRepositoryManager.java:55)
        at org.eclipse.equinox.internal.provisional.p2.ui.QueryableRepositoryManager.loadRepository(QueryableRepositoryManager.java:195)
        at org.eclipse.equinox.internal.provisional.p2.ui.QueryableRepositoryManager.loadAll(QueryableRepositoryManager.java:108)
        at org.eclipse.equinox.internal.p2.ui.sdk.PreloadingRepositoryHandler$2.run(PreloadingRepositoryHandler.java:71)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    

    Samething with http://download.eclipse.org/eclipse/updates/3.5, or http://download.eclipse.org/tools/mylyn/update/e3.4/ and whatever the site: no one works.

    Please somebody help!

    PS: Some more details below:

    I have the same issue with third party software too... for instance: http://www.epic-ide.org/updates/testing/site.xml.... same error message.

    If I go to Preferences > Install / Updates > Available Software Sites, click on whatever the site and on Test Connection I get a ProvisionException with this error message (when I click on details):

    Unable to read repository at http://download.eclipse.org/technology/epp/packages/galileo/site.xml. Unable to read repository at http://download.eclipse.org/technology/epp/packages/galileo/site.xml. Server redirected too many times (20)

    the solution is: add following lines to your eclipse.ini file (before -vmargs): (verified on 3.5 ; 3.5.1; 3.6.2)

    -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
    
  • SirFabel
    SirFabel over 14 years
    Thank you very much for this wonderful advice. Actually Pulse did not really help me directly, but it is by installing it and configuring it that I have fixed my issue: I disabled the SOCKS settings and now it works!! The error message of Pulse was more explicit than the one of Eclipse... Pulse still seems to be a very a good tool! :-)
  • SirFabel
    SirFabel over 14 years
    To anyone who has some issues with installing plugins in Eclipse 3.5 through Proxy, here are my advices: - Install the SR1: Eclipse 3.5.1 (they seem to have corrected some stuffs) - Set the following system property in you eclipse.ini file: -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=‌​org.eclipse.ecf.prov‌​ider.filetransfer.ht‌​tpclient For more details on this: wiki.eclipse.org/ECF_Filetransfer_Support_for_NTLMv2_Proxies - Configure only the HTTP and HTTPS proxies. Not SOCKS!! Normally it should work. Bye, SirFabel
  • uKolka
    uKolka over 11 years
    Android is..never mentioned whatsoever in the questions, nor comments.
  • avalancha
    avalancha almost 10 years
    +1 This one did it for me too, no other steps required
  • Ruan Mendes
    Ruan Mendes almost 9 years
    Solved it for me running Eclipse Juno (4.2) on the Mac where the other solutions on this page didn't.
  • dahui
    dahui over 8 years
    This just sorted out a whole host of problems I was having. Thank you, kind sir!
  • Random
    Random over 8 years
    Worked for me on Eclipse Mars !
  • Rahul Maurya
    Rahul Maurya about 8 years
    Thanks a lot, after 3 hr of struggle finally got this. And it is working for me.
  • Sebi2020
    Sebi2020 over 6 years
    The TE never mentioned android.