How to connect OPC/UA nodes after disconnect in a reliable way?


we have started to use OpcUa together with Node-Red to establish machine to machine communication.

Now we are facing a problem after machine disconnects:

We do a regular (1/sec) READ on a Opc/Ua client to check for new data.
It happens from time to time that a client goes offline for any reason or is not reachable via network.
In this case the READ fails and the session gets lost until the client is back up again. As soon as it is online a new session is created automatically and the READ proceeds.

BUT ... if we do the same with a WRITE OPC/Ua Node it is not possible to reestablish the session after a disconnect.
The session is in a failed state and so far we did not find out how to reset it.
DISCONNECT or RECONNECT does not work as expected.
The only think that helps is to redeploy the whole flow, but that has other negative side-effects.

Does anybody know how to handle this the right way ?
We are of course willing to pay for professional support !


Hello i had the same problem on my old nodered version, since i upgraded to nodered latest14 with latest OPC UA it seems working better.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.