question

Upvotes
Accepted
1 0 1 1

StatusMsg: A46: Item was reopened under new stream

Hi,

I do a registerClient on a consumer that is accepted correctly.

Then I receive the RefreshMsg with some data.

After I receive the RefreshMsg I receive a StatusMsg with state="Closed / Suspect / Already open / '*A46: Item was reopened under new stream.'" :

StatusMsg
streamId="5"
domain="MarketPrice Domain"
state="Closed / Suspect / Already open / '*A46: Item was reopened under new stream.'"
name="EUR="
nameType="1"
serviceId="257"
serviceName="ELEKTRON_DD"
StatusMsgEnd

And no more data are received (UpdateMsg)

Someone can help me to solve this problem?



elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-apistatus
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.

1 Answer

Upvotes
Accepted
24.9k 87 10 22

Hi @clagaddo

This usual cause for this is when the same instrument has been subscribed more than once, so the server is closing the original request and the item is now open under the new stream ID.

The server is trying to ensure that multiple copies of the same instrument are not open and you don't receive multiple updates for each instance.

If you don't believe the above is the case please enable low level trace to confirm what is happening behind the scenes

https://community.developers.refinitiv.com/questions/6439/how-to-enable-tracing-incomingoutgoing-messages-em.html

You can do something similar in EMA C++ using the XmlTraceToFile parameter to output the trace to a file.

You can file more details about the above trace parameters in the EMA Config Guide - which is included in the Elektron SDK package or can be found online under the Development section of Elektron SDK Documentation


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.