cannot connect to Marketplace
Hello everyone,
I have found a similar problem in the forum, but the solution there does not seem applicable.
I use Rapidminer Studio 7.4 on Win64.
When I click extensions -> Marketplace I get the following error message:
Exception: java.io.IOException
Message: javax.xml.ws.WebServiceException: Failed to access the WSDL at: https://marketplace.rapidminer.com/UpdateServer/UpdateServiceService?wsdl. It failed with:
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
Stack trace:
com.rapidminer.deployment.update.client.MarketplaceUpdateManager.getService(MarketplaceUpdateManager.java:576)
com.rapidminer.deployment.update.client.UpdateDialog$4.run(UpdateDialog.java:221)
com.rapidminer.gui.tools.ProgressThread$3.run(ProgressThread.java:550)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
java.lang.Thread.run(Thread.java:745)
Cause
Exception: javax.xml.ws.WebServiceException
Message: Failed to access the WSDL at: https://marketplace.rapidminer.com/UpdateServer/UpdateServiceService?wsdl. It failed with:
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
Stack trace:
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:250)
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:231)
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:194)
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:163)
com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:348)
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:306)
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:215)
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:196)
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:192)
com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:104)
javax.xml.ws.Service.<init>(Service.java:77)
com.rapidminer.deployment.client.wsimport.UpdateServiceService.<init>(UpdateServiceService.java:57)
com.rapidminer.deployment.update.client.MarketplaceUpdateManager.getService(MarketplaceUpdateManager.java:572)
com.rapidminer.deployment.update.client.UpdateDialog$4.run(UpdateDialog.java:221)
com.rapidminer.gui.tools.ProgressThread$3.run(ProgressThread.java:550)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
java.lang.Thread.run(Thread.java:745)
Cause
Exception: javax.net.ssl.SSLHandshakeException
Message: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Stack trace:
sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1497)
sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212)
sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1512)
sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:90)
sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1432)
sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1430)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessController.doPrivileged(AccessController.java:713)
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1429)
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
java.net.URL.openStream(URL.java:1038)
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:984)
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:385)
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:216)
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:194)
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:163)
com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:348)
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:306)
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:215)
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:196)
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:192)
com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:104)
javax.xml.ws.Service.<init>(Service.java:77)
com.rapidminer.deployment.client.wsimport.UpdateServiceService.<init>(UpdateServiceService.java:57)
com.rapidminer.deployment.update.client.MarketplaceUpdateManager.getService(MarketplaceUpdateManager.java:572)
com.rapidminer.deployment.update.client.UpdateDialog$4.run(UpdateDialog.java:221)
com.rapidminer.gui.tools.ProgressThread$3.run(ProgressThread.java:550)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
java.lang.Thread.run(Thread.java:745)
Cause
Exception: sun.security.validator.ValidatorException
Message: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Stack trace:
sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
sun.security.validator.Validator.validate(Validator.java:260)
sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1479)
sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212)
sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1512)
sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:90)
sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1432)
sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1430)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessController.doPrivileged(AccessController.java:713)
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1429)
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
java.net.URL.openStream(URL.java:1038)
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:984)
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:385)
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:216)
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:194)
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:163)
com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:348)
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:306)
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:215)
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:196)
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:192)
com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:104)
javax.xml.ws.Service.<init>(Service.java:77)
com.rapidminer.deployment.client.wsimport.UpdateServiceService.<init>(UpdateServiceService.java:57)
com.rapidminer.deployment.update.client.MarketplaceUpdateManager.getService(MarketplaceUpdateManager.java:572)
com.rapidminer.deployment.update.client.UpdateDialog$4.run(UpdateDialog.java:221)
com.rapidminer.gui.tools.ProgressThread$3.run(ProgressThread.java:550)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
java.lang.Thread.run(Thread.java:745)
Cause
Exception: sun.security.provider.certpath.SunCertPathBuilderException
Message: unable to find valid certification path to requested target
Stack trace:
sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:145)
sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131)
java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
sun.security.validator.Validator.validate(Validator.java:260)
sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1479)
sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212)
sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1512)
sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:90)
sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1432)
sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1430)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessController.doPrivileged(AccessController.java:713)
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1429)
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
java.net.URL.openStream(URL.java:1038)
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:984)
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:385)
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:216)
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:194)
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:163)
com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:348)
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:306)
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:215)
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:196)
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:192)
com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:104)
javax.xml.ws.Service.<init>(Service.java:77)
com.rapidminer.deployment.client.wsimport.UpdateServiceService.<init>(UpdateServiceService.java:57)
com.rapidminer.deployment.update.client.MarketplaceUpdateManager.getService(MarketplaceUpdateManager.java:572)
com.rapidminer.deployment.update.client.UpdateDialog$4.run(UpdateDialog.java:221)
com.rapidminer.gui.tools.ProgressThread$3.run(ProgressThread.java:550)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
java.lang.Thread.run(Thread.java:745)
At this workplace we have some proxy settings, but the local support says it may be a proxy authentication issue. I don't know. Any suggestions?
Thanks in advance
Answers
-
The easiest thing to do is to go to the marketplace website and download the JAR file straight from there. Then put in your .RapidMiner/extensions folder.
0 -
The workaround works, but does not solve the original problem. Are there any specialities on proxy or firewall settings? A recently opened topic with identical title suggests the problem is not platform specific (I'm on windows 10, the other user on Ubuntu)
Thanks
0 -
Did you check this out? https://docs.rapidminer.com/studio/how-to/proxy.html
0 -
Have you found a solution for this issue?0
-
@Tamas_Varju I am sure you are aware that Rapidminer Studio 7.4 is a very old product, have you tried to upgrade it to the more recent version? Your problem may have been resolved in the current version of RapidMiner Studio 9.8? If the error is produced when you attempt to upgrade your product, the easiest approach would be to download a new version and install it from scratch.
0 -
@Tamas_Varju I have faced the same error.. it is because the studio may be behind the firewall and can not access the internet. If you are not the admin on your computer or there are some administration issues in your computer, try to use other connection to the internet. You should then access the marketplace easily.
Check this issue: https://community.rapidminer.com/discussion/comment/2885#Comment_2885
0 -
Oh gosh, resurrecting old threads!
The solution doesn’t have anything to do with RapidMiner though.
RapidMiner 7.4 is probably running on an old version of Java (1.6, 1.7) that doesn’t have the updated certificate authority bundles. Pretty much every single device that has connectivity with SSL nowadays must have those bundles.
Basically, a SSL certificate authority bundle contains the addresses of the valid, trusted, 100% real no fake, entities that validate that SSL certificates that validate a domain are generated inside of a “network of trust”, because I can generate my own certificate saying that I’m “rapidminer.com” to make myself look like a legit entity, but if that certificate is not generated inside that network of trust, the only thing that certificate does is to encrypt connections between two parties without proof of identity. Otherwise it would be much easier to say “Hey, I’m the Deutsche Bank” and collect data from real Deutsche Bank users to extract their money.
Now, you “can” import these certificate authority bundles, and there is enough information on how to do so on the Internet, but given the news from the past 3-4 years regarding how that network of trust was attacked, it’s not advisable. Even the mighty Let’s Encrypt had to renew 3 million SSL certificates due to a vulnerability.
So, my recommendation for you is to update Java and RapidMiner to newer versions. You’ll find that some things changed, and will probably need a little more work to do to make it run smoothly as always, but on the other hand, you did have to update your .doc files when the new .docx format appeared, didn’t you?
All the best,
Rod.
0