coussej / node-opcua-logger

An OPCUA Client for logging data to InfluxDB! 🔌 🏭
https://www.factry.io
MIT License
180 stars 64 forks source link

ANONYMOUS user token policy Error #37

Closed DavidWicks closed 4 years ago

DavidWicks commented 4 years ago

Hi, I have been involved with PLCs and automation for many years, however I am very new to Nodejs, Git and have very limited linux experience.

I have managed to get the opc logger working in the demo mode succesfuly sending data to influx, however when I try to connect to OPC UA server I am unsuccesful.

OS: Windows 10 Pro 64 bit Node v2.0.0 OPCUA Server: KepServerEX 6.8

I have set the certificate under trusted clients in KepserverEX (first i had to convert it to der).

Any help you could provide would be appreciated.

Annonymous user token polic error.txt config_toml.txt

coussej commented 4 years ago

Hi, it means you're trying to connect without a username and password (anonymous), but that anonymous access is not allowed by Kepware. You can enable it under the kepware project properties (and not in the UA configuration manager): See https://www.kepware.com/getattachment/de80e240-765e-451a-afce-640d413891c3/opc-ua-configuration-manager-manual.pdf, page 5/6: project properties > OPC UA

DavidWicks commented 4 years ago

Working ! Thankyou :)