z-classic / z-nomp

z-nomp is mining pool software for Zcash and Zclassic so you can create internet money in your home!
MIT License
291 stars 436 forks source link

RPC connection problem #236

Closed Coronon closed 6 years ago

Coronon commented 6 years ago

Hi, i have installed everything but now some of the rpc requests from the pool are being blocked.

> z-nomp@0.0.4 start /home/btcgpu/z-nomp-bitcoin-gold
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/node_modules/stratum-pool/node_modules/equihashverify/build/Release/:$PWD/node_modules/equihashverify/build/Release/ node init.js

2017-11-19 17:02:42 [Master]    [CLI] CLI listening on port 17117
2017-11-19 17:02:42 [PPLNT] [bitcoin gold] TimeShare processing setup with redis (127.0.0.1:6379)
2017-11-19 17:02:42 [Master]    [PoolSpawner] Spawned 1 pool(s) on 2 thread(s)
2017-11-19 17:02:44 [Website]   [Server] Website started on 0.0.0.0:8080
2017-11-19 17:02:44 [Website]   [bitcoin gold] Could not dumpprivkey for bitcoin gold {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:8232"}
2017-11-19 17:02:44 [Payments]  [bitcoin gold] bitcoin gold requireShielding: false
2017-11-19 17:02:44 [Payments]  [bitcoin gold] bitcoin gold minConf: 10
2017-11-19 17:02:44 [Payments]  [bitcoin gold] bitcoin gold payments txfee reserve: 0.000005
2017-11-19 17:02:44 [Payments]  [bitcoin gold] bitcoin gold maxBlocksPerPayment: 3
2017-11-19 17:02:44 [Payments]  [bitcoin gold] bitcoin gold PPLNT: false, time period: 0.51
2017-11-19 17:02:44 [Payments]  [bitcoin gold] Error with payment processing daemon {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:8232"}
2017-11-19 17:02:44 [Payments]  [bitcoin gold] Error with payment processing daemon {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:8232"}
2017-11-19 17:02:45 [Switching] [Setup] (Thread 1) Loading last proxy state from redis
2017-11-19 17:02:45 [Pool]  [bitcoin gold] (Thread 1) Share processing setup with redis (127.0.0.1:6379)
2017-11-19 17:02:45 [Pool]  [bitcoin gold] (Thread 1) Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:8232"}
2017-11-19 17:02:45 [Switching] [Setup] (Thread 2) Loading last proxy state from redis
2017-11-19 17:02:45 [Pool]  [bitcoin gold] (Thread 2) Share processing setup with redis (127.0.0.1:6379)
2017-11-19 17:02:45 [Pool]  [bitcoin gold] (Thread 2) Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:8232"}
2017-11-19 17:03:42 [Payments]  [bitcoin gold] Error with RPC call getmininginfo {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:8232"}
2017-11-19 17:04:40 [Payments]  [bitcoin gold] Error with RPC call getmininginfo {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:8232"}
2017-11-19 17:05:38 [Payments]  [bitcoin gold] Error with RPC call getmininginfo {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:8232"}

It always tells me : {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:8232"}

I have checked the port, it should be working, please help

TheComputerGenie commented 6 years ago

See: https://github.com/z-classic/z-nomp/issues/234 https://github.com/z-classic/z-nomp/issues/230