Avatar
Please consider registering
guest
sp_LogInOut Log Insp_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 RSSsp_TopicIcon
Prosys OPC UA Simulation Server fails to register with Local Discovery Server (LDS) – SecureChannel invalid / connection closed
February 27, 2026
7:34, EET
Avatar
srijithvijay
New Member
Members
Forum Posts: 1
Member Since:
February 26, 2026
sp_UserOfflineSmall Offline

Product Information:

Product: Prosys OPC UA Simulation Server
Version: v5.6.0‑6
SDK: Prosys OPC UA SDK for Java 5.4.0‑201
License: Free license
Operating System: Windows (64‑bit)

During discovery registration, the server initially attempts to register using opc.tcp://localhost:4840, but the OPC UA stack automatically switches to an alternate endpoint URL using the machine’s fully qualified domain name (for example, opc.tcp://:4840). Despite successful TCP connections and completed handshakes, the discovery server immediately closes the connection, and the registration never persists.

Could someone let me know what’s going wrong here? Everything used to work in the previous version of the server. I am seeing the issue after the server version upgrade.

Here is the details from the server log:

02/26/2026 16:11:24.898 INFO [DiscoveryRegistrationTimer] – localhost/127.0.0.1:4840 Connecting
02/26/2026 16:11:24.908 INFO [DiscoveryRegistrationTimer] – Connected (non-reverse), handshake completed
02/26/2026 16:11:25.126 INFO [DiscoveryRegistrationTimer] – 11 Closed
02/26/2026 16:11:25.126 INFO [TcpConnection/Read] – localhost/127.0.0.1:4840 Closed (graceful)

02/26/2026 16:11:26.392 INFO [DiscoveryRegistrationTimer]
Using an alternate endpoint URL
‘opc.tcp://bgl7115win64.mathworks.com:4840’
instead of the requested ‘opc.tcp://localhost:4840’

02/26/2026 16:21:27.183 WARN [TcpConnection/Read]
Bad_SecureChannelIdInvalid (0x80220000)
“The specified secure channel is no longer valid.”

02/26/2026 16:56:26.442 ERROR
Failed to renew security token.
Bad_ServerNotConnected (0x800D0000)

February 27, 2026
8:02, EET
Avatar
Matti Siponen
Moderator
Members

Moderators
Forum Posts: 367
Member Since:
February 11, 2020
sp_UserOfflineSmall Offline

Hello,

Which Server did you update and from which version? Can you provide more information on the Local Discovery Server you’re using?

Forum Timezone: Europe/Helsinki
Most Users Ever Online: 1919
Currently Online:
Guest(s) 38
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 100
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 773
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1558
Posts: 6567
Newest Members:
xyygeorgetta, srijithvijay, rudolfpigot8361, AndreiD, DonaldLoulk, beasweatman4, earthameredith5, SheilaNag, freddiehuntsman, Sentra
Moderators: Jouni Aro: 1039, Pyry: 1, Petri: 1, Bjarne Boström: 1054, Jimmy Ni: 26, Matti Siponen: 359, Lusetti: 0
Administrators: admin: 1