dvandal / cryptonote-nodejs-pool

Mining pool for all CryptoNote based coins using Cryptonight, Cryptonight Light and Cryptonight Heavy algorithms
GNU General Public License v2.0
367 stars 611 forks source link

UnhandledPromiseRejectionWarning #696

Open davebrenn opened 2 years ago

davebrenn commented 2 years ago

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 commented 2 years ago

Did u find a way to solve this>?

Loxxxic commented 2 years ago

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