Problem of migration to the new ANSI C based OPC UA Client SDK v1.9.2
Posted: 14 Oct 2021, 10:40
Hello, i was using the UaSdkCClient 1.9.1 version on linux without any problem but now when i tried to upgrade to the 1.9.2 version, i can't even connect me to the PLC. The errror i get is :
*****************************************************
405|W|96358280* ProcessOpenSecureChannelResponse: revised lifetime 3600000 below limit 4294967040.
.405|W|96358280* ProcessOpenSecureChannelResponse: Handling error 0x80AB0000.
:OPC_ConnectError_CB:
: ServiceType: OpenSecureChannel
: Error: 0x80ab0000
: Overridable: false
*****************************************************
even after several reconnection attempts the same errors appears.
To fix it, i tried these 3 methods :
1) I change the SecureChannelLifetime (by example to 4294967041) in the client_settings.conf file but the errors appears again : "revised lifetime 3600000 below limit 4294967040."
2) I manually change the SecureChannelLifetime of the UaClient_Session but the errors appears again : "revised lifetime 3600000 below limit 4294967040."
3) I manually change the SecureChannelLifetime of theUaClient_Configuration but the errors appears again : "revised lifetime 3600000 below limit 4294967040."
I realized that no matter where I try to change the SecureChannelLifetime (to make it superior than the limit 4294967040 mentioned in the error message), my change does not take effect and it is always the value 3600000 that remains. Can you tell me where to really modify it or how to solve my problem please.
Thanks
*****************************************************
405|W|96358280* ProcessOpenSecureChannelResponse: revised lifetime 3600000 below limit 4294967040.
.405|W|96358280* ProcessOpenSecureChannelResponse: Handling error 0x80AB0000.
:OPC_ConnectError_CB:
: ServiceType: OpenSecureChannel
: Error: 0x80ab0000
: Overridable: false
*****************************************************
even after several reconnection attempts the same errors appears.
To fix it, i tried these 3 methods :
1) I change the SecureChannelLifetime (by example to 4294967041) in the client_settings.conf file but the errors appears again : "revised lifetime 3600000 below limit 4294967040."
2) I manually change the SecureChannelLifetime of the UaClient_Session but the errors appears again : "revised lifetime 3600000 below limit 4294967040."
3) I manually change the SecureChannelLifetime of theUaClient_Configuration but the errors appears again : "revised lifetime 3600000 below limit 4294967040."
I realized that no matter where I try to change the SecureChannelLifetime (to make it superior than the limit 4294967040 mentioned in the error message), my change does not take effect and it is always the value 3600000 that remains. Can you tell me where to really modify it or how to solve my problem please.
Thanks