We are trying to connect via EMA C++ API to an our assigned Service Name using port 14002
But we receive this error during login process on Linux:
onInvalidUsage Error[Closed / Suspect / Not entitled / 'A21: A required argument was
With the same code on a Windows machine all work fine, login process and subscriptions to RICs.
The Emalog on Linux is shown below:
loggerMsg TimeStamp: 18:13:02.464 ClientName: EmaConfig Severity: Error Text: error reading configuration file [EmaConfig.xml]; file is empty loggerMsgEnd loggerMsg TimeStamp: 18:13:02.464 ClientName: EmaConfig Severity: Error Text: failed to extract configuration from path [] loggerMsgEnd loggerMsg TimeStamp: 18:13:02.843 ClientName: ChannelCallbackClient Severity: Success Text: Received ChannelUp event on channel Channel Instance Name Consumer_1_1 Connected component version: ads2.6.9.L1.linux.tis.rrg 64-bit loggerMsgEnd loggerMsg TimeStamp: 18:13:02.877 ClientName: LoginCallbackClient Severity: Error Text: RDMLogin stream was closed with status message State: Closed / Suspect / Not entitled / 'A21: A required argument was NULL ' loggerMsgEnd
The Emalog on Windows where all work fine is shown below:
loggerMsg TimeStamp: 18:23:34.114 ClientName: EmaConfig Severity: Error Text: error reading configuration file [EmaConfig.xml]; file is empty loggerMsgEnd loggerMsg TimeStamp: 18:23:34.114 ClientName: EmaConfig Severity: Error Text: failed to extract configuration from path [] loggerMsgEnd loggerMsg TimeStamp: 18:23:34.300 ClientName: ChannelCallbackClient Severity: Success Text: Received ChannelUp event on channel Channel Instance Name Consumer_1_1 Connected component version: ads2.6.9.L1.linux.tis.rrg 64-bit loggerMsgEnd
What could be the problem?