Elektron API TRCC Certificate validation error
I have a C++ program that posts RIC data to the TRCC using the Elektron SDK. v3.10.3. We've been running an automated posting service 24/7 for over a year. Saturday morning all posts began failing due to what appears to be a certificate error. I made no changes to the code at this time and my IT department says no facility changes were made.
The error occurs during the call to the OmmConsumer constructor. Here is the exception info:
Exception Type='OmmInvalidUsageException', Text='login failed (timed out after waiting 45000 milliseconds) for contrib1-amers1.platform.refinitiv.com:443)'
The program captures the SDK logging messages. Below is an example message. This text repeats several times until the attempt times out after 45 seconds.
Any ideas?
Naomi at the help desk is researching server issues but she said I should post to the API forum. Even if this turns out to be a facility issue on one end or the other, are there any workarounds?
Thanks, Jeff
loggerMsg
TimeStamp: 13:51:04.161
ClientName: ChannelCallbackClient
Severity: Warning
Text: Received ChannelDownReconnecting event on channel Channel_2
Instance Name Consumer_1_1
RsslReactor 0x0000000001E06020
RsslChannel 0x0000000001E06020
Error Id -1
Internal sysError 0
Error Location C:\Jenkins\workspace\ESDKCore_RCDEV\OS\VS140-64\rcdev\source\esdk\Cpp-C\Eta\Impl\Reactor\rsslReactorWorker.c:1132
Error Text <C:\Jenkins\workspace\ESDKCore_RCDEV\OS\VS140-64\rcdev\source\esdk\Cpp-C\Eta\Impl\Transport\ripcsslutils.c:1788> Certificate validation err
: Hostname mismatchOpenSSL Error string: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl\statem\statem_clnt.c:1925:
loggerMsgEnd
Best Answer
-
I just checked my email and there was a message from Refinitiv notifying me that there was a server-side certificate error. Mystery solved.
1
Answers
-
Hi @jeff.birkel
Can you please confirm the exact version of the ElektronSDK version and EMA version you are using - I don't recognise v3.10.3
Are the post still failing or did this occur on Saturday only?
0 -
Apologies. It's version 1.3.1.0
The error persisted for at least 48 hours, from early Saturday morning until at least end of day yesterday (Monday.) As of this morning it is working again. I made no changes and I have no explanation for the change.
0 -
Hi @jeff.birkel
If it was a time-limited scenario then it is most likely an issue with the RCC system or the related Authentication system. I will ask the RCC dev team if they are aware of any such issues over the weekend.
EMA has various recovery mechanisms in place - including the ability to use a ChannelSet and provide more than one Channel to try and connect to. If you have been provided with more than one contrib server address, I would recommend you create a ChannelSet if you are not already doing so.
Some articles you may find useful - (not RCC specific)
Enterprise Message API (EMA) - Configuration Overview | Refinitiv Developers
The Mechanics of EMA Connection and Item Recovery | Refinitiv Developers
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 中文论坛