Cannot login to RTO
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.
Best Answer
-
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.
0
Answers
-
Hi @Xueying
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?
0 -
Hi @Xueying
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
0 -
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.
0 -
Hi @Xueying
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
0 -
@XueyingHi
By New Credential, do you mean a new MachineID?
If so, did you set a new password for your new machineID?
0 -
Yes, it is a new machine ID and I set new password for it.
0 -
Hi @Xueying
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.
0 -
Thank you. It turns out to be some problem with curl library. I did not use the right version of libcurl.
0 -
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
/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: librsslJsonConverter_shared_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: librsslVA_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: librsslVA_shared_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: libansi_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: 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
/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
0 -
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.
According to the API compatibility matrix, EMA C++ supports the following operating systems.
It has the libraries for the following operating systems and compilers.
0 -
Hi @Xueying
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
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
- 690 Datastream
- 1.4K DSS
- 629 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 559 WebSocket API
- 39 FX Venues
- 15 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 25 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 280 Open PermID
- 45 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 720 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
- 106 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 95 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛