|
ERROR ActivityLogger |
Marston
|
Post subject: ERROR ActivityLogger |
Post rating: 0
|
Posted: Thu 13 Feb, 2014, 08:41
|
|
User rating: 0
Joined: Wed 29 May, 2013, 04:14 Posts: 62
|
With my application I have this problem when I try to connect... I never had this kind of problem! I can still connect but the program raises this exception when I log! 2014-02-13 08:32:43.436 ERROR ActivityLogger - java.lang.RuntimeException: Could not generate DH keypair 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:1868) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1826) at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1809) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1328) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1305) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:523) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1087) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250) at com.dukascopy.api.impl.connect.ActivityLogger.doPostLog(ActivityLogger.java:229) at com.dukascopy.api.impl.connect.ActivityLogger.sendLog(ActivityLogger.java:156) at com.dukascopy.api.impl.connect.ActivityLogger.flush(ActivityLogger.java:113) at com.dukascopy.api.impl.connect.ActivityLogger.run(ActivityLogger.java:103) Caused by: java.lang.RuntimeException: Could not generate DH keypair at sun.security.ssl.DHCrypt.<init>(DHCrypt.java:123) at sun.security.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:618) at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:202) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868) at sun.security.ssl.Handshaker.process_record(Handshaker.java:804) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:998) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1294) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1321) ... 9 more 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:658) at sun.security.ssl.DHCrypt.<init>(DHCrypt.java:117) ... 16 more
... Some solution? Thanks
|
|
|
|
 |
Platform Support
|
Post subject: Re: ERROR ActivityLogger |
Post rating: 0
|
Posted: Mon 17 Feb, 2014, 15:46
|
|
JForex Master |  |
User rating: ∞
Joined: Wed 16 Sep, 2009, 18:23 Posts: 1054 Location: Geneva, Switzerland
|
|
|
|
 |
Marston
|
Post subject: Re: ERROR ActivityLogger |
Post rating: 0
|
Posted: Sat 22 Feb, 2014, 10:11
|
|
User rating: 0
Joined: Wed 29 May, 2013, 04:14 Posts: 62
|
Platform Support wrote: What JAVA version? The last update... Java 7 update 3 (build 1.70_03-b05)
|
|
|
|
 |
Platform Support
|
Post subject: Re: ERROR ActivityLogger |
Post rating: 0
|
Posted: Mon 24 Feb, 2014, 09:14
|
|
JForex Master |  |
User rating: ∞
Joined: Wed 16 Sep, 2009, 18:23 Posts: 1054 Location: Geneva, Switzerland
|
Please update to the latest JAVA 7 u51
|
|
|
|
 |
Marston
|
Post subject: Re: ERROR ActivityLogger |
Post rating: 0
|
Posted: Mon 24 Feb, 2014, 14:04
|
|
User rating: 0
Joined: Wed 29 May, 2013, 04:14 Posts: 62
|
I just did the update (JAVA 7 u51) and I have the same problem... But it's strange, because It only happens with the demo, no live. It happens when I try to connect my desk application.
|
|
|
|
 |
Marston
|
Post subject: Re: ERROR ActivityLogger |
Post rating: 0
|
Posted: Mon 24 Feb, 2014, 14:47
|
|
User rating: 0
Joined: Wed 29 May, 2013, 04:14 Posts: 62
|
With NetBeans I tried to start a new project (Building JForex-SDK 2.31) and as you can see I have the same problem even with the updated library. Output: Scanning for projects... ------------------------------------------------------------------------ Building JForex-SDK 2.31 ------------------------------------------------------------------------ The POM for com.dukascopy.api:JForex-API:jar:DDS2-SNAPSHOT is missing, no dependency information available
[resources:resources] [debug] execute contextualize Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! Copying 1 resource
[compiler:compile] Changes detected - recompiling the module! Compiling 18 source files to C:...........
[exec:exec] 2014-02-24 14:37:39.858 INFO Main - Connecting... 2014-02-24 14:37:41.280 INFO AuthorizationClient - Selecting the best server... 2014-02-24 14:37:41.670 INFO AuthorizationClient - retry count = 1, properties request time = 2014-02-24 14:37:41 2014-02-24 14:37:42.170 INFO AuthorizationClient - retry count = 1, properties response time = 2014-02-24 14:37:42 2014-02-24 14:37:43.830 WARN WLabelData - White Label Image is not received 2014-02-24 14:37:44.160 INFO Main - Connected 2014-02-24 14:37:44.830 INFO Main - Subscribing instruments... 2014-02-24 14:37:49.830 INFO Main - Starting strategy Strategy "MA_Play" Strategy ID: BFF2DF8EDEFBCC4E2CE64507237F677B is started at 2014-02-24 13:37:50.721 GMT on the local computer with no parameters Started 2014-02-24 14:37:50.741 INFO Main - Strategy started: 60 2014-02-24 14:37:52.438 ERROR ActivityLogger - java.lang.RuntimeException: Could not generate DH keypair 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:1868) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1826) at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1809) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1328) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1305) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:523) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1087) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250) at com.dukascopy.api.impl.connect.ActivityLogger.doPostLog(ActivityLogger.java:229) at com.dukascopy.api.impl.connect.ActivityLogger.sendLog(ActivityLogger.java:156) at com.dukascopy.api.impl.connect.ActivityLogger.flush(ActivityLogger.java:113) at com.dukascopy.api.impl.connect.ActivityLogger.run(ActivityLogger.java:103) Caused by: java.lang.RuntimeException: Could not generate DH keypair at sun.security.ssl.DHCrypt.<init>(DHCrypt.java:123) at sun.security.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:618) at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:202) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868) at sun.security.ssl.Handshaker.process_record(Handshaker.java:804) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:998) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1294) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1321) ... 9 more 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:658) at sun.security.ssl.DHCrypt.<init>(DHCrypt.java:117) ... 16 more
|
|
|
|
 |
Platform Support
|
Post subject: Re: ERROR ActivityLogger |
Post rating: 0
|
Posted: Tue 25 Feb, 2014, 12:02
|
|
JForex Master |  |
User rating: ∞
Joined: Wed 16 Sep, 2009, 18:23 Posts: 1054 Location: Geneva, Switzerland
|
|
|
|
 |
Marston
|
Post subject: Re: ERROR ActivityLogger |
Post rating: 0
|
Posted: Thu 27 Feb, 2014, 14:19
|
|
User rating: 0
Joined: Wed 29 May, 2013, 04:14 Posts: 62
|
No I don't use Linux, but Windows 7.
|
|
|
|
 |
Marston
|
Post subject: Re: ERROR ActivityLogger |
Post rating: 0
|
Posted: Mon 10 Mar, 2014, 01:28
|
|
User rating: 0
Joined: Wed 29 May, 2013, 04:14 Posts: 62
|
Problem still not solved... Please suggest!!
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|