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

UnhandledPromiseRejectionWarning #696

Open
davebrenn opened this issue Dec 5, 2021 · 2 comments
Open

UnhandledPromiseRejectionWarning #696

davebrenn opened this issue Dec 5, 2021 · 2 comments

Comments

@davebrenn
Copy link

davebrenn commented Dec 5, 2021

Ubuntu 18.04
nodejs -v11.15.0
nginx

Pool builds no error shown.
Getting this error on node init.js -config=config.json.

UnhandledPromiseRejectionWarning: Error: The client is closed
at Commander._RedisClient_sendCommand (/var/www/html/miner.co/node_modules/@node-redis/client/dist/lib/client/index.js:387:31)

this is where it is throwing the error I think:
_RedisClient_sendCommand = function _RedisClient_sendCommand(args, options, bufferMode) {
if (!__classPrivateFieldGet(this, _RedisClient_socket, "f").isOpen) {
return Promise.reject(new errors_1.ClientClosedError());
}

Redis enabled PING return PONG
Redis version 6.0.6 tried changing version still get the error can you help with this please many thanks

@mvthul
Copy link

mvthul commented Dec 8, 2021

Did u find a way to solve this>?

@Loxxxic
Copy link

Loxxxic commented Jan 9, 2022

#695 (comment)

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

3 participants