I have just received RTO machineID account. I set password and created AppKey. However, when I tried to login, there is an error. I am not sure what is the reason. Can you please help me? Thank you. I use CPP Real Time SDK on Linux environment.
Hi @Xueying
As per our offline conversation;
Looking at the source code for our API (rsslRestClientImpl.c), the text ‘Error: Failed to set CURL options with text’ is from our API and the following ‘an unknown option was passed in to libcurl’ is coming from the Curl library.
You can also google ‘an unknown option was passed in to libcurl’ to find possible solutions to your curl library issue.
I can confirm I have tested your credentials with both a Windows and Linux version of Cons113 and with a Python script and all 3 instances are able to login to the server.
Please try the following and post any error response here - do NOT post MachineID, Password, AppKey or any Access token here.
curl --location --request POST 'https://api.refinitiv.com/auth/oauth2/v1/token'; \--header 'Content-Type: application/x-www-form-urlencoded' \--header 'Authorization: Bearer ' \--data-urlencode 'username=<Machine ID>' \--data-urlencode 'password=<Password>' \--data-urlencode 'grant_type=password' \--data-urlencode 'scope=trapi' \--data-urlencode 'takeExclusiveSignOnControl=true' \--data-urlencode 'client_id=<App Key>'
Also, please confirm which EMA CPP example you are running? Are you following the QuickStart steps?
Please note the similar error message from another user was as a result of the executable not being able to locate the OpenSLL and curl libraries at runtime - Help running the consumer example - Forum | Refinitiv Developer Community
I used the same program for RTO Trial months ago and I only changed credentials now, so I think there should not be any problem regarding to the code.
For Proxy related issues, you would need to seek assistance from your internal network/security team - who can also interact with our RTO team via the helpdesk.
Can you confirm your MachineID looks something like GE-A-01234567-8-9101 and the password, is the long password set using the link in the Welcome email (that also contained the above MachineID)?
The above error indicates you are using an incorrect username and/or password
I have tried your machineID and password with the Cons113 example and I am able to connect and consume data.
Therefore, the issue is likely to be a local configuration issue or an application issue.
Please test with Cons113 as suggested earlier and confirm the credentials are valid.
Thank you. It turns out to be some problem with curl library. I did not use the right version of libcurl.
Hi @umer.nalla ,
Now I use a new machine and when I do cmake in the SDK , there is some error. Could you please help to see what is the problem? Thank you.
Prebuilt libraries not found: librssl_LIBRARY_OPTIMIZED-NOTFOUND, in
/app/qsg/pretrade/Real-Time-SDK-2.0.2.L1.linux/setup/RTSDK-2.0.2.L1.linux.rrg/Cpp-C/Eta/Libs/LIN3_64_GNU485/Optimized;/app/qsg/pretrade/Real-Time-SDK-2.0.2.L1.linux/setup/RTSDK-2.0.2.L1.linux.rrg/Cpp-C/Eta/Libs/LIN3_64_GCC485/Optimized
Prebuilt libraries not found: librssl_shared_LIBRARY_OPTIMIZED-NOTFOUND, in
Prebuilt libraries not found: librsslJsonConverter_shared_LIBRARY_OPTIMIZED-NOTFOUND, in
Prebuilt libraries not found: librsslVA_LIBRARY_OPTIMIZED-NOTFOUND, in
Prebuilt libraries not found: librsslVA_shared_LIBRARY_OPTIMIZED-NOTFOUND, in
Prebuilt libraries not found: libansi_LIBRARY_OPTIMIZED-NOTFOUND, in
Prebuilt libraries not found: libema_LIBRARY_OPTIMIZED-NOTFOUND, in
/app/qsg/pretrade/Real-Time-SDK-2.0.2.L1.linux/setup/RTSDK-2.0.2.L1.linux.rrg/Cpp-C/Ema/Libs/LIN3_64_GNU485/Optimized;/app/qsg/pretrade/Real-Time-SDK-2.0.2.L1.linux/setup/RTSDK-2.0.2.L1.linux.rrg/Cpp-C/Ema/Libs/LIN3_64_GCC485/Optimized
Prebuilt libraries not found: libema_shared_LIBRARY_OPTIMIZED-NOTFOUND, in
@Xueying
Have you installed the lsb-core package?
yum -y install redhat-lsb-core.x86_64 openssl-devel
It uses the lsb_release command to find the linux distribution.
pic1.png
According to the API compatibility matrix, EMA C++ supports the following operating systems.
It has the libraries for the following operating systems and compilers.
pic2.png
I am not a Linux expert - as well as my colleague's suggestion, you can refer to the RT-SDK Build notes here and here.
You may also find my following article of some help Coding & Testing Linux Applications on Windows using WSL & VS Code | Refinitiv Developers