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.
0
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
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 250 ETA
- 555 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 643 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛