Error causes and avoidance methods

soichirok
soichirok Newcomer
edited June 10 in EMA

We tried to use EMA to retrieve data from ELEKTRON_DD using the RIC code 'JPY=', but encountered the following log error and were unable to obtain the data. We are using V2 for authentication. Could you please share what this error indicates, its cause, and possible solutions?

ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
6 10, 2025 2:33:42 午後 com.refinitiv.ema.access.ChannelCallbackClient reactorChannelEventCallback
警告: loggerMsg
ClientName: ChannelCallbackClient
Severity: Warning
Text: Received ChannelDownReconnecting event on channel Channel_1
RsslReactor @19b843ba
RsslChannel @64ec96c6
Error Id 0
Internal sysError 0
Error Location Reactor.processWorkerEvent
Error text Error - exceeded initialization timeout (5 s)
loggerMsgEnd

6 10, 2025 2:33:44 午後 com.refinitiv.ema.access.ChannelCallbackClient reactorChannelEventCallback
情報: loggerMsg
ClientName: ChannelCallbackClient
Severity: Info
Text: Received ChannelUp event on channel Channel_1
Instance Name Consumer_1_1
Component Version ads3.7.2.E2.linux.rrg 64-bit
loggerMsgEnd

Status : Closed / Suspect / Not found / '**The record could not be found'
6 10, 2025 2:34:15 午後 com.refinitiv.ema.access.ChannelDictionary processCallback
警告: loggerMsg
ClientName: ChannelDictionary
Severity: Warning
Text: RDMDictionary stream was closed with status message
streamId 3
Reason State: Closed/Suspect/None - text: "Login stream was closed."
loggerMsgEnd

Tagged:

Best Answer

  • soichirok
    soichirok Newcomer
    Answer ✓

    Thank you for your response.
    I provide the contents of the XML.
    —————————————————————————————————————————————————————
    <!-- rwfMajorVer="14" rwfMinorVer="1" --><REQUEST domainType="LOGIN" streamId="1" containerType="NO_DATA" flags="0x04 (STREAMING)" dataSize="0">
    <key flags="0x26 (HAS_NAME|HAS_NAME_TYPE|HAS_ATTRIB)" name=" " nameType="5" attribContainerType="ELEMENT_LIST">
    <attrib>
    <elementList flags="0x08 (HAS_STANDARD_DATA)">
    <elementEntry name="ApplicationId" dataType="ASCII_STRING" data="256"/>
    <elementEntry name="ApplicationName" dataType="ASCII_STRING" data="ema"/>
    <elementEntry name="Position" dataType="ASCII_STRING" data="10.226.1.19/tmdiy010"/>
    <elementEntry name="AuthenticationToken" dataType="ASCII_STRING" data="removed"/>
    <elementEntry name="Role" dataType="UINT" data="0"/>
    </elementList>
    </attrib>
    </key>
    <dataBody>
    </dataBody>
    </REQUEST>

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @soichirok

    Thank you for reaching out to us.

    The "Status : Closed / Suspect / Not found / '**The record could not be found'" error typically indicates that the subscribed item is invalid.

    To investigate this issue, please enable the XML trace log in the EMA. You can enable it via the EMA configuration (XmlTraceToStdout or XmlTraceToFile) in the consumer. For example:

    		<Consumer>
    			<Name value="Consumer_4"/>
    			<Channel value="Channel_4"/>
    			<Dictionary value="Dictionary_1"/>
    			<MaxDispatchCountApiThread value="6500"/>
    			<MaxDispatchCountUserThread value="6500"/>
    			<XmlTraceToStdout value="0"/>
    			<XmlTraceToFile value="1"/>
    		</Consumer>
    

    Please remove the AuthenticationToken value from the login request and share the trace file when the problem occurred.

    <!-- rwfMajorVer="14" rwfMinorVer="1" -->
    <REQUEST domainType="LOGIN" streamId="1" containerType="NO_DATA" flags="0x04 (STREAMING)" dataSize="0">
    <key flags="0x26 (HAS_NAME|HAS_NAME_TYPE|HAS_ATTRIB)" name=" " nameType="5" attribContainerType="ELEMENT_LIST">
    <attrib>
    <elementList flags="0x08 (HAS_STANDARD_DATA)">
    <elementEntry name="ApplicationId" dataType="ASCII_STRING" data="256"/>
    <elementEntry name="ApplicationName" dataType="ASCII_STRING" data="ema"/>
    <elementEntry name="Position" dataType="ASCII_STRING" data="192.168.1.115/WIN-Q1OUFFDBGUJ"/>
    <elementEntry name="AuthenticationToken" dataType="ASCII_STRING" data="<Remove AuthToken>"/>
    <elementEntry name="Role" dataType="UINT" data="0"/>
    </elementList>
    </attrib>
    </key>
    <dataBody>
    </dataBody>
    </REQUEST>

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @soichirok

    Kindly provide the complete file with the AuthenticationToken removed.

  • soichirok
    soichirok Newcomer
    edited June 10

    Thank you for your response.
    I provide the contents of the XML.

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    Thank you for the file.

    According to the trace file, the application requested the USD/JPY RIC.

    <!-- rwfMajorVer="14" rwfMinorVer="1" -->
    <REQUEST domainType="MARKET_PRICE" streamId="5" containerType="NO_DATA" flags="0x46 (HAS_PRIORITY|STREAMING|HAS_QOS)" Qos: Realtime/JustInTimeConflated/Static - timeInfo: 0 - rateInfo: 0 priorityClass="1" priorityCount="1" dataSize="0">
    <key flags="0x03 (HAS_SERVICE_ID|HAS_NAME)" serviceId="257" name="USD/JPY"/>
    <dataBody>
    </dataBody>
    </REQUEST>

    I checked and found that this is an invalid RIC.

    The correct RIC should be JPY=.

  • soichirok
    soichirok Newcomer

    Thank you for your response.
    After correcting the RIC, I was able to retrieve it.
    Thank you for your assistance