question

Upvotes
Accepted
1 0 0 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-sdkrrtema-apielektron-message-apiexample
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
13k 32 12 18

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 5.0 MiB each and 10.0 MiB total.

Upvotes
1 0 0 2

Thanks Gurpreet that worked

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.

Click below to post an Idea Post Idea