Getting unauthorized user error when starting cncjs-mqtt
Unauthorized user: user.id=, user.name=cncjs-pendant
I am getting above error when try to execute
cncjs-mqtt --cncjs-address '127.0.0.1' --cncjs-port '5003' --port '/dev/ttyUSB1' --secret 'xxxx secret from .cncrc xxxx' --mqtt-address '192.168.1.xxx' --mqtt-username 'xxxx' --mqtt-password 'xxxx' --mqtt-port '1883'
Log: 2021-10-03T14:47:24.888Z - info init Starting the server at http://127.0.1.1:5003 2021-10-03T14:47:25.941Z - warn service:cncengine Error: Unauthorized user: user.id=, user.name=cncjs-pendant at /usr/local/lib/node_modules/cncjs/dist/cncjs/server/index.js:3522:14 at new Promise ()
Also i had create the user "cncjs-pendant" from cncjs ui but problem still same...
{ "id": "8d4bb399-80ae-4ed2-951d-0d59c8994007", "mtime": 1633272224441, "enabled": true, "name": "cncjs-pendant", "password": "xxxxxxxxxxxxxxxx some hashed pwd xxxxxxxxxxxxxxxxxxxxxxx" }
I am using the latest cncjs, everything is up to the date