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
Related Articles
How to use certificates for OPC UA security
This article provides an overview of how to use X.509 certificates in order to enable OPC UA security. It links to further how-tos that explicitly describe the necessary steps to create certificates and add them to the configuration of either the OPC ...
FAQ: How can I browse an OPC UA Server using the zenon OPC UA Client Driver?
Go to Drivers > New Driver Create a Driver of Type "OPC UA Client Driver" Open the Driver Configuration Go to "Connections" Create a new Connection Enter your Discovery URL Enter your Server URL manually or click the 3 dots to browse the Discovery ...
OPC-UA Server: DNS Name used in certificate created by zenon.
The creation of the DNS name in the OPC-UA Server certificate may vary depending on the zenon build and if the machine is within a Workgroup or is part of a Domain. This information can be verified in the certificate, the certificates files (*.der) ...
How to setup the zenon OPC UA Driver with a CA-signed certificate
This article describes how to create a certificate signed by a Certificate Authority (CA) for using it with the zenon OPC UA Driver. For general information about certificate usage for OPC UA security, please refer to the article How to use ...
How to setup the zenon OPC UA Driver with a self-signed certificate
This article describes how to create a self-signed certificate for using it with the zenon OPC UA Driver. For general information about certificate usage for OPC UA security, please refer to the article How to use certificates for OPC UA security. ...