Error while running RTO: Item State: Closed / Suspect / None / 'Login stream was closed.'
I am making a batch request and calling consumer.uninitialize() in the end as part of cleanup. I do receive prices but then I get this warning and a close message for all my items saying login stream was closed.
I am running my application on a trial license. Is this happening because I am on trial and there are no more updates and login stream closes on it's own.
Will this not happen in production , will I keep receiving prices as this is real time streaming and price should keep flowing.
What to do if this happens in production.
Oct 28, 2024 6:16:02 PM com.refinitiv.ema.access.ChannelDictionary processCallback
WARNING: loggerMsg
ClientName: ChannelDictionary
Severity: Warning
Text: RDMDictionary stream was closed with status message
streamId 3
Reason State: Closed/Suspect/None - text: "Login stream was closed."
loggerMsgEnd
Oct 28, 2024 6:16:02 PM com.refinitiv.ema.access.ChannelDictionary processCallback
WARNING: loggerMsg
ClientName: ChannelDictionary
Severity: Warning
Text: RDMDictionary stream was closed with status message
streamId 4
Reason State: Closed/Suspect/None - text: "Login stream was closed."
loggerMsgEnd
Inside onStatusMsg
Item Name: SEK=
Item State: Closed / Suspect / None / 'Login stream was closed.'
Data State: 2
Status Code: None
Status Text: Login stream was closed.
<!-- Outgoing Reactor message -->
<!-- java.nio.channels.SocketChannel[connected local=/172.18.219.95:59446 remote=ap-southeast-1-aws-3-sm.optimized-pricing-api.refinitiv.net/18.136.145.111:14002] -->
<!-- Mon Oct 28 18:16:02 IST 2024 -->
<!-- rwfMajorVer="14" rwfMinorVer="1" -->
<CLOSE domainType="LOGIN" streamId="1" containerType="NO_DATA" flags="0x00" dataSize="0">
<dataBody>
</dataBody>
</CLOSE>
Best Answer
-
Hello @anna.h,
This is the expected behavior and not because you are on the trial license. You have closed the stream because the consumer was uninitialized. In a typical real time application, you shouldn't need to uninitialize the consumer object. Same consumer can be used for multiple requests.
0
Answers
-
Thanks, makes sense, I did try removing the consumer.uninitialize() but wasn't sure that was the way to go. Can you help me how to handle all the possible scenarios in case a consumer goes down. Basically error handling.
0 -
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
- 24 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 279 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
- 713 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 中文论坛