Unable to fetch market data using EMA Java runconsumer450 in linux
I have a client trying to execute EMA Java runconsumer450 code in Linux application server. They are getting the following response when entering machine id, password, client id and itemname in command line.
I tried to run the same command in my AWS EC2 environment and I am able to execute. Could this be due to service name (ELEKTRON_DD)? or, probably some other issue?
Best Answer
-
Has your client referred to the QuickStart for EMA Java connecting to ERT in Cloud?
Quick Start | Refinitiv Developers
If you note the command line parameters on the above QuickStart page and in the help output from the example, you will note that the keyfile and keypasswd are also required e.g.
./gradlew runConsumer450 --args='[-username <ERT username/machineId>] [-password <password>]-keyfile /home/ec2-user/Elektron-SDK/Java/keystore.jks -keypasswd changeit'
The Prerequisites section of the above page has a link to Java Keystore creation guide page.
The fact that the example is listing the command line parameters would indicate that one o more parameters are missing when the example is invoked.
0
Answers
-
Thanks @umer.nalla
I guessed so, but saw keyfile/keypasswd was not marked as mandatory hence the miss.
Just referred to EMA Java README for keystore creation. There is mention of cacerts file. So can I enter my cacerts file path in keyfile instead, something like:
-keyfile C:\Program Files\Java\jdk1.8.0_271\jre\lib\security\cacerts.file -keypasswd changeit
0 -
Sorry - but I am not sure I understand the point you are making in your reply?
Have you checked the Java Keystore file page mentioned in the Prerequisites section of the QuickStart - that I mentioned in my reply above?
0 -
Sorry for the confusion. I will check and get back in case of any concern
0 -
@umer.nalla Thanks, able to get keyfile and keypasswd generated but encountered the below issue.
Even double checked on the machine ID, password and client ID (executing command on linux application server). Password has special character hence client had tried to execute the command multiple times once with password & single quotes and other without quote.
0 -
Looking at the screenshot above, it looks like the client's password is too short.
They need to follow the instructions in the 'Welcome to Refinitiv - Your New Account' email they receive which contains their MachineID.
Step 2 of the above email has a link to activate the MachineID by setting a password - and this password has to be a complex one with a min 30 chars length etc.
0
Categories
- All Categories
- 6 AHS
- 38 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛