paul rabe
unread,Jan 19, 2026, 6:38:15 AM (2 days ago) Jan 19Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to open62541
I need help, please
Until now I have used Open62541 version 1.3.5 and everything was working fine for me, including register my server at LDS. Now I have updated to version 1.4.14. I have seen some API changes. For changing the registration procedure I have oriented me at the examples/discovery/server_register.c. Unfortunately this example doesn't work here. Despite a lot of tries und modifications, my server registration is also not working.
In wireshark I can see traffic to port 4840 but no RegisterServer2Request at all, The log says "BadIdentityTokenRejected". The Call of UA_Server_registerDiscovery yields UA_STATUSCODE_GOOD - no error.
What has to be changed to the example code so registration is working ?
My environment (still the same as for 1.3.5):
LDS from OPC Foundation 1.04
OpenSSL 3.6.0
Windows 10LTSC
build with cmake using Visual Studio 2022, 32bit Target and
UA_ENABLE_DISCOVERY=ON
UA_ENABLE_DISCOVERY_MULTICAST=ON
UA_ENABLE_DIAGNOSTICS=ON
UA_ENABLE_STATUSCODE_DESCRIPTIONS=ON
UA_ENABLE_ENCRYPTION=OPENSSL
UA_BUILD_EXAMPLES=ON
Thanks & best regards