Token Issue

Hi Team,
We are running consumer 450 in our AWS, some-times we end up with token issue.
loggerMsg
ClientName: ChannelCallbackClient
Severity: Warning
Text: Received Channel warning event on channel Channel_1
Instance Name Consumer_1_1
RsslReactor @48e74764
RsslChannel @104c02c6
Error Id 0
Internal sysError 0
Error Location Reactor.processWorkerEvent
Error text Failed REST request for the token service. Text: api.refinitiv.com
loggerMsgEnd
In the above error I do see Consumer_1_1. What is the use of this Instance name?
Hence while creating the ommConsumer I do see that we are using certain parameters listed below, I would like to understand the definition of these variables/parameters.
config.consumerName("Consumer_1")
tokenUrlV1
tokenUrlV2
serviceDiscoveryUrl
Please help us to provide the required information.
Best Answer
-
Hello @Maha Rana Parthap Sing ,
1. Likely there was a connectivity interrupt, that could have been due to the client's local machine or network condition, their internet connectivity to endpoints, and potentially service maintenance or outage. For this last case only the historical alerts can be reviewed via Historical Alert Search. If the client is facing the issue, and not finding it among known alerts, they can open a support case with My Refinitiv support-> Refinitiv Real-time Optimized to verify the issue. If the connectivity interrupt is due to local conditions or internet connectivity, local admin/network team are the best resources to engage to investigate.
2. EMA retries the connection, and in most cases, it is able to re-establish and re-subscribe the open instruments on client's behalf, this is "single open" by default.
In rare situations, the connection cannot be recovered by EMA. A production-strength design should include provisions to detect is to register for Login stream events and to handle the closures of it. Please see: this previous discussion thread and this previous discussion thread for the discussion of the details.
If the issue re-occurs repeatedly, please see this previous discussion thread as well.
3. The usage of parameters described is as expected and should not be the cause.
4. This means that the connectivity path may be different and pin-pointing the source of the issue may be more complex. All previous answers should still apply.
If the issue re-occurs repeatedly, I personally would try to retest outside of Amazon cluster to eliminate it as the potential source of the connectivity interrupts.
Hope that this information helps
0
Answers
-
Hello @Maha Rana Parthap Sing ,
ex450_MP_QueryServiceDiscovery works with your valid AWS credentials and "... illustrates how to query endpoints from Refinitiv Data Platform service discovery using the ServiceEndpointDiscovery class and use the location from the command line to select an endpoint..."
This is done by EMA "under the hood", on your behalf, you can review (and step-by-step in IDE) the main steps implemented in the example code and the configuration that is defined in Consumer_1 stanza of your local EmaConfig.xml is used to define the interaction.
If you are getting started on integrating with RTO, in Java, would suggest to quick-start by following the steps in Quick Start - Connecting to Refinitiv Real-Time -- Optimized in Java and analogous in C/C++ if youa re in C/C++, next, more of the relevant information on RTSDK consumer implementation can be found in RTSDK Tutorials -> Consumer sections.
Hope that this information is of help
0 -
Hi @zoya faberov,
Thanks for the information. Still, I am not clear with exception (Error text Failed REST request for the token service. Text: api.refinitiv.com) need your assistance.
Exception:
Error text Failed REST request for the token service. Text: api.refinitiv.comCurrent Application Details:
Yes, we are integrating with RTO in Java (Spring boot application). I have gone through the tutorial and integrated with Consumer 450 in our app and able to run successfully in local and cloud. Sometimes (intermittently) I do observe the token issue.
Can you please assist on the below queries?
1. In which scenario/conditions this exception will occur?
2. After this exception will it re-run the program on its own or do we need to restart the application?
3. In order to run the consumer, we need to pass some command line arguments. (username, clientId, password, tokenURL, tokenURLV1, tokenURLV2). I am aware of username, password and clientId. But I am not sure what are these tokenURL, tokenURLV1, tokenURLV2 parameters? By any chance the above exception is directly/indirectly related to these token parameters.
4. FYI, we have deployed our application in Amazon EKS cluster.
0 -
Thanks. If issue occurs repeatedly will come back on this thread.
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
- 685 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 252 ETA
- 556 WebSocket API
- 38 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 652 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
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 917 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛