Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Problem with new UaSdkCClient 1.9.2 version
October 14, 2021
12:37, EEST
Avatar
UlrichFM
Member
Members
Forum Posts: 15
Member Since:
February 10, 2021
sp_UserOfflineSmall Offline

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

October 15, 2021
14:07, EEST
Avatar
Jimmy Ni
Moderator
Members

Moderators
Forum Posts: 26
Member Since:
February 1, 2019
sp_UserOfflineSmall Offline

Hello,
The default value for “SecureConnection_MinRevisedSecureChannelLifetime” is 300000 in the client config file and in the SDK:
/** @brief The minimum lifetime of a secure channel security token in milliseconds. */
#ifndef OPCUA_SECURITYTOKEN_LIFETIME_MIN
1. define OPCUA_SECURITYTOKEN_LIFETIME_MIN 300000
#endif /* OPCUA_SECURITYTOKEN_LIFETIME_MIN */
/** @brief The minimum revised lifetime of a secure channel security token in milliseconds (for clients). */
#ifndef OPCUA_SECURITYTOKEN_REVISED_LIFETIME_MIN
1. define OPCUA_SECURITYTOKEN_REVISED_LIFETIME_MIN OPCUA_SECURITYTOKEN_LIFETIME_MIN
#endif /* OPCUA_SECURITYTOKEN_REVISED_LIFETIME_MIN */
Also, there would be fallback to default value 300000 incase “SecureConnection_MinRevisedSecureChannelLifetime” is set to -1 in the configuration.
The reported error indicates that “SecureConnection_MinRevisedSecureChannelLifetime” is set to invalid value “4294967040”.
So the changes made in the default configuration should be checked to figure out where “4294967040” comes from because it does not come from the SDK.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
21 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

Ibrahim: 76

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 680

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6261

Newest Members:

graciela2073, sagarchau, elviralangwell4, Donnavek, Eddiefauth, DonaldPooma, fidelduke938316, Jan-Pfizer, DavidROunc, fen.pang@woodside.com

Moderators: Jouni Aro: 1010, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 983, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 321, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1