Below are some helpful troubleshooting steps to resolve connection errors with OPC UA server.
The Server Url under Configure-Drivers must be specified correctly to then browse for the available Security Profiles.
Refer to the OPC UA server vendors documentation for the correct endpoint of the server.
Once the Server Url is correctly set use the Browse button to select the Security Profile
If the OPC UA Server's authentication certificate is rejected it will be placed in C:\ProgramData\OpenAutomationSoftware\pki\rejected\certs
on Windows or the pki\rejected\certs
sub-directory where the OAS Engine is located on Linux. To resolve and move the OPC UA Server's certificate file in the rejected\certs
directory to trusted\certs
If the OPC UA Server requires a user name and password to validate the connection enable User Security
under Configure-Drivers and specify the Username
that is required by the OPC UA Server.
Select Configure-System Errors and expand any OPC UA or Driver Interface error to see the details of the error.
The information provided can often help you determine the cause of communication failures.
The history of all systems errors can be found in the OAS Error Log specified under Configure-Options-System Logging.
Log OPC UA Communications
You can enable the OPC UA transaction logging under Configure-Options-System Logging to track all interface calls to the OPC UA server.
Specify the location of where the communication logs will be saved with the property Transaction Log Path further down in System Logging.
There will be multiple files generated with the opc-ua within the file name and also the base OAS Transactions file.