Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • EMA /
avatar image
Question by Kia Wai · May 06, 2021 at 02:09 AM · elektronrefinitiv-realtimeelektron-sdkrrtema-apic++ssl

EMA API Having SSL Connect Error After Server Migrate

Application resided in cloud server had encountered "SSL connect error" exception recently. Please provide advices or suggestions why this might happen.

Below is a snip shot of the error in our log file.


Thank you in advance.

1620266834265.png (24.3 KiB)

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Jirapongse · May 06, 2021 at 04:02 AM

@Kia Wai

From my checking, the "SSL connection error" is too generic to identify the problem.

However, the error message indicates that the problem happens when requesting an authentication token.

EMA uses libcurl to send HTTP requests. Therefore, I think you can use the following curl command on that machine to verify the problem.

curl -X POST "https://api.refinitiv.com/auth/oauth2/v1/token" -H  "accept: application/json" -H  "Content-Type: application/x-www-form-urlencoded" -d "grant_type=password&username=<machineID>&password=<password>&client_id=<clientID>&takeExclusiveSignOnControl=true"

Please change <machineID>, <password>, and <clientID> to your machine ID, password, and client ID.

If the issue also occurs with the curl command, it could be a problem in the machine's settings.



Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by Kia Wai · May 18, 2021 at 02:51 AM

Hi @jirapongse.phuriphanvichai, sorry for late reply.


curl is not installed in this server. The program uses libcurl within the same folder, which works in another server (same libcurl, same credential).


Below is a screenshot of log recorded using RestLogEnable in EmaConfig.


We had opened port 443 in firewall to connect to api.refinitiv.com via private link. Is port 80 needed to be opened as well ?


Feel free to ask if you need more information regarding this issue.


restlog.jpg (44.7 KiB)
1621306172719.png (10.5 KiB)
Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Jirapongse ♦♦ · Jul 05, 2021 at 07:26 AM 0
Share

@Kia Wai

What is the version of EMA you are using?

If it is old, please upgrade it to the latest version. The latest version is Real-Time-SDK-2.0.2.L1.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
8 People are following this question.

Related Questions

EMA C++ - Buffer overflow on debugging with strace

When does a handle returned by thomsonreuters::ema::access::OmmConsumer::registerClient become invalid?

how to submit a OmmConsumer object without PostMsg.postId( id )

Field length VS String Null terminator

rssl initialise failed Error while running the Example .

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges