Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't connect to Eclipse Marketplace

I am trying to install log4j Eclipse Plugin.

But I'm Getting this error message :

Unable to read repository at https://sourceforge.net/projects/oneclick-logger/files/site/content.xml. Received fatal alert: handshake_failure

like image 810
Anu Shibin Joseph Raj Avatar asked Feb 01 '17 03:02

Anu Shibin Joseph Raj


People also ask

Why is marketplace in Eclipse not working?

In recent versions of MyEclipse, the Eclipse Marketplace may not be accessible. Once done, restart the IDE to apply the changes. You should now see the Eclipse Marketplace entry in the Help > Install from Catalog dialog. This is caused due to the fact that the Eclipse Marketplace API now requires HTTPS.

How do I access the marketplace in Eclipse?

To access the Eclipse Marketplace Client from the Eclipse IDE: Click Cltr + 3 (Windows) or Command + 3 (Mac) - this will launch the Quick Access search bar. Start typing “Eclipse Marketplace”; it will auto-complete before you finish typing. Click Enter.

How do I update my marketplace in Eclipse?

Inside Eclipse select Help -> Install New Software... Step 2. Add a new site using the update site url to the Eclipse Update Manager.

How do I fix Marketplacediscoverystrategy failed with an error?

You can solve u r problem like this, In Eclipse IDE go to Windows --> preference --> General --> Network Connection --> Select Active provider to Direct --> Apply --> Ok.


1 Answers

I had the same issue for yet another plugin hosted on SourceForge. It seems to be a common issue.

As stated in the comments above, this solution helped me: https://stackoverflow.com/a/38264878. But I had to go some extra steps to find which JRE my Eclipse installation was using. So here are all the steps put together. This instructions worked on my Mac, using Eclipse Neon. But other OS and versions of Eclipse will have really similar operations:

1./ Check the JRE used by Eclipse: Click the "help" menu -> Installation Details -> Configuration Then look for the -vm argument

2./ Open a finder/file explorer to the JRE's .../lib/security sub-folder And make a backup of local_policy.jar and US_export_policy.jar. Just in case.

3./ Download the Java Cryptography Extension from Oracle:

  • Java7: http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html
  • Java8: http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html

And unzip it.

4./ Copy local_policy.jar and US_export_policy.jar just just downloaded into the JRE's .../lib/security sub-folder

5./ Restart Eclipse

Then retry the installation. It should be fine this time.

like image 67
Coyotwill Avatar answered Oct 02 '22 19:10

Coyotwill