question

Upvotes
Accepted
0 0 0 2

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


#technologystatuserror-messagerefresh-message
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@praful.devmk01

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS

1 Answer

· Write an Answer
Upvotes
Accepted
24.7k 54 17 14

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:

  1. During the RTO maintenance windows
  2. Use a single Machine-ID with multiple applications/connections/sessions
  3. 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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.