62

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.

Community
  • 1
  • 1
Hari K T
  • 4,174
  • 3
  • 32
  • 51

24 Answers24

100

Can you connect to internet at all through Eclipse?

  • Open the internal webbrowser. In Eclipse: Window -> show view -> Other -> General: Internal web browser.
  • Look up any normal adress, is it working?

Can you connect to another update site? Try for example Eclipse Emma: http://update.eclemma.org/ Do you see anything there?

What are your proxy preferences? Go to Window -> preferences -> General: Network connections.

The active provider:

Specifies the settings profile to be used when opening connections. Choosing the Direct provider causes all the connections to be opened without the use of a proxy server. Selecting Manual causes settings defined in Eclipse to be used. On some platforms there is also a Native provider available, selecting this one causes settings that were discovered in the OS to be used.

If internet is working fine outside of Eclipse, try changing to Native. After that, try Direct.

I have encountered problems where an update site would not load, then I had to remove it and add it again. This forces Eclipse to reread the contents of the site even if it has a cached copy. So, if you still get no connection to the indigo update site, but everything else is working, try that. 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.

As suggested in a comment below by @lostiniceland, this is a simpler way to achieve the above:

Goto Window -> Preferences -> Install Update -> Available Software Sites => select the entry and click the "Reload" button to the right. This is sometimes also helpful when you have a local updatesite for testing custom plugins

spacewanderer
  • 356
  • 3
  • 7
Fredrik
  • 10,626
  • 6
  • 45
  • 81
  • Thank you @Fredrik . You are exactly correct . I was able to browse via internal broswer and you also teached me something new. Defnitly the boundy is for you. Thank you once again. – Hari K T Oct 11 '11 at 16:44
  • 11
    I just had the same problem with Eclipse Classic 3.7.2. When the it is not due to the proxy then you have to reload the updatesite. Goto Preferences -> Install Update -> Available Software Sites => select the entry and click the "Reload" button to the right. This is sometimes also helpful when you have a local updatesite for testing custom plugins. – lostiniceland Mar 07 '12 at 12:32
  • @lostiniceland Yes, that button is fairly new I think, this wasn't an option in earlier versions. I'll add that suggestion. – Fredrik Mar 07 '12 at 16:40
  • In my case the above procedure didn't help until I opened the Internet explorer and saw that the proxy settings were not set, although internet was working. I have set correct proxy settings in IE and only then in Eclipse Network connection settings the new fields appeared, as: Native HTTP proxy ...etc Entering correct proxy settings in Manual provider in eclipse network settings didn't help. – maximus Jun 29 '12 at 02:26
  • I can connect to any web page address. – Osama F Elias Sep 12 '12 at 10:33
  • 1
    this part did the trick for me: Go to Window -> Preferences -> Install/update: Available Software sites. Then remove and add the indigo site..THANK YOU VERY MUCH!!!!! – TharakaNirmana Feb 11 '13 at 07:33
  • 1
    @Fredrik, If "native causes settings that were discovered in the OS to be used", does that mean "native" is faster or "direct"? – Pacerier Nov 12 '14 at 07:32
  • I am facing the same error with Eclipse Luna - "http://download.eclipse.org/releases/luna/". I have verified that proxy settings are not set and also not required. I can browse to this URL from the Internal Web Browser. But when I try this in "Install New Software", then getting the error "Unable to read repository...". – mbgsuirp Jan 13 '16 at 10:07
  • 1
    i have the same problem with eclipse indigo , but nothing worked for me – Melad Basilius Jun 06 '16 at 08:50
  • Following this advice, I found I was unable to connect to any web page. The solution for me was to download new security certificates for Java. That is, I replaced the cacerts file with one from my company. My cacerts file was at C:\Program Files\Java\jdk1.8.0_321\jre\lib\security\cacerts – Greg Hadaller Apr 26 '22 at 14:30
  • @MeladBasilius Same here! I didn't use update sites for years... and now nothing works (except the http://update.eclemma.org referenced here). Still using Eclipse 3.8 – marcolopes May 25 '23 at 11:21
33

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"
Gary
  • 13,303
  • 18
  • 49
  • 71
user2956341
  • 331
  • 3
  • 2
8

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.

Ajil Mohan
  • 7,299
  • 2
  • 18
  • 18
4

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 :)

David Minor
  • 632
  • 7
  • 15
4

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

4

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

user1762278
  • 101
  • 2
  • 3
  • Finally! I have spent hours tracking down networking issues, but this was exactly what I needed! – Fred Mar 14 '22 at 22:06
1

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

Sergey K.
  • 24,894
  • 13
  • 106
  • 174
Bulent
  • 11
  • 1
1

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)

Steve
  • 9,270
  • 5
  • 47
  • 61
frenchy
  • 11
  • 1
1

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.

1

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

ergohack
  • 1,268
  • 15
  • 27
  • ooops. Could some moderator please undo my changes to this answer. I reverted to how the answer was. I accidentally edited this answer, thinking it was my answer. When I realized, I changed back what I thought I had added. Would be cleaner though, if the moderators could reset and remove my changes altogether, I guess. – Duck Dodgers Jul 11 '19 at 13:10
1

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.

Duck Dodgers
  • 3,409
  • 8
  • 29
  • 43
  • 1
    I had to do both using the oomph installer. For http://download.eclipse.org/buildship/updates/e411/releases/3.x. it had to be https, for https://dl.bintray.com/fraenkelc/buildship3_setuptask/updates it had to be http. – Torsten Jul 24 '19 at 14:10
  • I am glad it helped. `:)` – Duck Dodgers Jul 25 '19 at 07:35
0

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

Nikana Reklawyks
  • 3,233
  • 3
  • 33
  • 49
Dave
  • 1
  • 1
0

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

  • 2
    Note that the question was about Eclipse, not Android ADT. – laalto Sep 03 '13 at 12:05
  • you are wonderful, thank you. Was struggling to fix an error with mybatise-code generator and eclipse was give some crazy certificate error, changing https to http really really really worked.. – gannu_lee May 24 '19 at 21:04
0

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.

0

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

Steve
  • 696
  • 7
  • 15
0

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.

scylla
  • 124
  • 9
0

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.

Karidrgn
  • 155
  • 1
  • 10
0

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.

4b0
  • 21,981
  • 30
  • 95
  • 142
Ahamed
  • 29
  • 2
0

I was facing the issue while adding team explorer plugin to eclipse from https://marketplace.eclipse.org/content/team-explorer-everywhere. Used team explorer plugin for ecplise for internal use of xamarin for mac.

Error: unable to read repository at http://marketplace.eclipse.org/content/team-explorer-everywhere org.eclipse.equinox.p2.core.provisionexception unable to read repository Unknown host exception

Goto https://github.com/microsoft/team-explorer-everywhere/releases Download: TFSEclipsePlugin-UpdateSiteArchive-14.135.0.zip From Eclipse->Help->Install new software. From Add Repository window select Archive select the downloaded zip file. Continue installation.

Suchith
  • 1,276
  • 17
  • 39
0

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.

mliebelt
  • 15,345
  • 7
  • 55
  • 92
  • Yes you are right, but when I went to see the url with the browser http://download.eclipse.org/releases/indigo/ I am seeing `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.` . As I have installed Java already for trying the Android, I want to add PDT for PHP, so I can remove netbeans . – Hari K T Oct 02 '11 at 18:50
0

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.

Dunaril
  • 2,757
  • 5
  • 31
  • 53
  • No once you go to the url you can see `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.....` . So I am wondering – Hari K T Oct 02 '11 at 18:46
  • I am not using any proxy. Just dialing with my CDMA device. Wondering many people have already asked about the proxy. – Hari K T Oct 02 '11 at 18:51
  • @Hari Weird indeed. Which version of Eclipse are you using? Is this an old version? – Dunaril Oct 02 '11 at 21:08
  • Sorry for the late reply. Yes really wired. I have downloaded some weeks back. Not sure other than I can see Indigo. Any other I want to try. From Help-> About . Its indigo . – Hari K T Oct 04 '11 at 18:12
0

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.

bmargulies
  • 97,814
  • 39
  • 186
  • 310
  • 1
    What should I change then for the proxy ? I am dialing directly with the device. Just dial and I can browse . So I am not adding any proxy to my Browser too .............. – Hari K T Oct 03 '11 at 08:35
-1

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).

fresko
  • 1,890
  • 2
  • 24
  • 25
-4

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.

Leigh
  • 28,765
  • 10
  • 55
  • 103
Vagner
  • 1
  • Welcome to StackOverflow! It is expected that you answer questions with formal english. The same applies if you ask a question. Besides, you should be able to configure your anti-virus without needing to block eclipse connection. Put more effort in your answer x) – Werner Sep 19 '13 at 17:24