Status messages Documentation
Hello Team,
Can I have a documentation on different status messages ?
Example of the messages:
StatusMsg
streamId="5"
domain="MarketPrice Domain"
state="Open / Suspect / None / 'Service not available'"
name="IBM.N"
serviceName="DIRECT_FEED"
StatusMsgEnd
StatusMsg
streamId="1"
domain="Login Domain"
state="Closed / Suspect / Not entitled / 'Force Logout from DACS.'"
name="AQIC5wM2LY4SfcxIFM9Zo2RFT%2BefiYffwGugLyTofh%2BIv%2Fo%3D%40AAJTSQACMTAAAlNLABQtNTYzMzIwNTk1NjcwNzEwNTcyOQACUzEAAjI2%23"
nameType="1"
StatusMsgEnd
StatusMsg
streamId="1"
domain="Login Domain"
state="Open / Ok / None / 'channel up'"
name="AQIC5wM2LY4SfcwZVS005m7cYas5ZcY3%2F9NX%2BzP2da5IvnM%3D%40AAJTSQACMzAAAlNLABE1MTUwNjMxMzE0Mzc3Njg0NgACUzEAAjIx%23"
nameType="1"
StatusMsgEnd
StatusMsg
streamId="0"
domain="Login Domain"
state="Open / Suspect / None / ''"
StatusMsgEnd
Best Answer
-
Hello @praful.devmk01
### The Status Message ###
The status message indicates changes to the stream or data properties. The message contains StreamState, DataState, StateCode, and the status text in the following format.
state = "{StreamState}/ {DataState}/ {StateCode}/ {status text}"
- StreamState: Conveys data about the stream’s health.
- DataState: Conveys data about the health of data flowing within a stream
- StateCode: An enumerated code value that conveys additional information about the current state
By default, if the StreamState is "Open" and DataState is "Suspect" (example state="Open / Suspect / XXXX/ 'YYYY'"). It means the stream is still open but data is not available because YYYY reason. Once the data is recovery, the API automatic recover that data stream subscription for the application.
If the StreamState is "Close" and DataState is "Suspect" (example state="Closed / Suspect / XXXXX / 'YYYYY'"), it means that data stream is closed.
If the Login stream status is "Closed / Suspect /", all other openned streams are closed and the API will not recover the streams. The application needs to re-create the new OMMConsumer object to initiate a new connection and then re-subscribe items to the server.
### Force Logout from DACS. ###
The “State: Closed/Suspect/Not entitled - text: "Force Logout from DACS."” indicates that the logins stream between the API and the server is closed. The closed login stream also closes all opened streams (including items streams) and the API will not recover the streams. The application needs to re-create the new OMMConsumer object to initiate a new connection and then re-subscribe items to the RTO server.
The "Force Logout from DACS." error message is generated from the Refinitiv Real-Time server side. Based on my research, the problem is most likely related to the following causes:
- During the RTO maintenance windows
- Use a single Machine-ID with multiple applications/connections/sessions
- Unknow cause, need to contact the RTO server team to verify the issue on the server side
About the RTO maintenance windows, you can find more detail on section 5 “Product & Usage” of the https://my.refinitiv.com/content/dam/myrefinitiv/products/11514/en/Technical/623743.pdf document.
It is not recommended to use a single Machine-ID with multiple applications/connections/sessions. The reason is the applications may encounter an error when an access token expires or when the applications attempt to refresh an access token. If you need to run multiple applications/sessions with the RTO Machine-ID type (Version 1 Authentication), you need multiple Machine-IDs.
### "Open / Suspect / None / 'Service not available'" ###
This status message means the service is currently down or not available yet. The API automatics recovers the subscription items for the application once the service is UP.
Or the application requests data to a service that does not exist on the ADS.
I suggest the client check with the ADS server team to verify is the service name is valid and UP.
### domain="Login Domain" state="Open / Ok / None / 'channel up'" ###
This status message means the Login stream between the API and server is opened.
### domain="Login Domain" state="Open / Suspect / None / ''" ###
This status message means the Login stream between the API and server is opened, but somehow the data is not available. The API normally recover the stream for the application.
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 中文论坛