question

Upvotes
Accepted
1 0 0 1

Electron Java SDK SocketChannel.read returned -1 (end-of-stream)

Hi,

We are trying to go over ETA Quick Start for Electron Java SDK. https://developers.refinitiv.com/en/api-catalog/refinitiv-real-time-opnsrc/rt-sdk-java/quick-start#eta-quick-start We have EZD 1.2 deployed. And we can telnet port 14002

When we try to run the command from the tutorial

./gradlew runVAConsumer -PcommandLineArgs=" -c localhost:14002 ELEKTRON_AD mp:AAPL.O"

We see an error like SocketChannel.read returned -1 (end-of-stream)

Could you please suggest what could be a problem ?

Logs:

Starting a Gradle Daemon (subsequent builds will be faster)

> Task :Eta:Applications:Examples:runVAConsumer Ultra Performance API (UPA), Java Edition, LibraryVersionInfo productVersion: 3.2.0.1 productInternalVersion: etaj3.2.0.L1.all.rrg productDate: Thomson Reuters Consumer initializing... Channel Up Event: java.nio.channels.SocketChannel[connected local=/127.0.0.1:61738 remote=localhost/127.0.0.1:14002] Connection down reconnecting: Channel java.nio.channels.SocketChannel[connected local=/127.0.0.1:61738 remote=localhost/127.0.0.1:14002] Error text: SocketChannel.read returned -1 (end-of-stream)

elektronrefinitiv-realtimeelektron-sdkrrtjavaeta-apielektron-transport-api
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
23k 22 9 14

Hello @mkinnear,

Has the installation of EZD been verified with rmdstestclient test app,

does rmdstestclient connect and display streaming data?

This confirmation is much stronger then telnet, it allows to confirm that the connecting user is configured properly, and permissioned for the instrument you are requesting.

Rmdstestclient is included with ezd in folder demo, is described in Demo Tools guide or please refer to this article for more details.

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
13k 32 12 18

@mkinnear Can you please check EZD logs as well.

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.

Click below to post an Idea Post Idea