Login  •  Register


User Certificate BadArgumentInvalid

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

User Certificate BadArgumentInvalid

Postby trandana » 12 Jul 2019, 18:09

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
Newbie
Newbie
 
Posts: 4
Joined: 10 Jul 2019, 17:27

Re: User Certificate BadArgumentInvalid

Postby trandana » 16 Jul 2019, 16:33

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!
trandana
Newbie
Newbie
 
Posts: 4
Joined: 10 Jul 2019, 17:27


Return to C++ based OPC UA SDK

Who is online

Users browsing this forum: No registered users and 0 guests

cron