question

Upvotes
Accepted
3 0 0 3

Getting Text Initialization timed out in EMA C++ Consumer program in RHEL 8.7/8.8

We have tried to deploy the EMA C++ Provider/Consumer on some RHEL 8.7/8.8 servers, with SDK version - Real-Time-SDK-2.1.0.L1. The test is to check the connectivity between the producer program and consumer program, and we launch them on the same machine for testing.


We found that the consumer keeps getting Text Initialization timed out error. The following is the provider log and consumer log.


Provider log

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    extracting XML data from ./EmaConfig.xml
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Error
    Text:    unsupported configuration element [xmlTraceToFile]; element ignored
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [IProviderGroup|IProviderList|IProvider.Provider_1|RequestTimeout]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [IProviderGroup|IProviderList|IProvider.Provider_1|SendJsonConvError]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [IProviderGroup|IProviderList|IProvider.Provider_1|MaxEventsInPool]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [IProviderGroup|IProviderList|IProvider.Provider_1|XmlTraceFileName]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [IProviderGroup|IProviderList|IProvider.Provider_1|XmlTraceMaxFileSize]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [IProviderGroup|IProviderList|IProvider.Provider_1|XmlTraceToFile]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [IProviderGroup|IProviderList|IProvider.Provider_1|XmlTraceToStdout]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [IProviderGroup|IProviderList|IProvider.Provider_1|XmlTraceToMultipleFiles]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [IProviderGroup|IProviderList|IProvider.Provider_1|XmlTraceWrite]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [IProviderGroup|IProviderList|IProvider.Provider_1|XmlTraceRead]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [IProviderGroup|IProviderList|IProvider.Provider_1|XmlTracePing]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [IProviderGroup|IProviderList|IProvider.Provider_1|XmlTraceHex]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [IProviderGroup|IProviderList|IProvider.Provider_1|XmlTraceDump]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [IProviderGroup|IProviderList|IProvider.Provider_1|DefaultServiceID]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [IProviderGroup|IProviderList|IProvider.Provider_1|JsonExpandedEnumFields]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [IProviderGroup|IProviderList|IProvider.Provider_1|CatchUnknownJsonFids]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [IProviderGroup|IProviderList|IProvider.Provider_1|CatchUnknownJsonKeys]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [IProviderGroup|IProviderList|IProvider.Provider_1|CloseChannelFromConverterFailure]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [IProviderGroup|IProviderList|IProvider.Provider_1|OutputBufferSize]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [LoggerGroup|LoggerList|Logger.Logger_1|IncludeDateInLoggerOutput]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [LoggerGroup|LoggerList|Logger.Logger_1|MaxLogFileSize]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [LoggerGroup|LoggerList|Logger.Logger_1|NumberOfLogFiles]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ServerGroup|ServerList|Server.Server_1|ServerSharedSocket]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ServerGroup|ServerList|Server.Server_1|MaxFragmentSize]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ServerGroup|ServerList|Server.Server_1|WsProtocols]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ServerGroup|ServerList|Server.Server_1|InterfaceName]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ServerGroup|ServerList|Server.Server_1|CompressionThreshold]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ServerGroup|ServerList|Server.Server_1|NumInputBuffers]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ServerGroup|ServerList|Server.Server_1|ConnectionMinPingTimeout]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ServerGroup|ServerList|Server.Server_1|InitializationTimeout]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ServerGroup|ServerList|Server.Server_1|SysRecvBufSize]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ServerGroup|ServerList|Server.Server_1|SysSendBufSize]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ServerGroup|ServerList|Server.Server_1|HighWaterMark]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ServerGroup|ServerList|Server.Server_1|DirectWrite]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: Provider_1_1
    Severity: Verbose
    Text:    Print out active configuration detail.
 configuredName: Provider_1
 instanceName: Provider_1_1
 itemCountHint: 10000
 serviceCountHint: 10000
 dispatchTimeoutApiThread: 500
 maxDispatchCountApiThread: 500
 maxDispatchCountUserThread : 500
 maxEventsInPool : -1
 requestTimeout : 15000
 xmlTraceMaxFileSize : 100000000
 xmlTraceToFile : 0
 xmlTraceToStdout : 0
 xmlTraceToMultipleFiles : 0
 xmlTraceWrite : 1
 xmlTraceRead : 1
 xmlTracePing : 0
 xmlTraceHex : 0
 xmlTraceDump : 0
 xmlTraceFileName : EmaTrace
 enableRtt : 0
 libSslName :
 libCryptoName :
 tokenReissueRatio : 0.8
 defaultServiceIDForConverter : 1
 jsonExpandedEnumFields : 0
 catchUnknownJsonKeys : 0
 catchUnknownJsonFids : 1
 closeChannelFromFailure : 1
 outputBufferSize : 65535
 restEnableLog : 0
 restLogFileName :
 sendJsonConvError : 0
 pipePort: 9009
 acceptMessageWithoutBeingLogin: 0
 acceptMessageWithoutAcceptingRequests: 0
 acceptDirMessageWithoutMinFilters: 0
 acceptMessageWithoutQosInRange: 0
 acceptMessageSameKeyButDiffStream: 0
 acceptMessageThatChangesService: 0
 operationModel: 0
 dictionaryAdminControl: 1
 directoryAdminControl : 1
 refreshFirstRequired : 1
 enforceAckIDValidation : 0
 maxFieldDictFragmentSize : 8192
 maxEnumTypeFragmentSize : 12288
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: Provider_1_1
    Severity: Verbose
    Text:    Successfully initialized communication Pipe.
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.442
    ClientName: Provider_1_1
    Severity: Verbose
    Text:    Successfully initialized Rssl.
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.542
    ClientName: Provider_1_1
    Severity: Verbose
    Text:    Successfully created Reactor.
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.584
    ClientName: LocalDictionary
    Severity: Verbose
    Text:    Successfully loaded local dictionaries:
RDMFieldDictionary file named ./RDMFieldDictionary
EnumTypeDef file named ./enumtype.def
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.584
    ClientName: ItemCallbackClient
    Severity: Verbose
    Text:    Created ItemCallbackClient. Instance name='Provider_1_1'.
loggerMsgEnd

loggerMsg
    TimeStamp: 10:33:36.588
    ClientName: Provider_1_1
    Severity: Verbose
    Text:    Successfully binded Rssl Server for protocol type 0 on port 14002.
loggerMsgEnd

10:33:36.590 INFO  [Reuters-Provider] The producer is running at port 14002 and publish to the symbol: IBM.N


Consumer log:

10:38:29.905 INFO  [Reuters-Consumer] Number of RICs subscribed: 1

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    extracting XML data from EmaConfig.xml
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Error
    Text:    unsupported configuration element [xmlTraceToFile]; element ignored
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|ItemCountHint]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|ServiceCountHint]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|RequestTimeout]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|LoginRequestTimeOut]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|RestRequestTimeOut]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|DispatchTimeoutApiThread]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|TokenReissueRatio]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|CatchUnhandledException]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|MaxDispatchCountApiThread]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|MaxDispatchCountUserThread]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|SendJsonConvError]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|MaxEventsInPool]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|ReconnectAttemptLimit]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|ReconnectMinDelay]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|ReconnectMaxDelay]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|XmlTraceFileName]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|XmlTraceMaxFileSize]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|XmlTraceToFile]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|XmlTraceToMultipleFiles]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|XmlTraceWrite]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|XmlTraceRead]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|XmlTracePing]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|XmlTraceHex]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|XmlTraceDump]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|MsgKeyInUpdates]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|DefaultServiceID]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|JsonExpandedEnumFields]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|CatchUnknownJsonFids]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|CatchUnknownJsonKeys]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|CloseChannelFromConverterFailure]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|OutputBufferSize]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|EnableRtt]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|RestLogFileName]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|RestEnableLog]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|ReissueTokenAttemptLimit]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|ReissueTokenAttemptInterval]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|PipePort]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [LoggerGroup|LoggerList|Logger.Logger_1|IncludeDateInLoggerOutput]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [LoggerGroup|LoggerList|Logger.Logger_1|MaxLogFileSize]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [LoggerGroup|LoggerList|Logger.Logger_1|NumberOfLogFiles]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|WarmStandbyChannelSet]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ChannelGroup|ChannelList|Channel.Channel_1|EnableSessionManagement]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ChannelGroup|ChannelList|Channel.Channel_1|ProxyHost]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ChannelGroup|ChannelList|Channel.Channel_1|ProxyPort]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ChannelGroup|ChannelList|Channel.Channel_1|ObjectName]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ChannelGroup|ChannelList|Channel.Channel_1|InterfaceName]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ChannelGroup|ChannelList|Channel.Channel_1|CompressionThreshold]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ChannelGroup|ChannelList|Channel.Channel_1|NumInputBuffers]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ChannelGroup|ChannelList|Channel.Channel_1|InitializationTimeout]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ChannelGroup|ChannelList|Channel.Channel_1|SysRecvBufSize]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ChannelGroup|ChannelList|Channel.Channel_1|SysSendBufSize]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ChannelGroup|ChannelList|Channel.Channel_1|HighWaterMark]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ChannelGroup|ChannelList|Channel.Channel_1|DirectWrite]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|ObeyOpenWindow]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|PostAckTimeout]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|DictionaryRequestTimeOut]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|DirectoryRequestTimeOut]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: EmaConfig
    Severity: Verbose
    Text:    could not get value for item [ConsumerGroup|ConsumerList|Consumer.Consumer_1|MaxOutstandingPosts]; will use available default value if not config programmatically
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: Consumer_1_1
    Severity: Verbose
    Text:    Print out active configuration detail.
 configuredName: Consumer_1
 instanceName: Consumer_1_1
 itemCountHint: 100000
 serviceCountHint: 513
 dispatchTimeoutApiThread: -1
 maxDispatchCountApiThread: 100
 maxDispatchCountUserThread : 100
 maxEventsInPool : -1
 requestTimeout : 15000
 xmlTraceMaxFileSize : 100000000
 xmlTraceToFile : 0
 xmlTraceToStdout : 1
 xmlTraceToMultipleFiles : 0
 xmlTraceWrite : 1
 xmlTraceRead : 1
 xmlTracePing : 0
 xmlTraceHex : 0
 xmlTraceDump : 0
 xmlTraceFileName : EmaTrace
 enableRtt : 0
 libSslName :
 libCryptoName :
 tokenReissueRatio : 0.8
 defaultServiceIDForConverter : 1
 jsonExpandedEnumFields : 0
 catchUnknownJsonKeys : 0
 catchUnknownJsonFids : 1
 closeChannelFromFailure : 1
 outputBufferSize : 65535
 restEnableLog : 0
 restLogFileName :
 sendJsonConvError : 0
 pipePort: 9001
 obeyOpenWindow: 1
 postAckTimeout: 15000
 maxOutstandingPosts: 100000
 reconnectAttemptLimit: -1
 reconnectMinDelay : 1000
 reconnectMaxDelay : 5000
 msgKeyInUpdates : 1
 directoryRequestTimeOut : 45000
 dictionaryRequestTimeOut : 45000
 loginRequestTimeOut : 45000
 reissueTokenAttemptLimit : -1
 reissueTokenAttemptInterval : 5000
 restRequestTimeOut : 90
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.911
    ClientName: Consumer_1_1
    Severity: Verbose
    Text:    Successfully initialized communication Pipe.
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:29.921
    ClientName: Consumer_1_1
    Severity: Verbose
    Text:    Successfully initialized Rssl.
loggerMsgEnd

[New Thread 0x7ffff165c700 (LWP 768554)]
loggerMsg
    TimeStamp: 10:38:30.021
    ClientName: Consumer_1_1
    Severity: Verbose
    Text:    Successfully created Reactor.
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:30.022
    ClientName: LoginCallbackClient
    Severity: Verbose
    Text:    Created LoginCallbackClient
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:30.022
    ClientName: LoginCallbackClient
    Severity: Verbose
    Text:    RDMLogin request message was populated with this info:
username LD_LIBRARY_PATH=/opt/rh/gcc-toolset-11/root/usr/lib64:/opt/rh/gcc-toolset-11/root/usr/lib:/opt/rh/gcc-toolset-11/root/usr/lib64/dyninst:/opt/rh/gcc-toolset-11/root/usr/lib/dyninst
usernameType 1
position 10.211.140.106/net
appId 256
applicationName ema
instanceId <not set>
singleOpen 1
allowSuspect 1
optimizedPauseResume 0
permissionExpressions 1
permissionProfile 1
supportBatchRequest 0
supportEnhancedSymbolList 0
supportPost 0
supportRtt 0
supportViewRequest 0
role 0
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:30.022
    ClientName: DictionaryCallbackClient
    Severity: Verbose
    Text:    Created DictionaryCallbackClient
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:30.022
    ClientName: DirectoryCallbackClient
    Severity: Verbose
    Text:    Created DirectoryCallbackClient
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:30.022
    ClientName: DirectoryCallbackClient
    Severity: Verbose
    Text:    RDMDirectoryRequest message was populated with Filter(s)
RDM_DIRECTORY_SERVICE_INFO_FILTER
RDM_DIRECTORY_SERVICE_STATE_FILTER
RDM_DIRECTORY_SERVICE_GROUP_FILTER
RDM_DIRECTORY_SERVICE_LOAD_FILTER
RDM_DIRECTORY_SERVICE_DATA_FILTER
RDM_DIRECTORY_SERVICE_LINK_FILTER
requesting all services
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:30.022
    ClientName: ItemCallbackClient
    Severity: Verbose
    Text:    Created ItemCallbackClient. Instance name='Consumer_1_1'.
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:30.026
    ClientName: ChannelCallbackClient
    Severity: Verbose
    Text:    Created ChannelCallbackClient
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:30.026
    ClientName: ChannelCallbackClient
    Severity: Verbose
    Text:    Attempt to connect using
1] RSSL_CONN_TYPE_SOCKET
Channel name Channel_1
Instance Name Consumer_1_1
RsslReactor 0x0xf52900
InterfaceName
hostName localhost
port 14002
CompressionType None
tcpNodelay true
EnableSessionManagement 0
reconnectAttemptLimit -1
reconnectMinDelay 1000 msec
reconnectMaxDelay 5000 msec
connectionPingTimeout 30000 msec
initializationTimeout 5 sec

loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:30.077
    ClientName: ChannelCallbackClient
    Severity: Verbose
    Text:    Received ChannelOpened on channel Channel_1
Instance Name Consumer_1_1
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:30.077
    ClientName: ChannelCallbackClient
    Severity: Verbose
    Text:    Successfully created a Reactor and Channel(s)
Channel name(s) Channel_1
Instance Name Consumer_1_1
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:35.082
    ClientName: ChannelCallbackClient
    Severity: Warning
    Text:    Received ChannelDownReconnecting event on channel Channel_1
Instance Name Consumer_1_1
RsslReactor 0x0xf52900
RsslChannel 0x(nil)
Error Id -1
Internal sysError 0
Error Location /local/jenkins/workspace/ESDKCore_RCDEV/OS/RH8-64/rcdev/source/rtsdk/Cpp-C/Eta/Impl/Reactor/rsslReactorWorker.c:2067
Error Text Initialization timed out.
loggerMsgEnd

loggerMsg
    TimeStamp: 10:38:41.088
    ClientName: ChannelCallbackClient
    Severity: Warning
    Text:    Received ChannelDownReconnecting event on channel Channel_1
Instance Name Consumer_1_1
RsslReactor 0x0xf52900
RsslChannel 0x(nil)
Error Id -1
Internal sysError 0
Error Location /local/jenkins/workspace/ESDKCore_RCDEV/OS/RH8-64/rcdev/source/rtsdk/Cpp-C/Eta/Impl/Reactor/rsslReactorWorker.c:2067
Error Text Initialization timed out.
loggerMsgEnd

Did anyone encounter this issue before?



#technologyema-api#productc++interactive-providerredhat-enterprise-linux
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.

1 Answer

· Write an Answer
Upvotes
Accepted
80.3k 259 52 75

@kwunyu.wu

Thank you for reaching out to us.

I found two problems in the log.

1. Please check the location of xmlTraceToFile configuration in the configuration file. This configuration should be inside the consumer node.

loggerMsg
    TimeStamp: 10:33:36.431
    ClientName: EmaConfig
    Severity: Error
    Text:    unsupported configuration element [xmlTraceToFile]; element ignored
loggerMsgEnd

2. The username in the consumer looks strange.

    Text:    RDMLogin request message was populated with this info:
username LD_LIBRARY_PATH=/opt/rh/gcc-toolset-11/root/usr/lib64:/opt/rh/gcc-toolset-11/root/usr/lib:/opt/rh/gcc-toolset-11/root/usr/lib64/dyninst:/opt/rh/gcc-toolset-11/root/usr/lib/dyninst
usernameType 1

To verify the problem, please run the IProv100 and Cons100 examples in the RTSDK package.

According to this discussion, this could be firewall settings.

You may disable firewall on the machine and use the telnet command to verify the connection.

telnet 127.0.0.1 14002
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.

I have fixed the username and the EmaConfig issue, and I have checked the connectivity of the port using
nc -v localhost 14002 
as well, it seems the connection is good. But the error still occurs.
Actually, what are the potential causes for this error?

The provide didn't process the connection.

For example, if I pause the Provider app (kill -STOP <pid>), the Consumer app will show this error.

loggerMsg
    TimeStamp: 08:21:06.141
    ClientName: ChannelCallbackClient
    Severity: Warning
    Text:    Received ChannelDownReconnecting event on channel Channel_1
        Instance Name Consumer_1_1
        RsslReactor 0x0x2d164f0
        RsslChannel 0x0x2d164f0
        Error Id -1
        Internal sysError 0
        Error Location /opt/refinitiv/Real-Time-SDK/Cpp-C/Eta/Impl/Reactor/rsslReactorWorker.c:2067
        Error Text Initialization timed out.
loggerMsgEnd

Can you run the IProv100 and Cons100 examples in the RTSDK package to verify the problem?

Tried, I got the same behaviors. But my provider program doesn't work like this on RHEL 8 machine, and it have same behavior on RHEL 7 machine.

Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.