forknote / forknote-pool

Mining pool for Bytecoin/Forknote based coins such as Bytecoin and Dashcoin.
https://github.com/forknote/forknote-pool
GNU General Public License v2.0
122 stars 185 forks source link

TypeError: Cannot read property 'pool' of undefined #36

Open zhq1 opened 6 years ago

zhq1 commented 6 years ago

root@vultr:~/forknote-pool# node init.js 2017-10-28 08:00:21 [master] Pool spawned on 1 thread(s) 2017-10-28 08:00:23 [unlocker] Started 2017-10-28 08:00:23 [payments] Started 2017-10-28 08:00:23 [charts] Started 2017-10-28 08:00:23 [unlocker] No blocks candidates in redis 2017-10-28 08:00:23 [charts] Started 2017-10-28 08:00:23 [chartsDataCollector] Started 2017-10-28 08:00:23 [payments] No workers' balances reached the minimum payment threshold 2017-10-28 08:00:23 [api] API started & listening on port 8117 2017-10-28 08:00:53 [unlocker] No blocks candidates in redis

2017-10-28 08:01:23 [unlocker] No blocks candidates in redis

TypeError: Cannot read property 'pool' of undefined at /root/forknote-pool/lib/charts.js:148:30 at IncomingMessage. (/root/forknote-pool/lib/apiInterfaces.js:31:17) at IncomingMessage.EventEmitter.emit (events.js:117:20) at _stream_readable.js:919:16 at process._tickCallback (node.js:419:13)

TypeError: Cannot read property 'pool' of undefined at /root/forknote-pool/lib/charts.js:148:30 at IncomingMessage. (/root/forknote-pool/lib/apiInterfaces.js:31:17) at IncomingMessage.EventEmitter.emit (events.js:117:20) at _stream_readable.js:919:16 at process._tickCallback (node.js:419:13)

TypeError: Cannot read property 'pool' of undefined at /root/forknote-pool/lib/charts.js:154:30 at IncomingMessage. (/root/forknote-pool/lib/apiInterfaces.js:31:17) at IncomingMessage.EventEmitter.emit (events.js:117:20) at _stream_readable.js:919:16 at process._tickCallback (node.js:419:13)

TypeError: Cannot read property 'pool' of undefined at /root/forknote-pool/lib/charts.js:154:30 at IncomingMessage. (/root/forknote-pool/lib/apiInterfaces.js:31:17) at IncomingMessage.EventEmitter.emit (events.js:117:20) at _stream_readable.js:919:16 at process._tickCallback (node.js:419:13)

2017-10-28 08:01:23 [master] chartsDataCollector died, spawning replacement... 2017-10-28 08:01:25 [charts] Started 2017-10-28 08:01:25 [chartsDataCollector] Started ^Croot@vultr:~/forknote-pool#

cycleworm commented 6 years ago

how does your config file of the pool and website look like?

zhiapp-com commented 6 years ago

i am also the same problem,

nodejs problem?

yx79 commented 6 years ago

i restart the VPS, and the error went away. I think maybe needing reboot

kchanqvq commented 6 years ago

Same problem. node v0.10.48 could anybody figure out what's wrong?