2/12/2019 6:34 PM | |
Posts: 2 Rating: (0) |
Hi, i have installed node-red-contrib-opcua Package on Node-Red and created the attached Flows. The Package can be deployed without error and is running fine on IOT2000 Node Red Server . I am able to create the Variables on OPCUA Server and can write and read the Variables with the installed client. When i use UAexpert to connect to the OPC UA Server i get the following Message: URL not found There was no exact match for the specified URL in the servers's endpoint, using the first server certifcate found for connecting. With UA .Net "Getting Started Client Example" i receive the following message also if i change host with IP Adress opc.tcp://hostname: iot2000: Unknown host:53880/UA/SimpleNodeRedServer Same example i have also installed on an Ubuntu Computer with Node Red. Here the example works also fine with Node Red and it also possible to connect with UAExpert and UA .Net "Getting Started Client Example" without any problems. Thanks in advance for your help
AttachmentOPCUA_Flow.txt (467 Downloads) |
2/13/2019 11:33 AM | |
Joined: 12/12/2016 Last visit: 4/8/2024 Posts: 640 Rating: (60)
|
Hello, I think its the combination of the example server nodes and the hostname "iot2000", which are causing this issue. With the node-red-contrib-iiot-opcua package the .NET Client from Unified Automation is also unable to resolve proper Endpoint-URLs: And in UaExpert you can see that the example server is using the hostname in the Endpoint-Url: If you try this example server you will see that it works fine with the .NET Client, even though we use the same node-opcua package as node-red-contrib-opcua and node-red-contrib-iiot-opcua do: This is because we picked an alternate hostname when initializing the OPC UA Server in app.js: So my suggestion would be to implement the OPC UA Server in native NodeJS just like we did in our example. You can also find a tutorial here But generally speaking I would not recommend using these NodeJS-OPC UA servers in industrial applications as we have experienced several crashes in the past. Kind regards! |
This contribution was helpful to1 thankful Users |
Follow us on