Tagged: Marketplace, MyEclipse
- This topic has 15 replies, 4 voices, and was last updated 1 year, 7 months ago by Brian Fernandes.
-
AuthorPosts
-
rinu-johnciti-comParticipantNot able to access the eclipse marketplace from help>>install from Catalog. Following error is always showing up even when I use different JDK’s
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.2.v20200210-1402&os=win32&ws=win32&nl=en_US&java.version=11.0.7&product=com.genuitec.myeclipse.product.ide&product.version=16.0.0.CI-006&runtime.version=3.17.100.v20200203-0917&platform.version=4.15.0.v20200305-0155: Unable to read repository at https://marketplace.eclipse.org/api/p?client=org.eclipse.epp.mpc.core&client.version=1.8.2.v20200210-1402&os=win32&ws=win32&nl=en_US&java.version=11.0.7&product=com.genuitec.myeclipse.product.ide&product.version=16.0.0.CI-006&runtime.version=3.17.100.v20200203-0917&platform.version=4.15.0.v20200305-0155.
Unable to read repository at https://marketplace.eclipse.org/api/p?client=org.eclipse.epp.mpc.core&client.version=1.8.2.v20200210-1402&os=win32&ws=win32&nl=en_US&java.version=11.0.7&product=com.genuitec.myeclipse.product.ide&product.version=16.0.0.CI-006&runtime.version=3.17.100.v20200203-0917&platform.version=4.15.0.v20200305-0155.
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Brian FernandesModeratorRinu,
Sorry you ran into this. We will be releasing a fix for this shortly, but in the meanwhile, please try the workaround mentioned here and let us know if you still experience issue with the marketplace.
rinu-johnciti-comParticipantHi Brain,
I had followed that workaround to display the eclipse marketplace icon in the install catalog window. The actual issue is Marketplace data is not loading. Please refer the attached document for the screenshots of the issue
Attachments:
You must be logged in to view attached files.
support-swapnaModeratorRinu,
Sorry that you are seeing this issue. Thank you for the screenshots.
It looks like there is a problem accessing https urls.1. Do you see the same problem with JDK 13 that is shipped with MyEclipse 2020? If you have not checked with JDK 13 after applying the workaround, then please try starting MyEclipse with JDK 13 that is included in the install and see if the issue persists.
2. Are you behind a firewall or proxy? If yes, then did you configure it in the MyEclipse IDE as suggested in this FAQ?
https://www.genuitec.com/forums/topic/configuring-the-network-proxy-settings/
Most of the time the “PKIX path building failed” exceptions are because the configuration of your firewall does not handle correctly requests done to https uris. Could you please confirm this by asking your network admin?3. Can you please check if you can access this URL in the Internal Web Browser from within MyEcliipse? Go to Window > Show View > Other > Internal Web Browser. It should display an XML file. If you cannot access the URL from within MyEclipse, then please check if you can access it from the browser outside MyEclipse.
–Swapna
Genuitec Support
rinu-johnciti-comParticipantHi Swapna,
find my answers below and see the attached file for more details1. Do you see the same problem with JDK 13 that is shipped with MyEclipse 2020? If you have not checked with JDK 13 after applying the workaround, then please try starting MyEclipse with JDK 13 that is included in the install and see if the issue persists.
Yes I had tried it with JDK 8,11,13 and also with the internal JDK13. Same issue with all the JDKs
2. Are you behind a firewall or proxy? If yes, then did you configure it in the MyEclipse IDE as suggested in this FAQ?
https://www.genuitec.com/forums/topic/configuring-the-network-proxy-settings/
Most of the time the “PKIX path building failed” exceptions are because the configuration of your firewall does not handle correctly requests done to https uris. Could you please confirm this by asking your network admin?
Yes I’m behind a proxy and was using the proxy settings without any issues with MyEclipse 2019. Issue is when I upgraded to version 2020.
3. Can you please check if you can access this URL in the Internal Web Browser from within MyEcliipse? Go to Window > Show View > Other > Internal Web Browser. It should display an XML file. If you cannot access the URL from within MyEclipse, then please check if you can access it from the browser outside MyEclipse.
Yes I can access the url from the internal browser without any issues.
I suspect that the issue might be with MPC client
See the attachment for more details
rinu-johnciti-comParticipantsee the attachment
Attachments:
You must be logged in to view attached files.
Brian FernandesModeratorRinu,
Thank you for sending in detailed notes and screenshots.
I realize these proxy settings worked for you in 2019, but you have both HTTP and HTTPS configured on the preference page. Please configure either HTTP or HTTPS – this page is used to specify your path to the proxy server (do you connect to your proxy server using HTTP or HTTPs?) For more details, please see: https://www.genuitec.com/forums/topic/configuring-the-network-proxy-settings/
If you ignore the marketplace, are you able to install plugins from an update site with these proxy settings? If you add any update site in the Help > Install from Site dialog – for example: https://dbeaver.io/update/latest – does this show you a list of items that can be installed (you don’t need to proceed with the install), or does this also fail? This will help us determine whether the problem is with the proxy settings or something specifically wrong with the marketplace.
rinu-johnciti-comParticipantHi Brian,,
When I try the Help > Install from Site dialog – for example: https://dbeaver.io/update/latest, following error is getting displayed
Unable to read repository at https://dbeaver.io/update/latest/content.xml.
Unable to read repository at https://dbeaver.io/update/latest/content.xml.
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetNo issue with http urls for install from site
Pankaj SharmaParticipantYes, I did face the same issue. Here is the fix.
Problem:
eclipse.buildId=4.21.0.I20210906-0500
java.version=16.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
org.eclipse.epp.mpc.core
Error
Thu Sep 16 13:07:14 IST 2021
Cannot complete request to https://marketplace.eclipse.org/api/p?client=org.eclipse.epp.mpc.core&os=win32&platform.version=4.21: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
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)Solution:
In order to resolve this issue, I copied my security/cacert from my JRE (java-se-8u41/jre/lib/security) and then paste it in my eclipse e.g. /eclipse/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_16.0.2.v20210721-1149/jre/lib/security (replace cacert of the eclipse by cacert of JRE)For more detail step by step along with screen-shots, you may refer the following url : https://thebasictechinfo.com/java-8/pkixunable-to-find-valid-certification-path-to-requested-target-fix/
Enjoy 🙂Attachments:
You must be logged in to view attached files.
sandikumar3ParticipantI have been facing the same issue like ‘sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target PKIX path building failed’.
I am using below java and eclipse versions –
1. Eclipse Version: 2022-03 (4.23.0)
2. Java version “17.0.3.1” 2022-04-22 LTS
3. Operating System : Windows 10 Enterprise, version : 21H2, 64bitPlease let me know appropriate solution to fix this
support-swapnaModeratorKumar,
Have you tried Pankaj’s solution (see above)? If no, then please give it a try and see if it fixes the issue.
If you are behind a firewall or proxy, then please refer to Brian’s response on this thread about setting the proxy details in the IDE.Since you are working with Eclipse, I suggest you cross post to Eclipse forums and development forums like stackoverflow.com for better suggestions.
Hope this helps.
–Swapna
Genuitec Support
adam trisselParticipantI am facing the same issue. I cannot get to the catalog, and when I try to access the URL above I get the following message:
“Page load failed with error: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.”. I am able to make calls to https and http from my chrome browser, so this is not a firewall issue, and seems to be introduced by myeclipse-2022.1.0a-offline-installer-macosx.dmg.I am given the option to go to “Setup Network” when “install from Catalog” is tried, but, again, I have no proxy.
Guys this should out of the box, I have been using myEclipse for years, and this is the first time this has happened. I am not comfortable cutting and pasting certs from VMs to get this to work. What is a simple solution>
Attachments:
You must be logged in to view attached files.
support-swapnaModeratorAdam,
Sorry that you are seeing this issue. Thank you for the screenshots.
This looks like a known problem with newer versions of Eclipse on Mac OS. Since MyEclipse is based on Eclipse, it is effected too.
Please refer to this bug report and check if editing the Info.pList for MyEclipse helps :
https://bugs.eclipse.org/bugs/show_bug.cgi?id=568749
https://littleshark.tistory.com/1
Reset the Network Connections settings to defaults if you are not behind a proxy and then edit the Info.pList file.If none of the above suggestions work, then please share the exact Mac OS version details along with the .log file located in workspace dir/.metadata/.log (rename the extension to .txt and attach it here) to help us investigate further.
Apologies for inconvenience caused. Do let us know how this works for you.
–Swapna
Genuitec Support
adam trisselParticipantI added the following to my info.plist file:
<key>NSAppTransportSecurity</key>
<dict>
<key> NSAllowsArbitraryLoads </key>
<true />
</dict>I restarted eclipse. When I try to register I get the attached error message “Activation has failed Oh no!…
I am running mac os x 12.6.3.
So, concerned that I cannot register the product that I just paid for. I still cannot get to the catalog, so I canoot add plugins. The support pages you mentioned were several years old. I really need to get this fixed or reconsider my IDE options for my group.
Attachments:
You must be logged in to view attached files.
Brian FernandesModeratorAdam,
A quick solution tot he activation issue would be to use the web / manual activation process and get the activation code from your browser. However, the bigger issue is of course the fact that your MyEclipse instance seems to be unable to access the Internet.
Internet connectivity is of course a fundamental test that we carry out for our releases, and we’ve run a few additional tests at our end to see if we could replicate your issues. (Un)fortunately we’ve been unable to reproduce this problem at our end with the default install. One note – in the snippet you pasted, you had
<key> NSAllowsArbitraryLoads </key>
, did you try<key>NSAllowsArbitraryLoads</key>
(without spaces – not sure if that was a copy / paste issue here on our forums).At our end, none of these settings are required, so must admit we are out of ideas as this point, but we will keep trying to reproduce this.
-
AuthorPosts