question

Upvotes
Accepted
26 1 3 7

Getting -> ClientName: ChannelCallbackClient Text: Received ChannelDownReconnecting event on channel Channel_1 Error Id 0 Internal sysError 0 Error Location Reactor.processWorkerEvent Error text Error - exceeded initialization timeout (5 s)

i am getting this error . i am using EMAConfig xml that came packed with elektron-sdk1.2.2 , the default configs . and i have created ommconsumer as -: EmaFactory.createOmmConsumer(config.host("MY_IP_ADDRESS:14002").username("MY_USERNAME")) and i have registered my client as -: consumer.registerClient(reqMsg.serviceName("hEDD").name("JPY=A"), appClient) .

elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-apierrortime-outchannels
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
14.3k 23 8 12

Hello @rkumar

I can replicate the same kind of message with Consume example100_MarketPrice_Streaming example by connecting to the IP Address that my machine cannot connecting to. I have tested with your IP Address

159.220.108.135:14002 which I cannot access from my environment. The API returns the same error messages. login-fail-to-unreachable-host.txt

Could you please verify the following points?

  • Can your machine connects to 159.220.108.135 machine?
  • Is there the ADS server running in the 159.220.108.135 machine?

You can use the telnet command above to verify 159.220.108.135 machine and port 14002.

Alternatively you can also use a ping or traceroute command to verify if your machine can connect to 159.220.108.135 machine or not.


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
14.3k 23 8 12

Hello @rkumar

Basically, you need to set the IP Address or host name of the ADS server or EZD server or the OMM Interactive-Provider which your OmmConsumer application wants to connect in the config.host("MY_IP_ADDRESS:14002") function.

Does your "My_IP_Address" points to the valid ADS server or EZD server or the

Interactive-Provider?

If you want to connect to the local OMM Provider example, did you start the Interactive Provider example yet? If not, you may run the EMA Java IProvider example 100 Market Price Streaming (<ESDK Java package>\Java\Ema\Examples\src\main\java\com\thomsonreuters\ema\examples\training\iprovider\series100\example100__MarketPrice__Streaming), then run your OMM 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.

@Wasin Waeosri

but i am trying using example100__MarketPrice__Streaming of consumer folder in sdk .what should i do in that case? and the service name is "hEDD".

Upvotes
14.3k 23 8 12

Hello @rkumar

What is the value of "MY_IP_ADDRESS"? Where does it point to?

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.

value of "MY_IP_ADDRESS" is "159.220.108.135" and what does data recovery IP_address mean .my data recovery ip address is "159.220.108.197"

"MY_IP_ADDRESS" = "159.220.108.135" and also what does data recovery IP_ADDRESS used for my data recovery IP_ADDRESS is "159.220.108.197". and i am using example100__MarketPrice__Streaming of consumer folder . and the service name i am using is "hEDD". please help why i am unable to connect ?

Upvotes
14.3k 23 8 12

Hello @rkumar

Is there a TREP server or OMM Provider running on port 14002 in that 159.220.108.135 machine?
You can verify by using a telnet command as following example :

telnet 159.220.108.135 14002

Could you please also give me the full application and trace log files when the problem occurs? You can enable the EMA Java trace messages by setting <XmlTraceToStdout value="1"/> in the EmaConfig.xml file. Please change it in the "Consumer_1" configuration

<ConsumerGroup>
   <DefaultConsumer value="Consumer_1"/>
   <ConsumerList>
      <Consumer>
         <Name value="Consumer_1"/>
         <Channel value="Channel_1"/>
         <Dictionary value="Dictionary_2"/>
         <XmlTraceToStdout value="1"/>
      </Consumer>
   </ConsumerList>
</ConsumerGroup>
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.

@Wasin Waeosri its an ADS server and i am attaching the console texts file here.console-msg.txt

console-msg.txt (11.9 KiB)

Hello @rkumar,

Please note, that within example MarketPrice100, host, port, service and user name are hard-coded, not retrieved from emaconfig.xml.

Are you able to test the connectivity to the host via telnet as suggested by @Wasin Waeosri? Does the telnet test go through?

I suspect that this connectivity endpoint is new for you, you have not connected to this endpoint successfully before. Could you please verify that host ip, service and username are exactly as specified in your welcome email?