"Handshake failed with far end." error
Hi, I'm trying to run cunsumer100 example and receive the following error:
May 14, 2018 2:42:46 PM com.thomsonreuters.ema.access.ChannelCallbackClient reactorChannelEventCallback
WARNING: loggerMsg
ClientName: ChannelCallbackClient
Severity: Warning
Text: Received ChannelDownReconnecting event on channel Channel_1
RsslReactor Channel is null
Error Id 0
Internal sysError 0
Error Location Reactor.processWorkerEvent
Error text Error initializing channel: errorId=-1 text=Handshake failed with far end. No more Protocols to try.
loggerMsgEnd
My environment is: Ubuntu 16.04 with Java 7 (OpenJDK 7)
I got the latest Elektron SDK sources from github, and run an unaltered example (with only the config.host changed to the one provided by TR).
Can anyone tell me where the problem could be?
Thanks.
Best Answer
-
I've tried on windows and had same problem.
At the end we figured it out - I was indeed connecting to RSSL port but it expected TLS encryption. Using RSSL_ENCRYPTED channel with a proper keystore did the trick.
Also, note that Java Elektron SDK seems to run without problems even on officially unsupported Ubuntu.
1
Answers
-
First of all, EMA does't support Ubuntu. Please refer to API Compatibility Matrix for supported operating systems and compilers.
I got the same error if I run an example to connect to TCP port (8101) which is not RSSL protocol. The default TCP port or RSSL is 14002. 8101 is a TCP legacy port for source sink library protocol.
consumer = EmaFactory.createOmmConsumer(config.host("192.168.27.48:8101").username("user01"));
May 17, 2018 12:52:03 PM com.thomsonreuters.ema.access.ChannelCallbackClient reactorChannelEventCallback
WARNING: loggerMsg
ClientName: ChannelCallbackClient
Severity: Warning
Text: Received ChannelDownReconnecting event on channel Channel
RsslReactor Channel is null
Error Id 0
Internal sysError 0
Error Location Reactor.processWorkerEvent
Error text Error initializing channel: errorId=-1 text=Handshake failed with far end. No more Protocols to try.
loggerMsgEndFrom the error, the application is connecting to non-RSSL port so it is unable to initialize the channel. Please contact the TR representative who provides you with the server information for confirmation.
You can also share your code or configurations so I can verify it.
1 -
Thanks, I try on windows, then contact the TR representative if the problem persists.
0 -
Thank you for sharing. You have found a cause of the problem so I will accept your answer.
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛