EMA - exceeded initialization timeout

JR_Angeles
JR_Angeles LSEG
edited May 8 in EMA

I've currently read the `emaj_dev_guide`, `api_concepts_guide` and the installation guide for the Java SDK

Side note, I tried git cloning the Java SDK https://github.com/Refinitiv/Real-Time-SDK/tree/master/Java, and attempted to run one of the examples (runconsumer100 for EMA). I've edited the consumer appropriately to be as such:

consumer = EmaFactory.createOmmConsumer(config.host("146.242.128.1:14002").username("EM1_MFSA_EO10704"));

But I'm getting this error repeatedly: 

2025-05-06 15:54:14.081 WARNING com.refinitiv.ema.access.ChannelCallbackClient reactorChannelEventCallback
loggerMsg
    ClientName: ChannelCallbackClient
    Severity: Warning
    Text:    Received ChannelDownReconnecting event on channel Channel_1
RsslReactor @63611043
RsslChannel @7d446ed1
Error Id 0
Internal sysError 0
Error Location Reactor.processWorkerEvent
Error text Error - exceeded initialization timeout (5 s)
loggerMsgEnd

 May I ask:

1. Am I missing something here?

2. For our use case in which we wish to get FX rates, which example would be the most similar? 

2a. Is the EMA or ETA more suitable? I was currently looking at EMA

2b. I was wondering if there are rates for Reuters Classic and Reuters ECB? These are the previous rates we fetched using RKD, so I was wondering if there is an equivalent here.

 

Tagged:

Answers

  • Gurpreet
    Gurpreet admin

    Hello @JR_Angeles

    You can install the SDK either from the Git repository or from the downloads section of the developers portal. There is also a quickstart guide to help new users. The RTSDK package has a dependency on the binary pack, which has to be installed as well. It is also available for download on both GitHub and the dev portal.

    EMA is the right API for your use case.

    The initialization timeout error means that the SDK is unable to connect to your local ADS. Can you confirm that ADS is running and listening on 146.242.128.1:14002 and that you have network path to this server?

    You can try following to see if TCP connection can be established -

    >> telnet 146.242.128.1 14002