Error: 0012 Unable to load openSSL Libraries
I have an Elektron SDK sample program that runs successfully on my development PC but not when I deploy it to another PC, which is pretty much a vanilla Window 10 box other than the Visual Studio redistributables (VC_redist.x64.exe) that are required to run anything built by VC.
The error log indicates that the SDK is unable to load openSSL libraries. (See below.) Are there additional binaries that need to be deployed along with the application?
For background, the sample is "EMA Consumer - Posting data to TR Contribution Channel" modified with my account details and it successfully posts data. The EXE is a Release build. The following log message repeats several times before the app times out.
loggerMsg
TimeStamp: 10:53:06.998
ClientName: ChannelCallbackClient
Severity: Warning
Text: Received ChannelDownReconnecting event on channel Channel_1
Instance Name Consumer_1_1
RsslReactor 0x000002159F096AD0
RsslChannel 0x000002159F096AD0
Error Id -1
Internal sysError 126
Error Location
Error Text <C:\Jenkins\workspace\ESDKCore_RCDEV\OS\VS140-64\rcdev\source\esdk\Cpp-C\Eta\Impl\Transport\rsslSocketTransportImpl.c:7604> Error: 0012 Unable to load openSSL Libraries.
loggerMsgEnd
Best Answer
-
@moragodkrit
Follow-up: I downloaded OpenSSL DLLs from here: http://wiki.overbyte.eu/arch/openssl-1.1.1a-win64.zip
After I put them in the EXE directory the programs now runs fine. Thanks for your questions -- they helped me resolve this issue.
1
Answers
-
What version of EMA /ESDK you currently use and Can you share the EMA configuration file?
I tested the TRCC example with ESDK 1.3.1 and connecting the example to the TRCC server for windows and I also configured the EMA config to use open ssl rather than winInet and still not found the issue.0 -
@moragodkrit
Thanks for your reply.
The version is (from the CHANGELOG file): ESDK C/CPP 1.3.1.L1 aka EMA 3.3.1.L1 and ETA 3.3.1.L1
I attached the Ema config file.
I was just looking at the README.md file and it lists openSSL as an "external module" used by the ESDK. For Windows I assume this would be a DLL? Can you recommend a binary distribution of OpenSSL that would satisfy this requirement?
0 -
It looks like you changed EncryptedProtocolType to EncryptedProtocolType::RSSL_SOCKET so EMA uses OpenSSL rather than the default WinInet on windows and that is the reason that it required the OpenSSL library.
It looks like the windows 10 on azure I just created already have openssl lib installed so that why I can't replicate the error.
0 -
Yes. The reason that was done was to work-around an incompatibility between the Windows EMA program I built and the server it was trying to login-to. (Apparently, a Windows build that uses WinInet can only connect to Windows servers.) I did that on the advice of a refinitiv engineer. You can refer to that thread here: https://community.developers.refinitiv.com/questions/51027/ema-consumer-app-login-times-out-after-45-seconds.html
0
Categories
- All Categories
- 6 AHS
- 39 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 中文论坛