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: 24
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: 267

Currently Online: Sabari
14 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 111

pramanj: 86

ibrahim: 74

kapsl: 57

gjevremovic: 49

TimK: 41

fred: 41

Xavier: 40

Fransua33: 39

rocket science: 36

Member Stats:

Guest Posters: 0

Members: 1458

Moderators: 17

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1178

Posts: 4983

Newest Members:

ThomasM, louiecrews, wyattcutler005, kristin3354, augustawalpole3, everettpulver, arron51869, roseannagoldschm, moosm, islamaddox

Moderators: Jouni Aro: 906, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 684, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 24, Teppo Uimonen: 21, Markus Johansson: 36, Niklas Nurminen: 0, Matti Siponen: 151, Lusetti: 0

Administrators: admin: 1