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

Socket hang up errors always showed #203

Closed alexunder closed 6 years ago

alexunder commented 6 years ago

I aways got this error, so I can't create the pool with z-nomp and zcashd:

2017-09-23 16:27:23 [Switching] [Setup] (Thread 2) Loading last proxy state from redis
2017-09-23 16:27:23 [Pool]  [zcash] (Thread 2) Share processing setup with redis (127.0.0.1:6379)
2017-09-23 16:27:23 [Pool]  [zcash] (Thread 2) Could not start pool, error with init batch RPC call: {"type":"request error","message":"socket hang up"}
2017-09-23 16:27:23 [Switching] [Setup] (Thread 1) Loading last proxy state from redis
2017-09-23 16:27:23 [Pool]  [zcash] (Thread 1) Share processing setup with redis (127.0.0.1:6379)
2017-09-23 16:27:24 [Pool]  [zcash] (Thread 1) Could not start pool, error with init batch RPC call: {"type":"request error","message":"socket hang up"}
2017-09-23 16:27:24 [Switching] [Setup] (Thread 3) Loading last proxy state from redis
2017-09-23 16:27:24 [Pool]  [zcash] (Thread 3) Share processing setup with redis (127.0.0.1:6379)
2017-09-23 16:27:24 [Switching] [Setup] (Thread 4) Loading last proxy state from redis
2017-09-23 16:27:24 [Pool]  [zcash] (Thread 4) Share processing setup with redis (127.0.0.1:6379

my pool_config/zcash.json is below:

"daemons": [
        {
            "host": "localhost",
            "port": 8233,
            "user": "username",
            "password": "password"
        }
    ],

please help me to tackle it! Thanks!

TheComputerGenie commented 6 years ago

Unless you actively set rpcport to 8233 in your wallet config, try port 8232; 8233 is default peer port.

alexunder commented 6 years ago

Thanks very much! That's my carelessness! Now is ok!