[eclipse] Unable to read repository at http://download.eclipse.org/releases/indigo

I was trying to add the PDT,

Indigo - http://download.eclipse.org/releases/indigo

Unable to read repository at http://download.eclipse.org/releases/indigo. Unable to read repository at http://download.eclipse.org/releases/indigo. http://download.eclipse.org/releases/indigo is not a valid repository location.

So what's the correct url ? I went and looked lots of places. Can someone point me to the exact link ?

Edit :

Problem once you go to http://download.eclipse.org/releases/indigo , you will see the below error. So I guess its moved somewhere.

This software repository URL, http://download.eclipse.org/releases/indigo/ , provides access to the software repository for the Eclipse indigo release. Until its released in June 2011, it will contain milestone builds.

The repository site URL is typically pre-populated in the list of software repositories when you install the Eclipse Platform or SDK.

For more information about installing or updating software, see the Eclipse Platform Help.

There is also a collection of handy, downloadable all-in-one zip files available for many interests and platforms. Many people find these all-in-one packages the easiest way to get started.

This question is related to eclipse

The answer is


Sometimes, there will be firewalls and restrictions in the network preventing the plugin to get downloaded. We can try some other network. This actually resolved my issue.


Kudos to @Fredrik above. His answer didn't work for me, but lead me to the resolution of my issue:

In 'Window'|'Preferences'|'Install/Update'|'Available Software Sites'. The location that I was attempting to install from the 'Marketplace' was getting inserted with an https:// URL. Editing this to http:// allowed me to then use 'Help'|Install New Software ...' to select the repository from the drop down 'Work with:' combobox instead of having the https:// one automatically inserted and used. enter image description here


I was having this problem and it turned out to be our firewall. It has some very general functions for blocking ActiveX, Java, etc., and the Java functionality was blocking the jar downloads as Eclipse attempted them.

The firewall was returning an html page explaining that the content was blocked, which of course went unseen. Thank goodness for Wireshark :)


I had the same problem and resolved it by

  • Deleting the cache directory \eclipse\p2\org.eclipse.equinox.p2.repository\cache
  • Refreshing the repositories.
    • Preferences -> Install Update -> Available Software Sites => select the entry
    • Click the "Reload"

Had this problem in Linux, and I found that the user doesn't have permission to update the eclipse directory

change the owner of eclipse folder recursively, or run eclipse with user who has write permission to the folder


No meu caso era o anti-vírus que estava bloqueando a conexão do eclipse, desativei o anti-víruse tudo funcionou o//.

Translation: In my case it was the anti-virus that was blocking the connection from eclipse. I disabled the anti-virus and everything worked.


What worked for me:

Since yesterday, I have been trying to install the Eclipse plugin - "Remote System Explorer" from the Eclipse marketplace on a freshly downloaded Eclipse 4.8 as shown below,

enter image description here

and everytime I was getting this error:

Unable to read repository at http://download.eclipse.org/releases/kepler/. Unable to read repository at http://download.eclipse.org/releases/kepler/201306260900/content.jar. download.eclipse.org:80 failed to respond

which brought me to this SO post.

I tried a few solutions mentioned here in the different answers like this one and this one and this one, but none of them worked. I just gave up almost, thinking that either the corporate network here is somehow blocking the specific download requests or the 4.8 version of Eclipse is buggy.

Discovery:

I could not reload all the paths under 'Window' -> 'Preferences' -> 'Install/Update' -> 'Available Software Sites'.

http reload fails

Preconditions:

  • What did work for me from the beginning was:

    1. I could open google.com from the internal web browser of eclipse and,
    2. some of the update paths, I could reload even. (As was mentioned as a possible solution or test, in some of the answers here, like this one.)

Finally, this answer put me on the right track - for my specific case, at least. Just my step was to do the exact opposite of what that answer was doing.

Solution:

I had to change all the http:\\ paths to https:\\ and suddenly it started to work. I don't know who - either IE/Edge on Windows 10 or the Windows 10 firewall or the company firewall is blocking HTTP communications. But with HTTPS, I can finally install plugins from the Marketplace.

  • HTTPS reload works enter image description here

I must say, what is strange is that not all the paths required https. Except a few, the rest seemed to have had no problem working with HTTP. But I anyways changed all to HTTPS, just for good measure.

enter image description here

  • Then reload all the repositories one by one. Press "Apply and close".
  • Then check for updates. Eclipse will update itself successfully now.
  • Restart after update.
  • Finally you can install whichever Plugin you would like to from the Eclipse Marketplace.

Note: In case during the update, this same error pops up again, then see in the repositories that any new paths added by eclipse during the update, are also HTTPS and not HTTP.


Another way to solve this kind of error is to start eclipse with this argument

-vmargs -Djava.net.preferIPv4Stack=true

Working fine with Eclipse (x64) 4.3.1


For eclipse, there are normally different options available:

  • If you want to use the PHP development environment (only), you should go with the corresponding distro of eclipse. There is a distro for PHP provided by Zend.
  • You may add PDT to an indigo release by doing the following steps:
    • Check if an update site for PDT is included in your eclipse installation:
      1. Open the Help > Install New Software dialog.
      2. Click there on the link Available Software Sites.
      3. In the list, the URL http://download.eclipse.org/releases/indigo should be marked.
      4. Close the dialog.
    • Select from the Work with list the site with the right URL.
    • Enter in the filter box PDT and search in the list for the PDT tooling you want to install. enter image description here
    • Install the PDT tooling.
  • If that does not work, you may download a complete update site from the PDT project site.
    1. Visit the site (URL above).
    2. Click on downloads.
    3. Search there for the string "all in one update site".
    4. Download the zip file.
    5. Install it in your Indigo installation. Help > Install New Software > Add... > Enter name and select from button Archive the zip file

I hope some of the installation instructions will work for you.


This is the correct URL. Chances are Eclipse cannot read it properly because of the Internet connexion.

Are you using a proxy to get Internet access? If this is the case you need to notify Eclipse via the "Preferences/General/Network Connections" menu.


If you can't access https://dl-ssl.google.com/android/eclipse/ simply try to use http:// instead of https://


I had the same problem. Try to deactivate your Firewall (I had avast!), which worked for me.

(Sorry for my English I'm French :D)


Please make sure you are using correct url. If You are using url - http://download.eclipse.org/releases/indigo on your eclipse luna(v4.4) then it might be not working in this case you should use - http://download.eclipse.org/releases/luna

I have tried this and its working.


Also try it by turning off the firewall, and similar services. It worked for me!


That URL works fine. The message you report is normal when you look at it in a browser. My copy of Eclipse has no problems talking to it. If yours does, I suspect a proxy configuration error in your copy of eclipse.


I spent whole my day figuring out this and found the following. And it works great now.

This is basically an issue with your gateway or proxy, If you are under proxy network, Please go to the network settings and set the proxy server settings(server, port , user name and password). If you are under direct gateway network, your firewall may be blocking the http get request from your eclipse.


My issue was the Eclipse Marketplace client needed updating.

After trying Fredriks solution of

Go to Window -> Preferences -> Install/update: Available Software sites. Then remove and add the indigo site. Just remember to copy the adress so you can add it again.

The Marketplace client wouldn't load. But I could access it via a browser. So, I went to the Help -> Eclipse Marketplace it loaded fine

Clicked on Installed and found the Eclipse Marketplace Client and it had so i clicked it it updated and then when I did the standard update everything worked.


In Windows 7 32-bit version, I started the eclipse with as an administrator. This worked for me.


Also try if in the eclipse paths there is some duplicated
Luna - http://download.eclipse.org/releases/luna
Luna - http://download.eclipse.org/releases/luna/1234567...

Try both of them, one may work.

In my case, with 2 eclispes installed, in one of them the path
Luna - http://download.eclipse.org/releases/luna

works, in the other one, i must select:
Luna - http://download.eclipse.org/releases/luna/123456...

In both the internal browser can access to internet. Both are Luna (but one is RCM, the other one i don't remember).


I was also unable to read the repository. Even after the disabling most of the entries under Available Software Sites things were still not working.

I had no proxy to worry about and even disabling the firewall (which I do not recommended) as a last resort did not help.

Viewing the error log, from the dialog box which Eclipse displayed, there was mention of a cache directory under .eclipse in my home directory. I deleted the two cache directories I found and Eclipse was working again.

For my setup the two directories I deleted were:

.eclipse/org.eclipse.platform_4.4.2_119745494_macosx_cocoa_x86_64/p2/org.eclipse.equinox.p2.core/cache

.eclipse/org.eclipse.platform_4.4.2_119745494_macosx_cocoa_x86_64/p2/org.eclipse.equinox.p2.repository/cache

NB: My setup is Eclipse Luna 4.4.2 running on Mac OS X Yosemite 10.10.3


Check if you are able to connect to eclipse market place url (http://marketplace.eclipse.org/) from browser. If its working then the issue is because of proxy server using in your network. We have to update eclipse with proxy server details used in our network.

Go to :- Windows-> Preference -> General -> Network Connections.

enter image description here

And edit HTTP ,with proxy details.

enter image description here

Click OK

Done.


In my case, I discovered that the major issue why my eclipse won't connect to internet is my Internet Service Provider. I was only able to browse some websites but unable to browse other website. Fixing the issue with the ISP worked.