chameleonbr / node-red-contrib-redis

Node RED client for Redis with pub/sub, list, lua scripting and other commands support.
MIT License
46 stars 40 forks source link

CATCH node doesn't intercept "Error: connect ECONNREFUSED 127.0.0.1:6379" #52

Open bogorad opened 2 years ago

bogorad commented 2 years ago

More generally - is there a way to get notified on connection to Redis and disconnection from Redis?

For now, I'm sending PING command to Redis, with a timeout of 250ms, and checking if the status has changed. But a native solution would be great. Also, the error (subj) is distracting.

image

laurafernandezdiaz commented 2 years ago

Yes, in my case it is not always connected to Redis so a native way of checking if it is connected or not would be very useful. Also the catch node does not catch the exception which makes it strange.

eviltik commented 2 years ago

+1

duchang9264 commented 1 year ago

连接

+1 ,而且我发现没有配置密码的地方,我怀疑是因为没有输密码,所以报这个错误,因为我的redis配置了密码