aws / aws-toolkit-eclipse

(End of life: May 31, 2023) AWS Toolkit for Eclipse
http://aws.amazon.com/eclipse
Apache License 2.0
275 stars 177 forks source link

AWS toolkit installation failing in Eclipse #166

Open harshu166 opened 4 years ago

harshu166 commented 4 years ago

I'm getting below error when trying to install AWS toolkit using Marketplace or with "Install new software" option

Unable to read repository at http://aws.amazon.com/eclipse/site.xml/content.xml. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

My Eclipse download version is Eclipse IDE for Java Developers

Version: 2019-09 R (4.13.0) Build id: 20190917-1200

jalvarezferr commented 4 years ago

The error refers to not being able to validate the SSL certificate presented by the website. However, the URL is an HTTP one. That would be something to have a look it, except for the fact that the URL itself leads to a 404 error. However, cutting it to just /site.xml does work both for HTTP and HTTPS requests.

Anyway, the 404 would come after the SSL connection is established, so we should fix that first. One possible cause is that your environment does not have the AWS root CA certificates as trusted. So have a look at:

https://aws.amazon.com/es/blogs/security/how-to-prepare-for-aws-move-to-its-own-certificate-authority/

And:

https://stackoverflow.com/questions/40371726/how-to-solve-the-connection-when-install-aws-toolkit-on-eclipse-neon/40417523#40417523

Regards

vishnuvyasan commented 4 years ago

The install is very slow, mostly stopping at fetching site.xml

anujnaRao commented 3 years ago

What is the solution for this? I am also getting the same error.

Cannot complete the install because one or more required items could not be found. Software currently installed: Amazon RDS Management 1.0.0.v201807201743 (com.amazonaws.eclipse.rds.feature.feature.group 1.0.0.v201807201743) Missing requirement: Amazon Relational Database Service (RDS) Plugin 1.0.0.v201807201743 (com.amazonaws.eclipse.rds 1.0.0.v201807201743) requires 'osgi.bundle; org.eclipse.datatools.connectivity.ui.dse 1.1.0' but it could not be found Cannot satisfy dependency: From: Amazon RDS Management 1.0.0.v201807201743 (com.amazonaws.eclipse.rds.feature.feature.group 1.0.0.v201807201743) To: org.eclipse.equinox.p2.iu; com.amazonaws.eclipse.rds [1.0.0.v201807201743,1.0.0.v201807201743]

elleech commented 2 years ago

Same issues here. My solution for this is to go to Help > Install New Software > Work with: (select http://download.eclipse.org/releases/ with your version) > Install Database Development. Then AWS toolkit can be installed successfully.