Connection down reconnecting
Hello,
I am setting up the environment currently and running the steps in the quick start guide.
I went and ran the following command:
C:\jars\jars_reuters\setup\Elektron-SDK1.0.8.java\Eta\Applications\Examples>java -cp ./bin;../../Libs/upa.jar;../../Libs/upaValueAdd.jar;../../Libs/upaValueAddC ache.jar com.thomsonreuters.upa.valueadd.examples.consumer.Consumer -c elektron: 14002 ELEKTRON_AD mp:AAPL.O
I am getting the following error:
Ultra Performance API (UPA), Java Edition, LibraryVersionInfo productVersion: etaj3.0.3.L1.all.rrg productInternalVersion: etaj3.0.3.L1 productDate: Tue Nov 15 12:44:01 CST 2016 Thomson Reuters Consumer initializing... Unable to load field dictionary. Will attempt to download from provider. Text: Can't open file: RDMFieldDictionary Unable to load enum dictionary. Will attempt to download from provider. Text: Can't open file: enumtype.def Connection down reconnecting Error text: java.nio.channels.UnresolvedAddressException Connection down reconnecting Error text: Reconnection failed: java.nio.channels.UnresolvedAddressException
Kindly suggest.
Best Answer
-
Hi @bonson
Are you trying to connect a real data feed or trying to connect to locally running Provider example to mimic a feed?
If you are trying to connect to a real data feed you need to know the IP address or hostname of the server that is provided the data feed.
for example I can run the above example with the following parameters:
-c 10.13.234.166:14002 ELEKTRON_DD mp:VOD.L -uname umer.nalla
In the above example '10.13.234.166' is the IP address of the server which provides the ELEKTRON_DD service and the port is the default port of '14002'.
I am then requesting a 'MarketPrice' for 'VOD.L' from the ELEKTRON_DD service and also specifying my user name of 'umer.nalla'
Also, note the lack of a space between the : and port i.e. 10.13.234.166:14002
The error you report suggest it cannot make a valid connection to the server 'elektron' that you have specified. Is this a valid server name? Also, it is trying to load the dictionary files locally, but since they are not present it will then attempt to download them - once a successful connection to the server has been established.
If you are unsure of the server details / service name / username etc you should speak to your local Market Data team or your Thomson Reuters Account Manager.
0
Answers
-
Hi @bonson
Within the quickstart, refer to the troubleshooting section which will detail the issue you may be encountering, i.e. connection.
0 -
Hello Umer Nalla,
Thank you for your response. I understand now that my user needs to be assigned a valid server name to connect. How do I get that?
I had just for my personal research, created a ID on Thompson Reuters and was trying to access content using code.
How does a general user know his local Market Data team or your Thomson Reuters Account Manager.
Thanks again for the response.
Regards
Bonson
0 -
Hi Nick,
Thank you for the response. I wanted to know how to get the server details I need to connect to.
I am a new user. I created my account by giving my details and then was trying out the base code.
Regards
Bonson
0 -
Hi,
To access Thomson Reuters data you generally need to have a contract or agreement with Thomson Reuters.
If you are a corporate user, speak to your Market Data team for further information.
If you are personal user exploring our APIs then you can run a local Provider example in order to create a dummy feed and then direct connect with a Consumer example.
So, for example if you run the Provider example and the Consumer example with defaults parameters - on the same PC - the Consumer should connect to the Provider and request some dummy data, which Provider should provide.
0
Categories
- All Categories
- 6 AHS
- 37 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 中文论坛