You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The user nodered in redis has permission to subscribe to the controller-messages* channel. However, we have explicitly restricted his ability to subscribe to the controller-messages-bar channel.
Now we want to test it in Node-Red with this library and the Node redis-in. We had configured three redis-in Nodes:
controller-messages-foo
controller-messages-moin
controller-messages-bar
What We expected from our test is that an error is displayed in the NodeRed web interface, either on the node itself or in the debug window. After we deployed the flow, NodeRed crashes immediately with this exception:
28 Jul 07:54:04 - [red] Uncaught Exception:
28 Jul 07:54:04 - [error] ReplyError: NOPERM this user has no permissions to access one of the channels used as arguments
at parseError (/usr/src/node-red/node_modules/redis-parser/lib/parser.js:179:12)
at parseType (/usr/src/node-red/node_modules/redis-parser/lib/parser.js:302:14)
The problem is now, that after the deployment, the flows.json file was written and on every restart of NodeRed it uses this flows.json and crashes immediately, too. There is no chance to open it in the webinterface to make any chances. The only chance is to change it in the flows.json, but because of the fact, that we are using Node-Red in Kubernetes this is not so easy.
Getting back to the problem at hand, I think it's a bug that NodeRed is crashing with the Uncaught Exception. Instead of displaying an error in the web interface.
The text was updated successfully, but these errors were encountered:
Hello,
we have a Redis Server with User permissions set. This is our acl list:
The user
nodered
in redis has permission to subscribe to thecontroller-messages*
channel. However, we have explicitly restricted his ability to subscribe to thecontroller-messages-bar
channel.Now we want to test it in Node-Red with this library and the Node
redis-in
. We had configured threeredis-in
Nodes:What We expected from our test is that an error is displayed in the NodeRed web interface, either on the node itself or in the debug window. After we deployed the flow, NodeRed crashes immediately with this exception:
The problem is now, that after the deployment, the flows.json file was written and on every restart of NodeRed it uses this flows.json and crashes immediately, too. There is no chance to open it in the webinterface to make any chances. The only chance is to change it in the flows.json, but because of the fact, that we are using Node-Red in Kubernetes this is not so easy.
Getting back to the problem at hand, I think it's a bug that NodeRed is crashing with the Uncaught Exception. Instead of displaying an error in the web interface.
The text was updated successfully, but these errors were encountered: