Plugin manager Error

561 views
Skip to first unread message

Auro

unread,
Jul 5, 2016, 9:47:30 AM7/5/16
to jmeter-plugins
Hi All,
trying to download updates via the Plugin Manager I'm having this error:

2016/07/05 15:19:53 ERROR - org.jmeterplugins.repository.PluginManager: Failed to download jmeter-plugins-common-io javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.sec

urity.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

        at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)

        at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)

        at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1906)

        at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1889)

        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1410)

        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)

        at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:543)

        at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:409)

        at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)

        at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)

        at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)

        at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)

        at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882)

        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)

        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)

        at org.jmeterplugins.repository.Downloader.download(Downloader.java:34)

        at org.jmeterplugins.repository.PluginManager.applyChanges(PluginManager.java:142)

        at org.jmeterplugins.repository.PluginManagerDialog$4.run(PluginManagerDialog.java:151)

Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

        at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:90)

        at sun.security.validator.Validator.getInstance(Validator.java:179)

        at sun.security.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:312)

        at sun.security.ssl.X509TrustManagerImpl.checkTrustedInit(X509TrustManagerImpl.java:171)

        at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:184)

        at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)

        at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1488)

        at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)

        at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)

        at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)

        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)

        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)

        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)

        ... 13 more

Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

        at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:200)

        at java.security.cert.PKIXParameters.<init>(PKIXParameters.java:120)

        at java.security.cert.PKIXBuilderParameters.<init>(PKIXBuilderParameters.java:104)

        at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:88)

        ... 25 more


Do you know a workaround?

Andrey Pokhilko

unread,
Jul 5, 2016, 10:14:43 AM7/5/16
to jmeter-...@googlegroups.com
Hi,

Do you have proxy settings enabled? It might be the proxy/firewall that blocks downloads from happening.

Specifically, it tries to download this file: http://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-common-io/0.2/jmeter-plugins-common-io-0.2.

Andrey Pokhilko

--
You received this message because you are subscribed to the Google Groups "jmeter-plugins" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andrey Pokhilko

unread,
Jul 5, 2016, 10:14:52 AM7/5/16
to jmeter-...@googlegroups.com

Auro

unread,
Jul 5, 2016, 10:21:38 AM7/5/16
to jmeter-plugins
Thx Andrey, I found the root cause of the problem.

My jmeter was configured to use the keystore for testing with https
 
I had the  on system.properties the following entries:

 # Truststore properties (trusted certificates)
javax.net.ssl.trustStore=......
javax.net.ssl.trustStorePassword=........

I commented them out and it resolved the issue
Reply all
Reply to author
Forward
0 new messages