OPCUA32: OPC UA client does not correctly recover when an unexpected ServiceFault error message is received from the OPC UA server

OPCUA32: OPC UA client does not correctly recover when an unexpected ServiceFault error message is received from the OPC UA server

Summary

The OPC UA Client does not react correctly to ServiceFault messages from the OPC UA Server. This has been fixed.

Description

With certain configurations the OPC UA Client does not react correctly to a ServiceFault error message from the OPC UA Server.

In case of Badsessionidinvalid or badsessionclosed the OPCUA32 driver doesn’t set all variables to INVALID and re-establish the connection as required, provided that the subscription is also no longer valid on the OPC UA Server side.

This behavior has been changed:

  • If a ServiceFault with BadSessionIdIinvalid returns in response to a PublishRequest message, the OPCUA32 driver will now correctly disconnect and re-establish a new connection.
  • If a ServiceFault with BadNoSubscription returns as response to a PublishRequest message, although the OPCUA32 driver has no subscription anymore (all variables unadvised), the connection remains established and the OPCUA32 driver sends cyclic read requests for the server state to keep the connection established.


To benefit from this fix:

  • Update your zenon Software Platform to the latest build of zenon 8.20 or higher.



Item ID: 249662
Version: 11.00 Build: 109317
Version: 10.00 Build: 111092
Version: 8.20 Build: 111994