OPC UA Server/Connection - Authentication failed: User Source not found

Hello,

I'm having an issue configuring the loopback connection for the internal OPC UA Server. I configured an additional internal User Provider for the module and configured it on both ends, but cannot get it working:

java.lang.IllegalArgumentException: User Source "2" not found.
at com.inductiveautomation.ignition.gateway.authentication.UserSourceManagerImpl.createProfile(UserSourceManagerImpl.java:730)
at com.inductiveautomation.ignition.gateway.authentication.UserSourceManagerImpl.getProfile(UserSourceManagerImpl.java:717)
at com.inductiveautomation.ignition.gateway.authentication.UserSourceManagerImpl.getProfile(UserSourceManagerImpl.java:87)
at com.inductiveautomation.ignition.gateway.opcua.OpcUaModule$setup$config$1$identityValidator$1.authenticateUsernamePassword(OpcUaModule.kt:273)
at org.eclipse.milo.opcua.sdk.server.identity.AbstractUsernameIdentityValidator.authenticateUsernameOrThrow(AbstractUsernameIdentityValidator.java:140)
at org.eclipse.milo.opcua.sdk.server.identity.AbstractUsernameIdentityValidator.validateUsernameToken(AbstractUsernameIdentityValidator.java:118)
at org.eclipse.milo.opcua.sdk.server.identity.AbstractIdentityValidator.validateIdentityToken(AbstractIdentityValidator.java:56)
at org.eclipse.milo.opcua.sdk.server.SessionManager.validateIdentityToken(SessionManager.java:745)
at org.eclipse.milo.opcua.sdk.server.SessionManager.activateSession(SessionManager.java:622)
at org.eclipse.milo.opcua.sdk.server.SessionManager.onActivateSession(SessionManager.java:484)
at org.eclipse.milo.opcua.stack.server.UaStackServer.handleServiceRequest(UaStackServer.java:313)
at org.eclipse.milo.opcua.stack.server.UaStackServer.lambda$onServiceRequest$10(UaStackServer.java:276)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)

My internal User provider is called 'local_users_module_opcua', which is also configured - when changing it also does not create a different log entry - the User Source "2" stays.
I also tried allowing anonymous connections, which also did not work.

Am I overseeing something? I cannot do much with this log entry alone. I did not run into issues configuring the rest of my User Configurations.

Thanks in advance :slight_smile:

Have you tried restarting the module or Gateway yet?

1 Like

yep, that was preventable. Solved by OS restart - thought I had done that previously.
Thank you