cryptonote-nodejs-pool icon indicating copy to clipboard operation
cryptonote-nodejs-pool copied to clipboard

UnhandledPromiseRejectionWarning

Open davebrenn opened this issue 2 years ago • 2 comments

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

davebrenn avatar Dec 05 '21 15:12 davebrenn

Did u find a way to solve this>?

mvthul avatar Dec 08 '21 09:12 mvthul

https://github.com/dvandal/cryptonote-nodejs-pool/issues/695#issuecomment-986169131

Loxxxic avatar Jan 09 '22 02:01 Loxxxic