Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Submit JForex API bug reports in this forum only.
    Submit Converter issues in Converter Issues.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

java error at login: Could not generate DH keypair
 Post subject: java error at login: Could not generate DH keypair Post rating: 0   Post Posted: Mon 16 Nov, 2015, 09:44 
User avatar

User rating: 0
Joined: Mon 16 Nov, 2015, 09:38
Posts: 2
Location: AustriaAustria
Hello Support,

As of today the jforex api 2.12.22 login return with: "java.lang.RuntimeException: Could not generate DH keypair"
The error never seen before.
Please advise.

Thanks,
Dublin


 
 Post subject: Re: java error at login: Could not generate DH keypair Post rating: 0   Post Posted: Mon 16 Nov, 2015, 11:39 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Does it happen on SDK or GUI platform?
Could you please send us full stack trace?
It is also advisable to always use latest SDK version: Build API: 2.12.24 Client: 2.45.24


 
 Post subject: Re: java error at login: Could not generate DH keypair Post rating: 0   Post Posted: Mon 16 Nov, 2015, 11:53 
User avatar

User rating: 0
Joined: Mon 16 Nov, 2015, 09:38
Posts: 2
Location: AustriaAustria
Update to 2.12.24 does not help, the message is the same.

Stack:
javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair
at sun.net.www.protocol.http.HttpURLConnection.getInputStream()
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream()
at com.dukascopy.api.impl.connect.DCClientImpl.getAuthServers(String )
at com.dukascopy.api.impl.connect.DCClientImpl.connect(String jnlpUrl, String username, String password, String pin)
at com.dukascopy.api.impl.connect.DCClientImpl.connect(String jnlpUrl, String username, String password)


API Support wrote:
Does it happen on SDK or GUI platform?
Could you please send us full stack trace?
It is also advisable to always use latest SDK version: Build API: 2.12.24 Client: 2.45.24


 
 Post subject: Re: java error at login: Could not generate DH keypair Post rating: 0   Post Posted: Mon 16 Nov, 2015, 15:08 
User avatar

User rating: 0
Joined: Fri 05 Aug, 2011, 15:34
Posts: 14
Location: SwitzerlandSwitzerland
I get exactly the same error this morning.

I still cannot login. I hope you fix this asap.


 
 Post subject: Re: java error at login: Could not generate DH keypair Post rating: 0   Post Posted: Tue 17 Nov, 2015, 16:15 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
What is Java version that is used?
To find Java version pleas run the platform with console enabled and post the output here.
Here is a description on how to enable java console: https://www.java.com/en/download/help/javaconsole.xml


 

Jump to:  

  © 1998-2026 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com