rssl initialise failed Error while running the Example .

I'm getting the below error while running the first example in 100 series . (

Ema/Examples/Training/Consumer/100_Series_Examples/100__MarketPrice__Streaming)

rsslInitialize() failed while initializing OmmBaseImpl. Internal sysError='32767' Error text='p��?�'.

below is my EmaConfig.xml

<?xml version="1.0" encoding="UTF-8"?>
<EmaConfig>
<ConsumerGroup>
<DefaultConsumer value="Consumer_1"/>
<ConsumerList>
<Consumer>
<Name value="Consumer_1"/>
<Channel value="Channel_1"/>
<Logger value="Logger_1"/>
<Dictionary value="Dictionary_1"/>
</Consumer>
</ConsumerList>
</ConsumerGroup>
<ChannelGroup>
<ChannelList>
<Channel>
<Name value="Channel_1"/>
<ChannelType value="ChannelType::RSSL_SOCKET"/>
<CompressionType value="CompressionType::None"/>
<GuaranteedOutputBuffers value="5000"/>
<ConnectionPingTimeout value="30000"/>
<TcpNodelay value="1"/>
<Host value="x.x.x.x"/>
<Port value="14002"/>
<XmlTraceToStdout value="1"/>
</Channel>
</ChannelList>
</ChannelGroup>
<LoggerGroup>
<LoggerList>
<Logger>
<Name value="Logger_1"/>
<LoggerType value="LoggerType::Stdout"/>
<LoggerSeverity value="LoggerSeverity::Success"/>
</Logger>
</LoggerList>
</LoggerGroup>
<------ dictionary defined ---->
</EmaConfig>

Is there anything i am missing in the configuration ? .

PS : I have VPN connectivity to the remote machine and able to telnet their port .

Best Answer

  • OmmBaseImpl initialization error typically occurs when users built the ema library without linking with correct ETA library. Please download the latest EMA package from here.

    In addition, 100_MarketPrice_Stream consumer example does not use the EmaConfig.xml file. For this example, you need to modify the source code where it initialize the consumer object to connect to your server. To test EMA configuration file, please use example 110_MarketPrice_FileConfig

Answers

  • @steven.peng

    I am able to connect now , but how do i subscribe for streaming data , have tried below service name as DIRECT_FEED , ELEKTRON , but im getting resposnse as service name not found . any suggestions ?