Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » marketplace error after fresh install of 2020-06
marketplace error after fresh install of 2020-06 [message #1828822] Fri, 19 June 2020 09:29 Go to next message
some one is currently offline some oneFriend
Messages: 1
Registered: June 2020
Junior Member
Fresh install of 2020-06 , fresh workspace, go to login to access my list of favourite plugins after not using eclipse for more than a year, and error.

Any ideas out there ?

MarketplaceDiscoveryStrategy failed with an error
Cannot complete request to https://marketplace.eclipse.org/api/p?client=org.eclipse.epp.mpc.core&client.version=1.8.3.v20200522-1533&os=macosx&ws=cocoa&nl=en_US&java.version=13.0.2&product=org.eclipse.epp.package.java.product&product.version=4.16.0.I20200604-0540&runtime.version=3.18.0.v20200506-2143&platform.version=4.16.0.v20200604-0540: Invalid response content: The markup in the document preceding the root element must be well-formed.
Invalid response content: The markup in the document preceding the root element must be well-formed.
The markup in the document preceding the root element must be well-formed.
Received response begins with:

1: <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
2: <html>
3:   <head>
Re: marketplace error after fresh install of 2020-06 [message #1828855 is a reply to message #1828822] Sat, 20 June 2020 04:54 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
Perhaps this was a transient server problem because when I visit that URL it yields content that starts like this:
<marketplace>
  <market name="Eclipse Project" id="3891" url="https://marketplace.eclipse.org/category/markets/eclipse-project">
    <category id="6" count="5" url="https://marketplace.eclipse.org/taxonomy/term/6%2C3891" name="Editor"/>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: marketplace error after fresh install of 2020-06 [message #1839618 is a reply to message #1828822] Wed, 24 March 2021 15:38 Go to previous messageGo to next message
Steven Schroeder is currently offline Steven SchroederFriend
Messages: 12
Registered: July 2009
Junior Member
I have the same problem, but with 2021-03:
MarketplaceDiscoveryStrategy failed with an error
Cannot complete request to https://marketplace.eclipse.org/api/p?client=org.eclipse.epp.mpc.core&os=win32&platform.version=4.19: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I see the XML when I go to https://marketplace.eclipse.org/api/p?client=org.eclipse.epp.mpc.core&os=win32&platform.version=4.19 in a web browser, but Eclipse fails.
Re: marketplace error after fresh install of 2020-06 [message #1839645 is a reply to message #1839618] Thu, 25 March 2021 06:02 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
PKIX errors are caused by the JRE you are using to run the IDE missing the root certificate associated with the site being accessed. Updating your JRE to a newer one should help.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: marketplace error after fresh install of 2020-06 [message #1849432 is a reply to message #1839645] Wed, 19 January 2022 17:08 Go to previous messageGo to next message
Rachel Cohen is currently offline Rachel CohenFriend
Messages: 1
Registered: January 2022
Junior Member
hello,
I use in eclipse2021-12 and with jdk 17 and I get error when I try to access the Market place:
org.eclipse.core.runtime.CoreException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at org.eclipse.epp.internal.mpc.core.transport.httpclient.HttpClientTransport.stream(HttpClientTransport.java:117)
at org.eclipse.epp.internal.mpc.core.util.FallbackTransportFactory$FallbackTransport.stream(FallbackTransportFactory.java:74)
at org.eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.java:165)
at org.eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.java:130)
at org.eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.java:117)
at org.eclipse.epp.internal.mpc.core.service.DefaultMarketplaceService.listMarkets(DefaultMarketplaceService.java:195)
at org.eclipse.epp.internal.mpc.core.service.CachingMarketplaceService.listMarkets(CachingMarketplaceService.java:73)
at org.eclipse.epp.internal.mpc.ui.catalog.MarketplaceDiscoveryStrategy.findMarketplaceCategory(MarketplaceDiscoveryStrategy.java:917)
at org.eclipse.epp.internal.mpc.ui.catalog.MarketplaceDiscoveryStrategy.performDiscovery(MarketplaceDiscoveryStrategy.java:232)
at org.eclipse.equinox.internal.p2.discovery.Catalog.performDiscovery(Catalog.java:88)
at org.eclipse.epp.internal.mpc.ui.catalog.MarketplaceCatalog.performDiscovery(MarketplaceCatalog.java:432)
at org.eclipse.equinox.internal.p2.ui.discovery.wizards.CatalogViewer.lambda$1(CatalogViewer.java:568)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)


I try to add the marketPlace certificate to cacerts in jdk but it didn't solve the problem?
Someone can help me with this?
Re: marketplace error after fresh install of 2020-06 [message #1851930 is a reply to message #1849432] Thu, 21 April 2022 19:18 Go to previous message
md Rahman is currently offline md RahmanFriend
Messages: 1
Registered: April 2022
Junior Member
I did following two things (not sure which one worked)
First I use chrome browser's address bar's lock button to view the certificate and import it to base64 .cer file, then I imported that cer to cacert that belong's to the jre that my eclipse was using, I thought this would solve the problem, but it was still showing that error, so I went to preference and set the manual proxy (my workplace's proxy setting). After that I could go to marketplace successfully using eclipse context menu.
Previous Topic:Creating .Net Core projects
Next Topic:ABAP: Not Able to Debug
Goto Forum:
  


Current Time: Thu Dec 26 15:04:37 GMT 2024

Powered by FUDForum. Page generated in 0.07997 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top