question

Upvotes
Accepted
1 0 0 2

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-sdkema-apirrtelektron-message-api
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.

Upvotes
Accepted
9.6k 10 7 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 512.0 KiB each and 1.0 MiB total.

Upvotes
18.2k 21 13 21

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.thomsonreuters.com/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 512.0 KiB each and 1.0 MiB total.

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

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.