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) .
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
188.8.131.52: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?
You can use the telnet command above to verify 184.108.40.206 machine and port 14002.
Alternatively you can also use a ping or traceroute command to verify if your machine can connect to 220.127.116.11 machine or not.
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
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.
Is there a TREP server or OMM Provider running on port 14002 in that 18.104.22.168 machine?
You can verify by using a telnet command as following example :
telnet 22.214.171.124 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>