Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • ETA /
avatar image
Question by mkinnear · Sep 11, 2018 at 05:29 AM · javaezdelectron

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.thomsonreuters.com/elektron/elektron-sdk-java/quick-start?content=43160&type=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)

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by zoya.farberov · Sep 11, 2018 at 11:06 AM

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.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
REFINITIV
Answer by Gurpreet. · Sep 11, 2018 at 09:31 AM

@mkinnear Can you please check EZD logs as well.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
13 People are following this question.

Related Questions

How should we implement the consumer's rdmLoginMsgCallback() 2 Answers

Why SEQNUM is in order but QUOTIM_MS is not? 1 Answer

ETA Java source code 1 Answer

Elektron Transport API Java Application Got Disconnected Randomly 2 Answers

Market rates sent by EZD serivce is store as Negative for some RIC (PLNCZKFIX) 5 Answers

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Elektron Data Platform
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Explore
  • Tags
  • Questions
  • Badges