You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I ran jmeter 5.5 with InfluxDB Backend Listener 2 on Heroku dyno on private space, I got the following error. The InfluxDB server is on AWS. It seems related to jurisdiction policy files. Do you have any ideas on this kind of error?
2022-09-26 22:53:13,370 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: New instance of InfluxDatabaseClient has been created!
2022-09-26 22:53:13,370 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: InfluxDBClientFactory is going to use the following properties:
2022-09-26 22:53:13,375 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: URL --> https://****stackhero-network.com:443
2022-09-26 22:53:13,375 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Token --> *********
2022-09-26 22:53:13,375 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Organization --> a31e25a8eaa83730
2022-09-26 22:53:13,375 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Bucket --> jmeter2
2022-09-26 22:53:13,700 ERROR o.a.j.JMeter: Uncaught exception in thread Thread[StandardJMeterEngine,5,main]
java.lang.ExceptionInInitializerError: null
at javax.crypto.Cipher.getInstance(Cipher.java:540) ~[?:?]
at sun.security.ssl.JsseJce.getCipher(JsseJce.java:190) ~[?:?]
at sun.security.ssl.SSLCipher.isTransformationAvailable(SSLCipher.java:509) ~[?:?]
at sun.security.ssl.SSLCipher.(SSLCipher.java:498) ~[?:?]
at sun.security.ssl.SSLCipher.(SSLCipher.java:81) ~[?:?]
at sun.security.ssl.CipherSuite.(CipherSuite.java:65) ~[?:?]
at sun.security.ssl.SSLContextImpl.getApplicableSupportedCipherSuites(SSLContextImpl.java:348) ~[?:?]
at sun.security.ssl.SSLContextImpl$AbstractTLSContext.(SSLContextImpl.java:580) ~[?:?]
at java.lang.Class.forName0(Native Method) ~[?:?]
at java.lang.Class.forName(Class.java:315) ~[?:?]
at java.security.Provider$Service.getImplClass(Provider.java:1918) ~[?:?]
at java.security.Provider$Service.newInstance(Provider.java:1894) ~[?:?]
at sun.security.jca.GetInstance.getInstance(GetInstance.java:236) ~[?:?]
at sun.security.jca.GetInstance.getInstance(GetInstance.java:164) ~[?:?]
at javax.net.ssl.SSLContext.getInstance(SSLContext.java:168) ~[?:?]
at okhttp3.internal.platform.Platform.newSSLContext(Platform.kt:75) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at okhttp3.internal.platform.Platform.newSslSocketFactory(Platform.kt:167) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at okhttp3.OkHttpClient.(OkHttpClient.kt:238) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at okhttp3.OkHttpClient$Builder.build(OkHttpClient.kt:1069) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at com.influxdb.client.internal.AbstractInfluxDBClient.(AbstractInfluxDBClient.java:103) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at com.influxdb.client.internal.AbstractInfluxDBClient.(AbstractInfluxDBClient.java:79) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at com.influxdb.client.internal.InfluxDBClientImpl.(InfluxDBClientImpl.java:98) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at com.influxdb.client.InfluxDBClientFactory.create(InfluxDBClientFactory.java:261) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at com.influxdb.client.InfluxDBClientFactory.create(InfluxDBClientFactory.java:180) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at io.github.mderevyankoaqa.influxdb2.visualizer.influxdb.client.InfluxDatabaseClient.setupInfluxClient(InfluxDatabaseClient.java:148) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at io.github.mderevyankoaqa.influxdb2.visualizer.InfluxDatabaseBackendListenerClient.setupInfluxClient(InfluxDatabaseBackendListenerClient.java:257) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at io.github.mderevyankoaqa.influxdb2.visualizer.InfluxDatabaseBackendListenerClient.setupTest(InfluxDatabaseBackendListenerClient.java:178) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at org.apache.jmeter.visualizers.backend.BackendListener.testStarted(BackendListener.java:325) ~[ApacheJMeter_components.jar:5.5]
at org.apache.jmeter.visualizers.backend.BackendListener.testStarted(BackendListener.java:280) ~[ApacheJMeter_components.jar:5.5]
at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:218) ~[ApacheJMeter_core.jar:5.5]
at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:396) ~[ApacheJMeter_core.jar:5.5]
at java.lang.Thread.run(Thread.java:829) ~[?:?]
Caused by: java.lang.SecurityException: Can not initialize cryptographic mechanism
at javax.crypto.JceSecurity.(JceSecurity.java:120) ~[?:?]
... 32 more
Caused by: java.lang.SecurityException: Couldn't parse jurisdiction policy files in: unlimited
at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:357) ~[?:?]
at javax.crypto.JceSecurity$1.run(JceSecurity.java:111) ~[?:?]
at javax.crypto.JceSecurity$1.run(JceSecurity.java:108) ~[?:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at javax.crypto.JceSecurity.(JceSecurity.java:107) ~[?:?]
... 32 more
2022-09-26 22:53:13,718 INFO o.a.j.r.ResultCollector: Shutdown hook started
2022-09-26 22:53:13,728 INFO o.a.j.r.ResultCollector: Shutdown hook ended
Thanks,
Katherine
The text was updated successfully, but these errors were encountered:
I found this issue is actually pure Java setting or installation issue as I ran the following java code and got the same error.
public class Main {
public static void main(String[] args) {
try{
int maxKeySize = javax.crypto.Cipher.getMaxAllowedKeyLength("AES");
System.out.println(maxKeySize);
} catch (Exception e) {
e.printStackTrace();
}
}
}
Hi Mike,
When I ran jmeter 5.5 with InfluxDB Backend Listener 2 on Heroku dyno on private space, I got the following error. The InfluxDB server is on AWS. It seems related to jurisdiction policy files. Do you have any ideas on this kind of error?
2022-09-26 22:53:13,370 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: New instance of InfluxDatabaseClient has been created!
2022-09-26 22:53:13,370 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: InfluxDBClientFactory is going to use the following properties:
2022-09-26 22:53:13,375 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: URL --> https://****stackhero-network.com:443
2022-09-26 22:53:13,375 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Token --> *********
2022-09-26 22:53:13,375 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Organization --> a31e25a8eaa83730
2022-09-26 22:53:13,375 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Bucket --> jmeter2
2022-09-26 22:53:13,700 ERROR o.a.j.JMeter: Uncaught exception in thread Thread[StandardJMeterEngine,5,main]
java.lang.ExceptionInInitializerError: null
at javax.crypto.Cipher.getInstance(Cipher.java:540) ~[?:?]
at sun.security.ssl.JsseJce.getCipher(JsseJce.java:190) ~[?:?]
at sun.security.ssl.SSLCipher.isTransformationAvailable(SSLCipher.java:509) ~[?:?]
at sun.security.ssl.SSLCipher.(SSLCipher.java:498) ~[?:?]
at sun.security.ssl.SSLCipher.(SSLCipher.java:81) ~[?:?]
at sun.security.ssl.CipherSuite.(CipherSuite.java:65) ~[?:?]
at sun.security.ssl.SSLContextImpl.getApplicableSupportedCipherSuites(SSLContextImpl.java:348) ~[?:?]
at sun.security.ssl.SSLContextImpl$AbstractTLSContext.(SSLContextImpl.java:580) ~[?:?]
at java.lang.Class.forName0(Native Method) ~[?:?]
at java.lang.Class.forName(Class.java:315) ~[?:?]
at java.security.Provider$Service.getImplClass(Provider.java:1918) ~[?:?]
at java.security.Provider$Service.newInstance(Provider.java:1894) ~[?:?]
at sun.security.jca.GetInstance.getInstance(GetInstance.java:236) ~[?:?]
at sun.security.jca.GetInstance.getInstance(GetInstance.java:164) ~[?:?]
at javax.net.ssl.SSLContext.getInstance(SSLContext.java:168) ~[?:?]
at okhttp3.internal.platform.Platform.newSSLContext(Platform.kt:75) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at okhttp3.internal.platform.Platform.newSslSocketFactory(Platform.kt:167) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at okhttp3.OkHttpClient.(OkHttpClient.kt:238) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at okhttp3.OkHttpClient$Builder.build(OkHttpClient.kt:1069) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at com.influxdb.client.internal.AbstractInfluxDBClient.(AbstractInfluxDBClient.java:103) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at com.influxdb.client.internal.AbstractInfluxDBClient.(AbstractInfluxDBClient.java:79) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at com.influxdb.client.internal.InfluxDBClientImpl.(InfluxDBClientImpl.java:98) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at com.influxdb.client.InfluxDBClientFactory.create(InfluxDBClientFactory.java:261) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at com.influxdb.client.InfluxDBClientFactory.create(InfluxDBClientFactory.java:180) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at io.github.mderevyankoaqa.influxdb2.visualizer.influxdb.client.InfluxDatabaseClient.setupInfluxClient(InfluxDatabaseClient.java:148) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at io.github.mderevyankoaqa.influxdb2.visualizer.InfluxDatabaseBackendListenerClient.setupInfluxClient(InfluxDatabaseBackendListenerClient.java:257) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at io.github.mderevyankoaqa.influxdb2.visualizer.InfluxDatabaseBackendListenerClient.setupTest(InfluxDatabaseBackendListenerClient.java:178) ~[jmeter-plugins-influxdb2-listener-2.4.jar:2.4]
at org.apache.jmeter.visualizers.backend.BackendListener.testStarted(BackendListener.java:325) ~[ApacheJMeter_components.jar:5.5]
at org.apache.jmeter.visualizers.backend.BackendListener.testStarted(BackendListener.java:280) ~[ApacheJMeter_components.jar:5.5]
at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:218) ~[ApacheJMeter_core.jar:5.5]
at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:396) ~[ApacheJMeter_core.jar:5.5]
at java.lang.Thread.run(Thread.java:829) ~[?:?]
Caused by: java.lang.SecurityException: Can not initialize cryptographic mechanism
at javax.crypto.JceSecurity.(JceSecurity.java:120) ~[?:?]
... 32 more
Caused by: java.lang.SecurityException: Couldn't parse jurisdiction policy files in: unlimited
at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:357) ~[?:?]
at javax.crypto.JceSecurity$1.run(JceSecurity.java:111) ~[?:?]
at javax.crypto.JceSecurity$1.run(JceSecurity.java:108) ~[?:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at javax.crypto.JceSecurity.(JceSecurity.java:107) ~[?:?]
... 32 more
2022-09-26 22:53:13,718 INFO o.a.j.r.ResultCollector: Shutdown hook started
2022-09-26 22:53:13,728 INFO o.a.j.r.ResultCollector: Shutdown hook ended
Thanks,
Katherine
The text was updated successfully, but these errors were encountered: