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.

Hello @joyce.rental,

Please let us know how did you do with the suggestions from Chavalit and Pimchaya?

Thanks,

-AHS

@joyce.rental
Thank you for your participation in the forum. Are any of the replies below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply that best answers your question. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.
Thanks,
-AHS

@joyce.rental

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

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.