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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
18 0 2 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 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
18.7k 85 39 63

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 512.0 KiB each and 1.0 MiB total.

Upvotes
18.7k 85 39 63

Hi @james_molohon,

The status indicates that you have not successfully logged in to Websocket Service. Refer to the Quick start (https://developers.thomsonreuters.com/elektron/websocket-api/quick-start?content=34507&type=quick_start) for instructions.

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.

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.

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.