Connecting failed with error "BadIdentityTokenInvalid"
Posted: 18 Oct 2019, 11:12
Hi to everybody.
I'm doing a C++ project implementing the OPCUA protocol and I'm focusing on enstablishing a connection between a server/client.
I show you the log messages that I have on UaExpert:
Connecting failed with error "BadIdentityTokenInvalid"
Error "BadIdentityTokenInvalid" was returned during ActivateSession
Used UserTokenType: UserName
ApplicationUri : "urn:open62541.server.application"
Security policy: "http://opcfoundation.org/UA/SecurityPol ... c256Sha256"
Endpoint: "opc.tcp://localhost:4840"
I'm wondering if the problem is about the server or the user, if it ever happen to someone of you and where I could find help
The server seem to have all the UserTokenType enabled but I'm confused about which could be my error.
Thank your in advance for your advices.
Have a good day.
I'm doing a C++ project implementing the OPCUA protocol and I'm focusing on enstablishing a connection between a server/client.
I show you the log messages that I have on UaExpert:
Connecting failed with error "BadIdentityTokenInvalid"
Error "BadIdentityTokenInvalid" was returned during ActivateSession
Used UserTokenType: UserName
ApplicationUri : "urn:open62541.server.application"
Security policy: "http://opcfoundation.org/UA/SecurityPol ... c256Sha256"
Endpoint: "opc.tcp://localhost:4840"
I'm wondering if the problem is about the server or the user, if it ever happen to someone of you and where I could find help
The server seem to have all the UserTokenType enabled but I'm confused about which could be my error.
Thank your in advance for your advices.
Have a good day.