Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bogorad opened this issue Oct 26, 2021 · 3 comments
Open

Comments

@bogorad
Copy link

bogorad commented Oct 26, 2021

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
Copy link

laurafernandezdiaz commented Nov 2, 2021

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
Copy link

eviltik commented Jun 3, 2022

+1

@duchang9264
Copy link

连接

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants