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.

JForex 2.42.2 / 2.12.1 API Authentification broken
 Post subject: JForex 2.42.2 / 2.12.1 API Authentification broken Post rating: 0   New post Posted: Wed 03 Dec, 2014, 12:15 

User rating: 0
Joined: Fri 19 Aug, 2011, 20:29
Posts: 45
Location: Germany,
Since today (actually with the 2.42.2/2.12.1 release) the PinDialog Login method returns:

AuthorizationServerResponse - Authorization procedure returned unexpected result [0.0.0.0:${server.dds3.port}@16ff3c6f3443160f648008970d04bb0e0cc3d464f9a3766c0201a3adc16bd105]
Exception in thread "main" com.dukascopy.api.JFException: Wrong authorization response
at com.dukascopy.api.impl.connect.DCClientImpl.authenticate(DCClientImpl.java:542)
at com.dukascopy.api.impl.connect.DCClientImpl.connect(DCClientImpl.java:276)

with correct login credentials.

Login via jforex web interface works fine.

Live account.

Example code: https://www.dukascopy.com/wiki/#JForex_SDK_LIVE_mode


 
 Post subject: Re: AuthorizationServerResponse - Authorization procedure returned unexpected result Post rating: 0   New post Posted: Wed 03 Dec, 2014, 12:32 

User rating: 0
Joined: Fri 19 Aug, 2011, 20:29
Posts: 45
Location: Germany,
Triggered after PIN confirmation.

client.connect(jnlpUrl, userName, password, PinDialog.showAndGetPin());


 
 Post subject: Re: AuthorizationServerResponse - Authorization procedure returned unexpected result Post rating: 0   New post Posted: Wed 03 Dec, 2014, 12:57 

User rating: 0
Joined: Fri 19 Aug, 2011, 20:29
Posts: 45
Location: Germany,
This is broken in the new JForex 2.42.2 release. Rolling back to 2.41.3 / 2.11 fixes the authentification issue.


 
 Post subject: Re: JForex 2.42.2 / 2.12.1 API Authentification broken Post rating: 0   New post Posted: Wed 03 Dec, 2014, 15:33 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi!

Unfortunately, SDK version of API build 2.12.1 doesn't work on LIVE environment. We added commentary to release notes - viewtopic.php?f=113&t=51954. Please use previous SDK version (2.41.3 / 2.11) if you want to use your application on LIVE environment. We apologize for the inconvenience.


 

Jump to:  

  © 1998-2025 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