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.

Can not connect to DEMO with JForex-SDK
 Post subject: Can not connect to DEMO with JForex-SDK Post rating: 0   New post Posted: Mon 25 Nov, 2013, 00:48 
User avatar

User rating: 2
Joined: Mon 30 May, 2011, 15:41
Posts: 86
Location: Czech Republic, Prague
After weeked can not connect to any DEMO account with JForex-SDK, LIVE account is ok.
JForex platform is functional normal.

0    [main] INFO  com.dukascopy.api.impl.connect.AuthorizationClient  - Selecting the best server...
1143 [FeedDataProvider_ActionsThread_1] INFO  com.dukascopy.charts.data.datacache.time.TimeManager  - Loading server time
1823 [main] WARN  com.dukascopy.api.impl.connect.WLabelData  - White Label Image is not received
11594 [ClientConnector] INFO  com.dukascopy.transport.client.ClientConnector  - Authorization timeout
61168 [FeedDataProvider_ActionsThread_1] ERROR com.dukascopy.charts.data.datacache.CurvesJsonProtocolHandler  - Still not connected after waiting [60] seconds
com.dukascopy.charts.data.datacache.NotConnectedException: Still not connected after waiting [60] seconds
   at com.dukascopy.charts.data.datacache.CurvesJsonProtocolHandler.connect(CurvesJsonProtocolHandler.java:130)
   at com.dukascopy.charts.data.datacache.CurvesJsonProtocolHandler.processMessage(CurvesJsonProtocolHandler.java:965)
   at com.dukascopy.charts.data.datacache.CurvesJsonProtocolHandler.processMessage(CurvesJsonProtocolHandler.java:945)
   at com.dukascopy.charts.data.datacache.CurvesJsonProtocolHandler.loadServerTime(CurvesJsonProtocolHandler.java:1045)
   at com.dukascopy.charts.data.datacache.time.TimeManager.loadServerTime(TimeManager.java:107)
   at com.dukascopy.charts.data.datacache.time.TimeManager.getOrLoadServerTime(TimeManager.java:85)
   at com.dukascopy.charts.data.datacache.time.TimeManager.getServerTime(TimeManager.java:58)
   at com.dukascopy.charts.data.datacache.FeedDataProvider$1.run(FeedDataProvider.java:328)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
   at java.util.concurrent.FutureTask.run(FutureTask.java:262)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:744)


 
 Post subject: Re: Can not connect to DEMO with JForex-SDK Post rating: 0   New post Posted: Mon 25 Nov, 2013, 00:58 
User avatar

User rating: 2
Joined: Mon 30 May, 2011, 15:41
Posts: 86
Location: Czech Republic, Prague
I found in console of JForex platform it try connect more times and choose different server, JForex-SDK can't achieve it?

25.11.2013 00:52:21.547     INFO                       client.b ] Authorization timeout
25.11.2013 00:52:22.657  WARNING                   connection.a ] DISCONNECTED : [AUTHORIZATION_TIMEOUT]
25.11.2013 00:52:22.657     INFO                   connection.a ] Sleeping for reconnect : 0
25.11.2013 00:52:22.657  WARNING                   connection.a ] CONNECTING attempt # 1
25.11.2013 00:52:22.657     INFO                   connection.a ] Disconnected.
25.11.2013 00:52:32.844     INFO                       client.b ] Authorization timeout
25.11.2013 00:52:33.954  WARNING                   connection.a ] DISCONNECTED : [AUTHORIZATION_TIMEOUT]
25.11.2013 00:52:33.954     INFO                   connection.a ] Sleeping for reconnect : 1
25.11.2013 00:52:34.954  WARNING                   connection.a ] CONNECTING attempt # 2
25.11.2013 00:52:34.954     INFO                   connection.a ] Reconnecting...
25.11.2013 00:52:45.087     INFO                       client.b ] Authorization timeout
25.11.2013 00:52:46.189  WARNING                   connection.a ] DISCONNECTED : [AUTHORIZATION_TIMEOUT]
25.11.2013 00:52:46.190     INFO                   connection.a ] Reconnecting...
25.11.2013 00:52:51.191  WARNING                   connection.a ] AUTO RECONNECTING attempt # [3]
25.11.2013 00:52:51.456     INFO                      connect.c ] Selecting the best server...
25.11.2013 00:52:51.793  WARNING                   connection.a ] Trying connect to API : [d-ja-gva-91-191.dukascopy.com:10443]
25.11.2013 00:53:01.953     INFO                       client.b ] Authorization timeout
25.11.2013 00:53:03.063  WARNING                   connection.a ] DISCONNECTED : [AUTHORIZATION_TIMEOUT]
25.11.2013 00:53:03.063     INFO                   connection.a ] Reconnecting...
25.11.2013 00:53:08.078  WARNING                   connection.a ] AUTO RECONNECTING attempt # [4]
25.11.2013 00:53:08.250     INFO                      connect.c ] Selecting the best server...
25.11.2013 00:53:08.547  WARNING                   connection.a ] Trying connect to API : [d-ja-gva-141-194.dukascopy.com:10443]
25.11.2013 00:53:08.938     INFO                   connection.a ] API Authorized - 2013-11-25 00:53:08
25.11.2013 00:53:08.938     INFO        impl.JDK14LoggerAdapter ] Authorized
25.11.2013 00:53:08.969     INFO                            r.d ] Loading server time
25.11.2013 00:53:09.141     INFO                            r.d ] Server time loaded<2013-11-24 23:53:08:855>
25.11.2013 00:53:09.548     INFO                   connection.a ] Connected to d-ja-gva-91-191
25.11.2013 00:53:09.883     INFO                   connection.a ] Initializing...
25.11.2013 00:53:10.308     INFO    actions.AccountUpdateAction ] Connected to d-ja-gva-91-191


 
 Post subject: Re: Can not connect to DEMO with JForex-SDK Post rating: 1   New post Posted: Mon 25 Nov, 2013, 07:38 
User avatar

User rating: 96
Joined: Mon 09 Sep, 2013, 07:09
Posts: 287
Location: Ukraine, SHostka
You are not alone: https://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=65&t=50309


 
 Post subject: Re: Can not connect to DEMO with JForex-SDK Post rating: 0   New post Posted: Mon 25 Nov, 2013, 09:26 
User avatar

User rating: 2
Joined: Mon 30 May, 2011, 15:41
Posts: 86
Location: Czech Republic, Prague
Hebasto, thank you for info.

I found Dukascopy write about error on server. But why JForex-SDK can't choose different server like as JForex platform? Can it be repaired (select a different server in the SDK) in order to avoid future problems?


 

Jump to:  

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