EMA API Having SSL Connect Error After Server Migrate

Kia Wai
Kia Wai Newcomer

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.

image


Thank you in advance.

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @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&quot; -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.



Answers