Troubleshooting – OPC UA
<< View All FAQs
Troubleshoot Bad Data
How to identify and resolve communications errors with data sources.
- 0:00 - Introduction
- 0:40 - Bad Tags
- 3:30 - System Errors
- 4:20 - Watch Window
- 6:20 - Error Logging
- 7:20 - Troubleshooting Guides
- 8:55 - Contact Us
OPC UA Server Connection Error
Below are some helpful troubleshooting steps to resolve connection errors with OPC UA server.
Server UrlThe Server Url under Configure-Drivers must be specified correctly to then browse for the available Security Profiles.
Certificate AuthenticationIf 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.
OAS Certificate CreationVersion 220.127.116.11 of OAS added the ability to self create a certificate for OPC UA Servers and Clients to authenticate against. Check the current version under Configure-System Status and if older than version 18.104.22.168 update the version of OAS if you are receiving a certificate authentication error under Configure-System Errors.
User AuthenticationIf the OPC UA Server requires a user name and password to validate the connection enable User Security under Configure-Drivers and specify the Username and Password that is required by the OPC UA Server.
System ErrorsSelect Configure-System Errors and expand any OPC UA or Driver Interface error to see the details of the error.
The history of all systems errors can be found in the OAS Error Log specified under Configure-Options-System Logging.
Log OPC UA CommunicationsYou 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.
UA ExpertThe UA Expert program is a good test application to communicate to OPC UA server to verify the server can be interfaced with. You can download UA Expert from https://filedownloads.openautomationsoftware.com/tools/uaexpert.zip.
<< View All Troubleshooting Topics