aws-toolkit-eclipse icon indicating copy to clipboard operation
aws-toolkit-eclipse copied to clipboard

AWS toolkit installation failing in Eclipse

Open harshu166 opened this issue 4 years ago • 4 comments

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

harshu166 avatar Dec 06 '19 21:12 harshu166

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

jalvarezferr avatar Dec 10 '19 09:12 jalvarezferr

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

vishnuvyasan avatar Dec 24 '19 06:12 vishnuvyasan

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]

anujnaRao avatar Dec 14 '20 06:12 anujnaRao

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.

elleech avatar Apr 25 '22 16:04 elleech