Skip to content

OPCUA Connection Problem on EPC1522

edited October 2023 in PLCnext Engineer

I'm experiencing issues connecting to the OPC UA server in Node-RED on the Gateway EPC1522. When using the official Node-RED app from the PLCNext Appstore, I encounter the following error message:

Here is the configuration of the OPC UA Client Node:

but UaExpert displays data from the Gateway:

I would greatly appreciate your assistance with this matter.


Best regards,

Hadi Saeidi

Comments

  • I can see that the node red error includes something about an untrusted or unknown certificate.

    I don't know about node red, but many OPC UA clients will refuse to connect to a server if the server certificate does not contain the DNS name or IP address that is used to connect to the server.

    In the OPC UA Server settings in PLCnext Engineer, the Endpoint name ends up in the self-signed server certificate:


    Please set the Endpoint name to the IP address of the PLC (which looks like 192.168.2.10), if you haven't already. Then send the project to the PLC again, and retry the connection.

    Also, it would be worth choosing one of the more secure security policies. Note the warning in PLCnext Engineer about the one you've chosen:


  • Change the security policies has solved this Problem

This discussion has been closed.