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.
@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.
Hi @Jirapongse, 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.
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.