I met the Problem when I tried to use opcua. And I have upload my program. flows.json (148.2 KB)
<"OpcUaClientNode: Case B: UserName & password does not match to server (needed by Sign): undefined undefined">
<"OpcUaClientNode: Case A: Endpoint does not contain, 1==None 2==Sign 3==Sign&Encrypt securityMode: securityPolicy:["Profile Reporting Links>
<"OpcUaClientNode: can't work without OPC UA Session">
Hi OriolFM, I thought back and indeed Node-Red was having problems connecting to opcua after updating the windows system. But I checked the firewall history and it didn't close anything. After I turned off the firewall, the connection still didn't work.
The error messages you posted were consistent with the ones I got, and in my case, the problem were the ports. If not the ports, then I'd say look again at the Username/password on the OPC/UA server, since the error specifies that the Username& pass do not match the ones in the server.
You have to make sure that the user has the right permissions for read/write (whatever you want to do) and that the Username & password match the ones you use in Node-Red.
In your system, are both the OPC/UA server and NR deployed by you, or is the OPC/UA deployed by a third party?