BiancoRoyal / node-red-contrib-iiot-opcua

deprecated - very new developed by PLUS for Node-RED - https://plus4nodered.com
https://www.npmjs.com/package/node-red-contrib-iiot-opcua
BSD 3-Clause "New" or "Revised" License
34 stars 9 forks source link

crashes when connecting to existing non-node.js server #31

Closed sixdiamants closed 6 years ago

sixdiamants commented 6 years ago

I'm running a .NET standard server from the OPC-UA foundation. UAExpert can connect to the endpoint. However, when I connect a OPCUA-IIoT-Browser to this server, node-red crashes. The server and node-opcua-client run on the same Ubuntu 16.04 machine.

12 Mar 14:27:07 - [red] Uncaught Exception: 12 Mar 14:27:07 - Error: EACCES: permission denied, open '/usr/local/lib/node_modules/node-red-contrib-iiot-opcua/node_modules/node-opcua-client/certificates/PKI/server_certificate0.pem'

And indeed, the server certificate doesn't exist on the given location. I find these warnings suspicious: [warn] [node-red-contrib-opcua/OpcUa-Browser] Error: Cannot find module '_generated_/_auto_generated_ServerStatus'

nodeREDIIoTOPCUA.log

biancode commented 6 years ago

please try the opcua-commander does it work?

biancode commented 6 years ago

and try v2.3.1

biancode commented 6 years ago

reopen if exist with v2.3.2 or higher