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

Session Not Ready To Browse #39

Closed deminngi closed 6 years ago

deminngi commented 6 years ago

Sorry the last version 2.3.0 had not solved this problem.

NOW I can run a wireshark session sniffing the node-red instance mirroring a specific port that is working with a real OPC/UA server.

This is my test (injector -> browse node -> debug node) environment:

image

After connection (see state above) I get with wireshark: image

image

After triggering the injector (see above) i get with wireshark: NOTHING!!!!!!

Apparently the session is not there.

Can you assure it is working on a real OPC/UA server otherwise I must send this debug to the vendor

biancode commented 6 years ago

hm interesting ... if Prosys Simulator is a real OPC UA server for you, then yes it works well with a real OPC UA server IF the certificate is set to trusted otherwise I got the same trouble as you described:

Certificate in server not trusted:

screen shot 2018-03-16 at 19 05 49

Certificat in server trusted:

screen shot 2018-03-16 at 19 06 37

I'll try more with the Unified Automation servers too.

biancode commented 6 years ago

Your problem is to reproduce with the Prosys server if ANONYMOUS is not allowed or user is wrong. Is the Show Errors option checked in your flow in the Connector node settings?

Error: Cannot find ANONYMOUS user token policy in end point description

image

biancode commented 6 years ago

image

biancode commented 6 years ago

image

biancode commented 6 years ago

image

biancode commented 6 years ago

works with user too

image

deminngi commented 6 years ago

Klaus,

my test was with securityPolicy:NONE and securityMode:None, no user, no user password means ANONYMOUS

biancode commented 6 years ago

ANONYMOUS works for me too if it is activated in server

image

biancode commented 6 years ago
screen shot 2018-03-16 at 22 52 48
biancode commented 6 years ago
screen shot 2018-03-16 at 22 54 41

also in just ANONYMOUS mode

biancode commented 6 years ago

please try v2.3.1