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.

HELLO.support.an exception TesterMain.java
 Post subject: SSLHandshakeException Post rating: 0   New post Posted: Sun 10 Nov, 2013, 15:23 

User rating: 0
Joined: Sun 10 Nov, 2013, 15:17
Posts: 3
Location: China,
Hi,Support,
When I use "TesterMainGUIMode" with the "MA_PALAY",the console shows:
2013-11-10 22:18:07.413 INFO TesterMainGUIMode - Connecting...
2013-11-10 22:18:13.106 INFO AuthorizationClient - >> [{}]https://www1.dukascopy.com/authorization/demo/auth?typus=0&munus=stngs&appello=DEMO10037epowmEU&licentio=03654ecc8721ced3d9a2d66e4a78ea669cd43c3fb2628dbf76b19257e1d3c327&sermo=105a6a34-a0ee-4893-b86d-398578f1627a&stngs=1
2013-11-10 22:18:14.713 WARN AuthorizationClient - << [{}]{menu.item.holidays.calendar=/marketwatch/calendars/NationalHolidaysCalendar/, services1.url=https://demo-login.dukascopy.com, reports.url=/Reports, wlabel.platformDomain=dukascopy-eu, menu.item.economic.calendar=/marketwatch/calendars/eccalendar/, history.server.url=https://www.dukascopy.com/datafeed/, brokerChat.url=https://www.dukascopy.com/chat/login.php?channel=3, client.mode=DEMO, wlabel.skype=dukascopy, contest.chart.url=https://demo-login.dukascopy.com/aDDS/export/contestChart.php, news.host.url=https://external.dukascopy.com, sss.server.url=https://vf.dukascopy.com/strategystorageserver/, wlabel.url=www.dukascopy.eu, menu.item.dayly.hl=/marketwatch/daily_hl_interbank/, menu.item.interest.rates.calendar=/marketwatch/calendars/InterestRatesCalendar/, loginId=659931, userTypes=MANAGE_STOP_LIMIT,MINI_FX,REGULAR,, news.source=api, contest_account_deactivated=false, wlabel.longLabel=Dukascopy Europe IBS AS, wlabel.phone=+371 67 399 000, wlabel.shortLabel=Dukascopy Europe, wlabel.logo=[B@56acdd02, menu.item.report.issue=/about/issues/, external_ip=123.116.57.221, reports=portfolio_client,intraday_client,position_client,annual_report,deposit_receipt,sms_notificator,trader_sll,self_traded_volume,activity_log,merge_log,trade_log,trader_sll_action_log,signal_server_consumer, feed.commission.history=[], [email protected], encryptionKey=73AF04D229C540FE6BA9635D2CC29A50, menu.item.forex.calculator=/marketwatch/forexcalc/forex_calculator/, platformManual.url=https://www.dukascopy.com/wiki/, platformFaq.url=https://www.dukascopy.com/swiss/english/forex/faq/, instruments=[CAD/HKD, EUR/SGD, EUR/NOK, EUR/NZD, AUD/NZD, USD/TRY, GBP/USD, NZD/CHF, USD/MXN, USD/HKD, SGD/JPY, EUR/ZAR, EUR/HKD, AUD/CAD, USD/PLN, EUR/PLN, USD/NOK, USD/CHF, GBP/CHF, EUR/CHF, USD/JPY, GBP/CAD, HKD/JPY, GBP/JPY, EUR/CAD, USD/SEK, CHF/SGD, USD/DKK, EUR/SEK, NZD/JPY, AUD/SGD, NZD/USD, CAD/JPY, EUR/GBP, CHF/JPY, XAG/USD, GBP/AUD, AUD/JPY, XAU/USD, EUR/USD, AUD/USD, USD/CAD, USD/ZAR, EUR/JPY, USD/SGD, AUD/CHF, GBP/NZD, USD/RUB, NZD/CAD, CAD/CHF, EUR/AUD, EUR/DKK, EUR/TRY], menu.item.margin.level.calculator=/marketwatch/forexcalc/margin_level/, wlabel.jsEnable=true, wlabel.foUrl=https://eu-demo.dukascopy.com, jstore.board.url=https://www.dukascopy.com/jstore/, jss.logserver.url=https://eu-demo.dukascopy.com/jss-log/, additionalUserTypes=[], tradelog_sfx.url=/aDDS/export/tradeLog.php, get.help.url=https://www.dukascopy.com/swiss/english/forex/jforex/forum/, base.calendar.url=https://www.dukascopy.com/swiss/{0}}
2013-11-10 22:18:15.992 ERROR ClientConnector - Exception caught
javax.net.ssl.SSLHandshakeException: SSL handshake failed.
at org.apache.mina.filter.SSLFilter.messageReceived(SSLFilter.java:416)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:220)
at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.net.ssl.SSLException: Received fatal alert: unexpected_message
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1390)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1358)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.recvAlert(SSLEngineImpl.java:1524)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:984)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:810)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:686)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:607)
at org.apache.mina.filter.support.SSLHandler.unwrap0(SSLHandler.java:660)
at org.apache.mina.filter.support.SSLHandler.unwrapHandshake(SSLHandler.java:616)
at org.apache.mina.filter.support.SSLHandler.handshake(SSLHandler.java:496)
at org.apache.mina.filter.support.SSLHandler.messageReceived(SSLHandler.java:306)
at org.apache.mina.filter.SSLFilter.messageReceived(SSLFilter.java:392)
... 8 more


Please help me! I can't connect the platform ,and can't do any testing.


 
 Post subject: Re: SSLHandshakeException Post rating: 0   New post Posted: Mon 11 Nov, 2013, 20:26 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
Normally the DEMO platform could be inaccessible during weekends. Give it a try now and if you still have a problem, report back.


 
 Post subject: Re: SSLHandshakeException Post rating: 0   New post Posted: Tue 12 Nov, 2013, 05:50 

User rating: 0
Joined: Sun 10 Nov, 2013, 15:17
Posts: 3
Location: China,
The same SSLHandshakeException has happened when I do test today using the "TesterMainGUIMode" .


2013-11-12 12:49:05.817 INFO TesterMainGUIMode - Connecting...
2013-11-12 12:49:14.314 INFO Ping - Ping to [d-ja-gva-61-167.dukascopy.com/194.8.15.167:10443] timed out
2013-11-12 12:49:14.314 INFO Ping - Ping to [d-ja-gva-61-167.dukascopy.com/194.8.15.167:10443] timed out
2013-11-12 12:49:14.315 INFO AuthorizationClient - >> [{}]https://www1.dukascopy.com/authorization/demo/auth?typus=0&munus=stngs&appello=DEMO10037TAyWQEU&licentio=214a9c1fd8852a864a1922c9b6aa3a17bc939d990e3593507781f7d73c341526&sermo=82cae020-44cd-405f-acdf-09a0fe7e662a&stngs=1
2013-11-12 12:49:17.673 WARN AuthorizationClient - << [{}]{menu.item.holidays.calendar=/marketwatch/calendars/NationalHolidaysCalendar/, services1.url=https://demo-login.dukascopy.com, reports.url=/Reports, wlabel.platformDomain=dukascopy-eu, menu.item.economic.calendar=/marketwatch/calendars/eccalendar/, history.server.url=https://www.dukascopy.com/datafeed/, brokerChat.url=https://www.dukascopy.com/chat/login.php?channel=3, client.mode=DEMO, wlabel.skype=dukascopy, contest.chart.url=https://demo-login.dukascopy.com/aDDS/export/contestChart.php, news.host.url=https://external.dukascopy.com, sss.server.url=https://vf.dukascopy.com/strategystorageserver/, wlabel.url=www.dukascopy.eu, menu.item.dayly.hl=/marketwatch/daily_hl_interbank/, menu.item.interest.rates.calendar=/marketwatch/calendars/InterestRatesCalendar/, loginId=660602, userTypes=MINI_FX,MANAGE_STOP_LIMIT,REGULAR,, news.source=api, contest_account_deactivated=false, wlabel.longLabel=Dukascopy Europe IBS AS, wlabel.phone=+371 67 399 000, wlabel.shortLabel=Dukascopy Europe, wlabel.logo=[B@146b6db, menu.item.report.issue=/about/issues/, external_ip=220.181.11.232, reports=portfolio_client,intraday_client,position_client,annual_report,deposit_receipt,sms_notificator,trader_sll,self_traded_volume,activity_log,merge_log,trade_log,trader_sll_action_log,signal_server_consumer, feed.commission.history=[], [email protected], encryptionKey=4F64D7AB813FDBA435D9D7ACF387FF3E, menu.item.forex.calculator=/marketwatch/forexcalc/forex_calculator/, platformManual.url=https://www.dukascopy.com/wiki/, platformFaq.url=https://www.dukascopy.com/swiss/english/forex/faq/, instruments=[CAD/HKD, EUR/SGD, EUR/NOK, EUR/NZD, AUD/NZD, USD/TRY, GBP/USD, NZD/CHF, USD/MXN, USD/HKD, SGD/JPY, EUR/ZAR, EUR/HKD, AUD/CAD, USD/PLN, EUR/PLN, USD/NOK, USD/CHF, GBP/CHF, EUR/CHF, USD/JPY, GBP/CAD, HKD/JPY, GBP/JPY, EUR/CAD, USD/SEK, CHF/SGD, USD/DKK, EUR/SEK, NZD/JPY, AUD/SGD, NZD/USD, CAD/JPY, EUR/GBP, CHF/JPY, XAG/USD, GBP/AUD, AUD/JPY, XAU/USD, EUR/USD, AUD/USD, USD/CAD, USD/ZAR, EUR/JPY, USD/SGD, AUD/CHF, GBP/NZD, USD/RUB, NZD/CAD, CAD/CHF, EUR/AUD, EUR/DKK, EUR/TRY], menu.item.margin.level.calculator=/marketwatch/forexcalc/margin_level/, wlabel.jsEnable=true, wlabel.foUrl=https://eu-demo.dukascopy.com, jstore.board.url=https://www.dukascopy.com/jstore/, jss.logserver.url=https://eu-demo.dukascopy.com/jss-log/, additionalUserTypes=[], tradelog_sfx.url=/aDDS/export/tradeLog.php, get.help.url=https://www.dukascopy.com/swiss/english/forex/jforex/forum/, base.calendar.url=https://www.dukascopy.com/swiss/{0}}
2013-11-12 12:49:18.119 ERROR ClientConnector - Exception caught
javax.net.ssl.SSLHandshakeException: SSL handshake failed.
at org.apache.mina.filter.SSLFilter.messageReceived(SSLFilter.java:416)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:220)
at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.net.ssl.SSLException: Received fatal alert: unexpected_message
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1390)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1358)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.recvAlert(SSLEngineImpl.java:1524)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:984)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:810)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:686)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:607)
at org.apache.mina.filter.support.SSLHandler.unwrap0(SSLHandler.java:660)
at org.apache.mina.filter.support.SSLHandler.unwrapHandshake(SSLHandler.java:616)
at org.apache.mina.filter.support.SSLHandler.handshake(SSLHandler.java:496)
at org.apache.mina.filter.support.SSLHandler.messageReceived(SSLHandler.java:306)
at org.apache.mina.filter.SSLFilter.messageReceived(SSLFilter.java:392)
... 8 more


 
 Post subject: SSLHandshakeException TesterMain.java Post rating: 0   New post Posted: Wed 13 Nov, 2013, 16:20 
User avatar

User rating: 0
Joined: Wed 28 Mar, 2012, 06:41
Posts: 25
Location: China, Beijing
when I run the TesterMain.java in Myeclipse
sometimes this exception will appear
what the matter?
Image


Attachments:
exception.png [63.01 KiB]
Downloaded 596 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: HELLO.support.an exception TesterMain.java Post rating: 0   New post Posted: Thu 14 Nov, 2013, 10:26 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
Another user reported same issues: viewtopic.php?f=65&t=50355

If you are for sure using the latest SDK, I suggest to file a bug.

Edit: Latest SDK version is 2.29.1 (https://www.dukascopy.com/client/jforexlib/)


 
 Post subject: Re: HELLO.support.an exception TesterMain.java Post rating: 0   New post Posted: Thu 14 Nov, 2013, 16:51 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Does it occur only when launching the JForex-SDK or also when launching the platform?
What java version do you use?


 
 Post subject: Re: HELLO.support.an exception TesterMain.java Post rating: 0   New post Posted: Fri 15 Nov, 2013, 15:45 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Could you please check if the issue persists if you check the "Use SSL 2.0 compatible ClientHello format" setting in the Java Control Panel?
Image


Attachments:
use ssl 2.0.png [19.56 KiB]
Downloaded 580 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 

Jump to:  

cron
  © 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