Closed GoetzGoerisch closed 2 years ago
I've debugged the issue: UA Cloud Publisher uses a discovery client to pick the endpoint on the OPC UA server with the highest security. During this discovery, the UMATI OPC UA server forces a close on the connection, making the discovery fail: UAApplication: Information: OPC UA Stack: ChannelId 58: Force reconnect reason=BadConnectionClosed 'Remote side closed connection' This leads to an invalid entry in our endpoint description cache which means the session lookup (for an existing session) also fails.
Can you find out why the UMATI OPC UA server doesn't allow discovery of its endpoints?
Yes, I will investigate, but I already have a idea. Thank you for the moment.
It is not the server, it was my container deployment of the server with remaps the port and the DiscoverEndPoints service is therefore not working correctly.
I tried it with a clean deployment and than it is working as expected.
Thank you for your debugging and help! ❤️
My pleasure!
Using the UA-CloudPublisher with more than a couple hand selected node results in many one session per node on the server.
Steps to reproduce:
sha256:3df45610ae505eb22126b88d87c50aad160c5222a000a0a5b34b1bdf6a14782b
publishednodes.json
to connect and publish 4.Wait until everything is loaded and starts publishingExpected result: Publisher creates one session with one subscription and 5 monitored items.
Actual result: Publisher creates 5 sessions with 5 subscriptions and 5 monitored items.
Comments: I have seen the correct behaviour before and with other servers, but here it seems to misbehave.
CC: @AndreasHeine
Additional information:
publishednodes.json
: