For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
18 0 0 4

What does this Websocket status message mean?

{"ID":2,"Type":"Status","Key":{"Service":"IDN_RDF"},"State":{"Stream":"Closed","Data":"Suspect","Code":"AlreadyOpen","Text":"Request Rejected: Channel not logged in."}}

treprdp-apiwebsocketsrrto
icon clock
10 |1500

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

Upvotes
Accepted
9.7k 49 38 60

Hi @james_molohon,

You can find more details around the status message within the documentation: https://docs-developers.thomsonreuters.com/1549028126279/14977/#page/Messages%2FStatusMsg.html.

What might be happening is that the server is logging you out. In order for you to maintain an active/live connection is to pay attention to the Ping/Pong protocol used. That is, the server will periodically send you a ping message which will require applications to acknowledge by sending a Pong. The documentation will outline this in more detail.

Hope this resolves your issue.

icon clock
10 |1500

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

Upvotes
9.7k 49 38 60

Hi @james_molohon,

The status indicates that you have not successfully logged in to Websocket Service. Refer to the Quick start (https://developers.refinitiv.com/en/api-catalog/refinitiv-real-time-opnsrc/refinitiv-websocket-api/quick-start#connecting-to-refinitiv-real-time-optimized) for instructions.

icon clock
10 |1500

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

Thanks for your quick response. Is there any additional information available about the Code or Text properties? What possible scenarios would cause this error? I use the same login command and it works most of the time, but recently I'm finding this message in the application logs.

Click below to post an Idea Post Idea