question

Upvotes
Accepted
1 1 1 2

EMA Examples connection refused

I've compiled the EMA examples using gradle and am trying to run the runconsumer100 example. Seeing the following errors:

C:\Downloads\Elektron-SDK\Elektron-SDK-1.3.0.L1.java.rrg\Java>gradlew runconsumer100

> Task :cloneBinaryPack Elektron-SDK-BinaryPack already exists, skip cloning.

> Task :Ema:Examples:runconsumer100 Jul 23, 2019 3:18:28 PM com.thomsonreuters.ema.access.ChannelCallbackClient reactorChannelEventCallback WARNING: loggerMsg ClientName: ChannelCallbackClient Severity: Warning Text: Received ChannelDownReconnecting event on channel Channel RsslReactor @6950e31 RsslChannel @b7dd107 Error Id 0 Internal sysError 0 Error Location Reactor.processWorkerEvent Error text Error initializing channel: errorId=-1 text=Connection refused: no further information loggerMsgEnd Jul 23, 2019 3:18:30 PM com.thomsonreuters.ema.access.ChannelCallbackClient reactorChannelEventCallback WARNING: loggerMsg ClientName: ChannelCallbackClient Severity: Warning Text: Received ChannelDownReconnecting event on channel Channel RsslReactor @6950e31 RsslChannel @553a3d88 Error Id 0 Internal sysError 0 Error Location Reactor.processWorkerEvent Error text Error initializing channel: errorId=-1 text=Connection refused: no further information loggerMsgEnd

The connection refused error keeps repeatedly getting printed. Is there anything else I need to be running for this example ?

elektronrefinitiv-realtimeelektron-sdkema-apirrtelektron-message-apiexample
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.

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
22.1k 59 14 21

The default example tries to connect to a server running on localhost:14002. If you know the ADS server IP address, try plugging that into the example source code and run again.

If you don't have an access to ADS, then run a provider 100 sample on your machine, which can provide canned data to consumer example.

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
1 1 1 2

Thanks Gurpreet that worked

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.

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.