Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
ERROR ActivityLogger - java.lang.RuntimeException: Could not generate DH keypair http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=65&t=54499 |
Page 1 of 1 |
Author: | Andres2012 [ Mon 28 Nov, 2016, 14:45 ] |
Post subject: | ERROR ActivityLogger - java.lang.RuntimeException: Could not generate DH keypair |
When I have connected to Dukascopy Servers or try to do some operation, I get the next error: Quote: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair 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) Caused by: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive) at com.sun.crypto.provider.DHKeyPairGenerator.initialize(DHKeyPairGenerator.java:120) at java.security.KeyPairGenerator$Delegate.initialize(KeyPairGenerator.java:674) I have migrated to Windows 10 JRE jre1.8.0_111 JDK jdk1.8.0_111 java version "1.8.0_111" Java(TM) SE Runtime Environment (build 1.8.0_111-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode) Please, some workaround ? Thanks |
Author: | Andres2012 [ Tue 29 Nov, 2016, 16:55 ] |
Post subject: | Re: ERROR ActivityLogger - java.lang.RuntimeException: Could not generate DH keypair |
I have made a downgrade to 1.8.45 and it works fine again. |
Author: | API Support [ Thu 01 Dec, 2016, 09:47 ] |
Post subject: | Re: ERROR ActivityLogger - java.lang.RuntimeException: Could not generate DH keypair |
We were unable to reproduce this with JDK jdk1.8.0_111. |
Author: | Andres2012 [ Thu 01 Dec, 2016, 12:32 ] |
Post subject: | Re: ERROR ActivityLogger - java.lang.RuntimeException: Could not generate DH keypair |
Tranks for your support and time. It fails when I run 1.8.0_111 in Matlab/Windows10. Works with 1.8.0_45 I don't know why.. |
Page 1 of 1 |