question

Upvotes
Accepted
1 0 0 1

Try to run the sample EMA example100__MarketPrice__Streaming, got error connection refused.

Got error message,

com.thomsonreuters.ema.access.ChannelCallbackClient reactorChannelEventCallback WARNING: loggerMsg ClientName: ChannelCallbackClient Severity: Warning Text: Received ChannelDownReconnecting event on channel Channel RsslReactor Channel is null Error Id 0 Internal sysError 0 Error Location Reactor.processWorkerEvent Error text Error initializing channel: errorId=-1 text=Connection refused loggerMsgEnd

at following line,

consumer=EmaFactory.createOmmConsumer(config.host("localhost:14002").username("user"));

What user and host I should use?

Thanks!

elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-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
9.5k 10 5 7

Hello @joyce.rental

To get the user and host that you can use, please contact

  • Thomson Reuters Account team if the server is owned by Thomson Reuters

or

  • Your local market data team/server’s admin if the server is owned by your company
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
18k 21 12 20

Hi @joyce.rental

In general, the host is your ADS or EZD IP address and listening port.

username is a valid user on those server components.

If you do not have a feed server, you may try https://developers.refinitiv.com/en/pages/elektron-test-data-1 for test data.

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.

Here is a quick guide on how to run EMA and Elektron test data.

Click below to post an Idea Post Idea