Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

Cannot login to the empty program downloaded from dukascopy
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=65&t=56567
Page 1 of 1

Author:  IsraelG [ Sun 10 Jun, 2018, 20:59 ]
Post subject:  Cannot login to the empty program downloaded from dukascopy

Hi,

I'm starting with JForex. I followed the procedure explained in "Use In Intellij IDEA" and run the standard code downloaded from the Dukascopy. I didn't add any functionality there, just run the downloaded JForex-3-SDK, trying to log in first.
It failed with the authentification issue. When I logged in manually to the application, it didn't show the authentification problem anymore but shows the wrong input params. How could I start the application?

The questions are:
1. Is it really needed to log in manually before starting the Java in the IDE? Sounds very strange to me...
2. How to make it working?

Thanks

The logs are:

"C:\Program Files\Java\jdk-10.0.1\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:54277,suspend=y,server=n -javaagent:C:\Users\israel\.IdeaIC2018.1\system\captureAgent\debugger-agent.jar=file:/C:/Users/israel/AppData/Local/Temp/capture.props -Dfile.encoding=UTF-8 -classpath "D:\JForex-3-SDK\target\classes;C:\Users\israel\.m2\repository\com\dukascopy\dds2\DDS2-jClient-JForex\3.3.12\DDS2-jClient-JForex-3.3.12.jar;C:\Users\israel\.m2\repository\com\dukascopy\dds2\DDS2-Charts\6.24.56\DDS2-Charts-6.24.56.jar;C:\Users\israel\.m2\repository\com\dukascopy\dds2\greed-common\318.4.50\greed-common-318.4.50.jar;C:\Users\israel\.m2\repository\com\sun\jna\jna\3.5.0\jna-3.5.0.jar;C:\Users\israel\.m2\repository\com\dukascopy\api\JForex-API\2.13.54\JForex-API-2.13.54.jar;C:\Users\israel\.m2\repository\com\dukascopy\dds4\netty-transport-client\0.4.91\netty-transport-client-0.4.91.jar;C:\Users\israel\.m2\repository\com\dukascopy\dds4\transport-common\0.5.166\transport-common-0.5.166.jar;C:\Users\israel\.m2\repository\com\dukascopy\dev-tools\0.0.37\dev-tools-0.0.37.jar;C:\Users\israel\.m2\repository\io\netty\netty-transport\4.1.23.Final\netty-transport-4.1.23.Final.jar;C:\Users\israel\.m2\repository\io\netty\netty-buffer\4.1.23.Final\netty-buffer-4.1.23.Final.jar;C:\Users\israel\.m2\repository\io\netty\netty-common\4.1.23.Final\netty-common-4.1.23.Final.jar;C:\Users\israel\.m2\repository\io\netty\netty-resolver\4.1.23.Final\netty-resolver-4.1.23.Final.jar;C:\Users\israel\.m2\repository\io\netty\netty-handler\4.1.23.Final\netty-handler-4.1.23.Final.jar;C:\Users\israel\.m2\repository\io\netty\netty-codec\4.1.23.Final\netty-codec-4.1.23.Final.jar;C:\Users\israel\.m2\repository\org\javassist\javassist\3.18.1-GA\javassist-3.18.1-GA.jar;C:\Users\israel\.m2\repository\com\google\guava\guava\19.0\guava-19.0.jar;C:\Users\israel\.m2\repository\com\dukascopy\auth-protocol-client\1.0.18\auth-protocol-client-1.0.18.jar;C:\Users\israel\.m2\repository\org\json\json\20131018\json-20131018.jar;C:\Users\israel\.m2\repository\com\nimbusds\srp6a\1.5.3\srp6a-1.5.3.jar;C:\Users\israel\.m2\repository\com\dukascopy\dds2\msg\1.0.214\msg-1.0.214.jar;C:\Users\israel\.m2\repository\7zip\7zip\16.04\7zip-16.04.jar;C:\Users\israel\.m2\repository\javax\mail\mail\1.4\mail-1.4.jar;C:\Users\israel\.m2\repository\javax\activation\activation\1.1\activation-1.1.jar;C:\Users\israel\.m2\repository\commons-beanutils\commons-beanutils\1.9.2\commons-beanutils-1.9.2.jar;C:\Users\israel\.m2\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;C:\Users\israel\.m2\repository\commons-collections\commons-collections\3.2.1\commons-collections-3.2.1.jar;C:\Users\israel\.m2\repository\com\dukascopy\dds2\patterns\1.60.48\patterns-1.60.48.jar;C:\Users\israel\.m2\repository\org\fife\DDS2-TextEditor\1.27.54\DDS2-TextEditor-1.27.54.jar;C:\Users\israel\.m2\repository\org\slf4j\slf4j-api\1.7.13\slf4j-api-1.7.13.jar;C:\Users\israel\.m2\repository\apache-oro\jakarta-oro\2.0.8\jakarta-oro-2.0.8.jar;C:\Users\israel\.m2\repository\com\dukascopy\dds2\ui-core\1.6.59\ui-core-1.6.59.jar;C:\Users\israel\.m2\repository\org\apache\lucene\lucene-core\3.4.0\lucene-core-3.4.0.jar;C:\Users\israel\.m2\repository\org\apache\lucene\lucene-highlighter\3.4.0\lucene-highlighter-3.4.0.jar;C:\Users\israel\.m2\repository\org\apache\lucene\lucene-memory\3.4.0\lucene-memory-3.4.0.jar;C:\Users\israel\.m2\repository\org\apache\lucene\lucene-queries\3.4.0\lucene-queries-3.4.0.jar;C:\Users\israel\.m2\repository\jakarta-regexp\jakarta-regexp\1.4\jakarta-regexp-1.4.jar;C:\Users\israel\.m2\repository\org\eclipse\jdt\core\compiler\ecj\4.6.1\ecj-4.6.1.jar;C:\Users\israel\.m2\repository\ta-lib\ta-lib\0.4.4dc\ta-lib-0.4.4dc.jar;C:\Users\israel\.m2\repository\com\googlecode\jmockit\jmockit\1.5\jmockit-1.5.jar;C:\Users\israel\.m2\repository\org\slf4j\slf4j-log4j12\1.7.13\slf4j-log4j12-1.7.13.jar;C:\Users\israel\.m2\repository\log4j\log4j\1.2.17\log4j-1.2.17.jar;C:\Users\israel\.m2\repository\com\dukascopy\docking\framework\CleanDocking\2.1.13\CleanDocking-2.1.13.jar;C:\Users\israel\.m2\repository\javax\inject\javax.inject\1\javax.inject-1.jar;C:\Users\israel\.m2\repository\com\dukascopy\dds2\Login-Form\3.11\Login-Form-3.11.jar;C:\Users\israel\.m2\repository\org\apache\commons\commons-lang3\3.3.2\commons-lang3-3.3.2.jar;C:\Users\israel\.m2\repository\com\dukascopy\api\JForex-API\2.13.54\JForex-API-2.13.54-sources.jar;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.1.4\lib\idea_rt.jar" singlejartest.Main
Connected to the target VM, address: '127.0.0.1:54277', transport: 'socket'
2018-06-10 22:22:23.202 INFO Main - Connecting...
2018-06-10 22:23:18.733 INFO AuthorizationClient - environment(jnlp.client.mode)=DEMO, platformInstanceId=null
2018-06-10 22:23:18.949 INFO AuthorizationClient - Auth step 1 request [BAFC81DDBB12C6FEEFFE75BAE8C28A10374B9B29]
2018-06-10 22:23:18.964 DEBUG AuthorizationClient - >> [https://login.dukascopy.com/authorization-1/demo/auth?munus=srp_api&passus=1&sermo=cb869623-1081-49d2-9b32-63ae4083abda&putent_genus=0&appello=BAFC81DDBB12C6FEEFFE75BAE8C28A10374B9B29&srp_versio=1]
2018-06-10 22:23:28.529 DEBUG AuthorizationClient - << [{"B":"4230537585fe09823e2e6fd66eca0e4fcc0e50a24d1dbf42f7cca9ef59cad30156f98a4f4c9b8f1771a6fa82a1b7ad4f429fb3c045f40f1b0972856ad827497a585be11055eed2ce15093252db98104a64cb1c4120e1da42179c414da7449b13bbc2e3d0bbc8fe5f0b91d52e6178b54787c541392d881abbb20fac173a94819ff9bd6d30780bde564dd85216b315a3c48ee1d1d9afcd7738e7af52ba6c92a65197d165f7cec127e9ee6884b6b6864d35d028770e8748d5d7ca7bb398a8107950832250a9fc1dd68edacd7fec5d3719f358e7b1e0a0f4190ddf85b9431d654808d9c4f2e8372cc1f047db7a026807835365a2468ec9019932b70daa3e7dbb3947","S":"3fb1e6034b27a4d2bcf45238868b289b","G":"2","H":"SHA-256","K":"5b9e8ef059c6b32ea59fc1d322d37f04aa30bae5aa9003b8321e21ddb04e300","N":"ac6bdb41324a9a9bf166de5e1389582faf72b6651987ee07fc3192943db56050a37329cbb4a099ed8193e0757767a13dd52312ab4b03310dcd7f48a9da04fd50e8083969edb767b0cf6095179a163ab3661a05fbd5faaae82918a9962f0b93b855f97993ec975eeaa80d740adbf4ff747359d041d5c33ea71d281e446b14773bca97b43a23fb801676bd207a436c6481f1d2b9078717461a5b9d32e688f87748544523b524b0d57d5ea77a2775d2ecfa032cfbdbf52fb3786160279004e57ae6af874e7303ce53299ccc041c7bc308d82a5698f3a8d0c38271ae35f8e9dbfbb694b5c803d89f7ae435de236d525f54759b65e372fcd68ef20fa7111f9e4aff73","srp_versio":"1"}]
2018-06-10 22:23:28.599 INFO AuthorizationClient - Auth step 1 response [ServerResponseObject [passwordServerResponse=Step1ServerResponse [serverPublicValueB=4230537585fe09823e2e6fd66eca0e4fcc0e50a24d1dbf42f7cca9ef59cad30156f98a4f4c9b8f1771a6fa82a1b7ad4f429fb3c045f40f1b0972856ad827497a585be11055eed2ce15093252db98104a64cb1c4120e1da42179c414da7449b13bbc2e3d0bbc8fe5f0b91d52e6178b54787c541392d881abbb20fac173a94819ff9bd6d30780bde564dd85216b315a3c48ee1d1d9afcd7738e7af52ba6c92a65197d165f7cec127e9ee6884b6b6864d35d028770e8748d5d7ca7bb398a8107950832250a9fc1dd68edacd7fec5d3719f358e7b1e0a0f4190ddf85b9431d654808d9c4f2e8372cc1f047db7a026807835365a2468ec9019932b70daa3e7dbb3947, saltS=3fb1e6034b27a4d2bcf45238868b289b, safePrimeN=ac6bdb41324a9a9bf166de5e1389582faf72b6651987ee07fc3192943db56050a37329cbb4a099ed8193e0757767a13dd52312ab4b03310dcd7f48a9da04fd50e8083969edb767b0cf6095179a163ab3661a05fbd5faaae82918a9962f0b93b855f97993ec975eeaa80d740adbf4ff747359d041d5c33ea71d281e446b14773bca97b43a23fb801676bd207a436c6481f1d2b9078717461a5b9d32e688f87748544523b524b0d57d5ea77a2775d2ecfa032cfbdbf52fb3786160279004e57ae6af874e7303ce53299ccc041c7bc308d82a5698f3a8d0c38271ae35f8e9dbfbb694b5c803d89f7ae435de236d525f54759b65e372fcd68ef20fa7111f9e4aff73, correspondingGeneratorG=2, hashAlgorithmH=SHA-256, srpProtocolVersion=1], ]]
2018-06-10 22:24:37.349 INFO AuthorizationClient - Auth step 2 request A [5403163471715177101225728917300360831092963067725236349294338994220783931325208313691351263850330042797927374256358917481215867744281171581593585113928794228660068904786371118687749016648335490783345978684893426639609492094959014005935231795504010572324498694625180356503892252682613843855802549098459049224047835255831695389446488096049632703182857429126757795919591661397118969200498793579556152992713508410493722890695043125178630430462323311857395954987578254241441476469857237933157263293012286729168323639265280213195459749264046448523202148821085942256348513286138635947460701528693470148453969121891116177941], M1 [108876035726164111308281435992201586128576322992725777504625493437033823425054]
2018-06-10 22:24:37.365 DEBUG AuthorizationClient - >> [https://login.dukascopy.com/authorization-1/demo/auth?munus=srp_api&testimonium_nuntius=f0b5a705c78e32daf41841a16d7aca429006fa0fb1752f83f717788ed735521e&passus=2&publicus_pendo=2acd21f322db2523ebacfc625f45096762f3b3fac897ece07e7c455d39d5af7b7a43642d6f54e8da4a13b4a804da556cd7d894637a17b83f3d6c49cffbe15187e694c9318442facf101ca92c637918b1f28a7a72bdb7fcdc19662dd48b30e6b2142cfe0bf08d8b1d6a70c4ecc8bece8345f53003d363922436b170b812638523e5a32efd6f0e0b830a780f655550a23545c344808e80016134cb4c9c16218282db381d28d9584e74cb59d5c6b1040239c853750d9812413780b413dc2ec954b6b3844adfd45941b5c01129c19172bfc39f7fad43ed4bc8b6b1fce0ff875891b6ced92ba43b011b5465b3700a20b9b24775463b79e1a50fa1d9d0bc71367cda15&sermo=cb869623-1081-49d2-9b32-63ae4083abda&putent_genus=0&srp_versio=1]
2018-06-10 22:24:38.310 DEBUG AuthorizationClient - << [Wrong input params]
2018-06-10 22:24:38.321 ERROR AuthorizationClient - Wrong input params
AuthServerResponse [response=Wrong input params, responseCode=800, headerFields={Transfer-Encoding=[chunked], null=[HTTP/1.1 800], CF-RAY=[428e382b68356a01-LHR], Server=[cloudflare], Connection=[keep-alive], Pragma=[no-cache], Last-Modified=[Sun, 10 Jun 2018 19:24:39 GMT], StatusCode=[800], Date=[Sun, 10 Jun 2018 19:24:39 GMT], StatusMessage=[Wrong input params], Cache-Control=[no-cache, must-revalidate, no-store, max-age=0], Access-Control-Allow-Credentials=[true], Set-Cookie=[__cfduid=dbc2e0bb0af35b3c85b6dab6ef2b035491528658679; expires=Mon, 10-Jun-19 19:24:39 GMT; path=/; domain=.dukascopy.com; HttpOnly], Expires=[Thu, 01 Jan 1970 00:00:00 GMT], Content-Language=[en], Expect-CT=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], Content-Type=[text/html;charset=UTF-8]}]
at com.dukascopy.auth.client.transport.http.HttpAuthTransport.makeServerRequest(HttpAuthTransport.java:109)
at com.dukascopy.auth.client.protocol.AbstractSRPClientProtocol.performStep2(AbstractSRPClientProtocol.java:196)
at com.dukascopy.auth.client.SRPAuthClient.step2(SRPAuthClient.java:179)
at com.dukascopy.auth.client.SRPAuthClient.authenticate(SRPAuthClient.java:76)
at com.dukascopy.api.impl.connect.AuthorizationClient.getAPIsAndTicketUsingLogin_SRP6(AuthorizationClient.java:964)
at com.dukascopy.api.impl.connect.AuthorizationClient.getAPIsAndTicketUsingLogin_SRP6(AuthorizationClient.java:783)
at com.dukascopy.api.impl.connect.DCClientImpl.authenticate(DCClientImpl.java:558)
at com.dukascopy.api.impl.connect.DCClientImpl.connect(DCClientImpl.java:339)
at com.dukascopy.api.impl.connect.DCClientImpl.connect(DCClientImpl.java:329)
at singlejartest.Main.tryToConnect(Main.java:102)
at singlejartest.Main.main(Main.java:61)

Author:  i_hate_java [ Wed 13 Jun, 2018, 15:35 ]
Post subject:  Re: Cannot login to the empty program downloaded from dukascopy

that is a bug of current version
https://www.dukascopy.com/swiss/english ... 16&t=56491

Author:  API Support [ Thu 14 Jun, 2018, 13:02 ]
Post subject:  Re: Cannot login to the empty program downloaded from dukascopy

I don't think that is related to this bug.

According to logs, seems that your connection parameters was reset by timeout. There are several reasons why it might happen.
It was a one-time mistake or a problem still exists?

  Page 1 of 1