Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Home
  • Knowledge base
  • Contact Us
  • Home
  • Connectors
  • OPC-UA Client

OPC-UA Client - Troubleshooting

Troubleshooting of the OPC-UA Client

Written by Paul Bendixen

Updated at July 12th, 2023

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Installation & Technical information
    Introduction SIA Connect Standalone SIA Connect ANY-Ware Cellular & WiFi connectivity
  • Configuration in the Web UI
    Getting started with the UI Connectors Instances Items Mapping Data System Network Tools & Add-ons DigiCert IoT Trust Manager
  • Connectors
    Siemens S7 Azure IoT Ethernet/IP Mitsubishi MELSEC OPC-UA Server SQL MQTT Omron Host Link REST API Omron FINS Keyence Beckhoff TwinCAT BACnet Virtual OPC-UA Client MS SQL File M-Bus Modbus
  • Scripting & Variables
    Data formatting
  • Developers
    API documentation Shadow API
  • Tutorials & Guides
    InfluxDB AWS IoT Core - Amazon Web Services Microsoft Power BI KaaIoT Siemens S7 AVEVA Insight SIA Connect Demo Rack Grafana Azure
  • General
+ More

Table of Contents

Table of Contents Error messages Instance Item F.A.Q I cannot connect using username and password I cannot connect securely to a OPC-UA server but non-secure log-in works fine

Articles in this section:

  • OPC-UA Client - Instance & item setup
  • OPC-UA Client - Troubleshooting

Table of Contents

Error messagesInstanceItemF.A.QI cannot connect using username and passwordI cannot connect securely to a OPC-UA server but non-secure log-in works fine

While we strive to deliver the easiest possible connection to your devices, all systems are fallible and here are some of the known issues

This article will describe some of the most common faults encountered when trying to connect using the OPC-UA Client. All the various error messages is also explained here.


Error messages

Both instance and items can have errors. These are shown on the portal and the following sections describes the error and how to solve them.


Instance

Error message Description Solution
Could not connect to OPC server. Check connection and certificate (BadDisconnect) The server is unavailable Check the IP address and that you can ping it. Ensure that SIA is in the same network as the OPC-UA server and that it is running
Could not connect to OPC server. Check connection and certificate (BadConnectionClosed) The certificate is not valid Check that the self generated or uploaded certificate is correctly added to the servers trust list.
Could not connect to OPC server. Check connection and certificate (BadIdentityTokenRejected) The username and password is invalid When using a username and password, make sure that they match the ones set up on the OPC-UA Server
No suitable endpoint found, certificate rejected or wrong credentials The client could not connect to an OPC-UA endpoint Check that the endpoint is set up correctly (using SampleServer after the port in the address e.g. opc.tcp://localhost:51210/UA/SampleServer) and that the security mode that is selected is available on the server


Item

Error message Description Solution
Invalid Scalar type The type returned is not yet supported by SIA If possible, change the type to be a basic scalar type or possibly contact sales.
Item returned no value The item you are trying to read had nothing in the value field

If possible, change the type to be a basic scalar type or possiby contact sales.


F.A.Q

I cannot connect using username and password

In order to protect your credentials, you must use encryption when logging in with username and password. Set the Security Mode to either Sign or Sign and encrypt and select a security Policy as well (other than "None").

Make sure the certificate is accepted by your server if this is needed.


I cannot connect securely to a OPC-UA server but non-secure log-in works fine

Make sure your server has accepted the certificate that SIA presents. The OPC-UA SIA certificate is autogenerated at first instantiation of the connector and is therefore unknown to the OPC-UA server. See your OPC-UA server documentation for how to accept certificates.

You can also supply your own certificate and key and enroll this certificate in your OPC-UA server, See your OPC-UA server documentation for how to do this.

troubleshoot opc-ua

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • OPC-UA Client - Instance & item setup

0
0
Expand