question

Upvotes
Accepted
2 1 1 2

NIProvider using RSSL_SOCKET over SSL: unable to publish data

We're having trouble understanding why we are unable to publish some fake data.

We have been roughly following the tutorial here: https://developers.refinitiv.com/elektron/elektron-sdk-java/learning?content=11690&type=learning_material_item

We use RSSL_SOCKET as the ChannelType. The host requires SSL to port 443 - we are using stunnel for this.

We can log on and receive logon responses ok - so the RSSL_SOCKET and SSL appear to work ok.

We don't get any exceptions when we submit a RefreshMsg.

We see an outgoing RefreshMsg when we set:

<XmlTraceToStdout value="1"/>

However, we then receive a message indicating an error:

2019-09-24 17:40:08,667 OmmNiProviderImpl [main] ERROR: loggerMsg
    ClientName: ItemCallbackClient
    Severity: Error
    Text:    Received an item event without a matching stream Id  -1
Instance Name TransFICCNiProvider_1
RsslReactor 1e66f1f5
RsslReactorChannel 2c35e847
RsslSelectableChannel 7bd4937b
loggerMsgEnd

The state on the message we receive is:

State: Closed/Suspect/Not entitled - text: "Tunnel stream between client application and TRCE is required but still not opened."

Has anyone seen this before?

Any help much appreciated.

refinitiv-realtimeelektronelektron-sdkema-apirrtelektron-message-apijavarsslsslnon-interactive-provider
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

· Write an Answer
Upvotes
Accepted
27.5k 67 18 14

Hello @richard.bradford

I assume that you are trying to contribute data to TRCC server via Elektron SDK. Please be informed that the Non Interactive-Provider (NI-Provider) can publish data to TREP only, not TRCC.

You can use OMM Consumer to contribute data to TRCC via the Post message. I suggest you find more detail regarding TRCC contribution via the OMM Consumer from the following resources:


Please see more details regarding TRCC contribution in this diagram.





trccdiagram.png (23.9 KiB)
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.