Can't connect to the server in CentOS(BadSecurityPolicyReje)

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

Moderator: uasdkcpp

Post Reply
Alan.Z
Jr. Member
Jr. Member
Posts: 1
Joined: 27 Sep 2019, 13:09

Can't connect to the server in CentOS(BadSecurityPolicyReje)

Post by Alan.Z »

Hello,every one!
I have got the c++ SDK in CentOs,make the examples by GCC and Cmake, It seems that all goes well;
But When I try to connect the OPC UA server examples, problems arise. Each test to connect to the server end in the same problem(Error: UaSession::connect failed [ret=BadSecurityPolicyRejected).
I try to test in UaExpert or the clientCpp that sdk offer, but failed in the same way. I just get the error BadSecurityPolicyRejected,Even I did not use any security policy. Could anyone know how to handle with the problem?
Thanks!

Post Reply