Hi team!
I've written an NI provider application using RTC. Now I'm trying to login on a pre-production RTDS system.
I'm getting the following two logger messages which seem to indicate that the connection is established correctly, but login fails ("non-consumer attempting login"):
loggerMsg
TimeStamp: 10:29:22.803
ClientName: ChannelCallbackClient
Severity: Success
Text: Received ChannelUp event on channel smds006@HZAE_via_jmp01
Instance Name Provider_1_1
Connected component version: ads3.8.1.L1.linux.rrg 64-bit
loggerMsgEnd
loggerMsg
TimeStamp: 10:29:22.886
ClientName: LoginCallbackClient
Severity: Error
Text: RDMLogin stream was closed with status message
username
usernameType 1
position <not set>
appId <not set>
applicationName <not set>
singleOpen 1
allowSuspect 1
optimizedPauseResume 0
permissionExpressions 1
permissionProfile 1
supportBatchRequest 0
supportEnhancedSymbolList 0
supportPost 0
supportRtt 0
supportViewRequest 0
State: Closed / Suspect / Usage error / 'Login rejected. Non-consumer attempting login.'
loggerMsgEnd
I developed the app using EMA. The OmmProvider instance is created using an adjusted EmaConfig.xml andOmmNiProviderConfig().applicationId(APPLICATION_ID).username(USER). As mentioned before, I used RTC during development, and never had any connection issues there.
I also tried to set up a consumer connection to the same channel, using the same app ID and username. This seems to succeed - I get a similar "ChannelUp" message as above, followed by a status "Closed/F10: Not In Cache", which is expected.
This looks like a configuration issue to me, either on my side or on the remote side. I would be grateful for any hint regarding the steps that are necessary to fix it.
Thank you in advance,
Helmut