User Certificate BadArgumentInvalid

Questions regarding the use of the C++ SDK for Server or Client development or integration into customer products ...

Moderator: uasdkcpp

Post Reply
trandana
Full Member
Full Member
Posts: 6
Joined: 10 Jul 2019, 17:27

User Certificate BadArgumentInvalid

Post by trandana »

After calling the connect function from my UaSessionCallback class :

Code: Select all

result = m_pSession->connect(serverUrl, sessionConnectInfo, sessionSecurityInfo, this);
I always get a BadArgumentInvalid error from the status. Is it an argument in the sessionConnectInfo, sessionSecurityInfo, both, neither?
How can I find out more information, and which argument is invalid?


My connectError function in my UaSessionCallback class spits out this:
-- Event connectError ---------------------------------
clientConnectionId 0
Service Type Processing of Service OpenSecureChannel
Status BadInvalidArgument

trandana
Full Member
Full Member
Posts: 6
Joined: 10 Jul 2019, 17:27

Re: User Certificate BadArgumentInvalid

Post by trandana »

I tried using the client_cpp_sdk project included in the tutorials, only replacing the certificates with my own and keeping everything
else the same, and I still get the same BadInvalidArgument error.
Any advice would be appreciated!

Post Reply