I am having issues when starting pushpoold, pushpoold will only connect to bitcoind when the rpc port is set at 8335, however when I set it to 8335 in my server.json Pushpoold won't initialize and doesn't report any errors with ./pushpoold -E -F -D2
Server.Json
# network ports
"listen" : [
# binary protocol (default), port 8342
{ "port" : 8342 },
# HTTP JSON-RPC protocol, port 8341
{ "port" : 8341, "protocol" : "http-json" },
# HTTP JSON-RPC protocol, port 8344,
# with trusted proxy appserver.example.com forwarding
# requests to us
{ "port" : 8332, "protocol" : "http-json",
"proxy" : "xxx.xxx.x.xxx" },
# binary protocol, localhost-only port 8338
{ "host" : "127.0.0.1", "port" : 8338, "protocol" : "binary" }
],
# database settings
"database" : {
"engine" : "mysql",
"host" : "127.0.0.1",
"port" : 3306,
"name" : "miningfarm",
"username" : "xxxx",
"password" : "xxxx",
"sharelog" : true,
"stmt.pwdb":"SELECT `password` FROM `pool_worker` WHERE `username` = ?",
"stmt.sharelog":"INSERT INTO shares (rem_host, username, our_result, upstream_result, reason, solution, time) VALUES (?, ?, ?, ?, ?, ?, UNIX_TIMESTAMP())"
},
# cache settings
#"memcached" : {
# "servers" : [
# { "host" : "127.0.0.1", "port" : 11211 }
# ]
#},
#"pid" : "/tmp/pushpoold.pid",
# overrides local hostname detection
"forcehost" : "localhost.localdomain",
"log.requests" : "/tmp/request.log",
"log.shares" : "/tmp/shares.log",
# the server assumes longpolling (w/ SIGUSR1 called for each blk)
"longpoll.disable" : false,
# length of time to cache username/password credentials, in seconds
"auth.cred_cache.expire" : 75,
# RPC settings | Notice how this ISN'T port number 8332 this is becuase the same port number should not becuase inconjunction with the JSON RPC port other wise you'll get 500 errors
"rpc.url" : "http://xxx.xxx.x.xxx:8335/",
"rpc.user" : "Username",
"rpc.pass" : "5774",
# rewrite returned 'target' to difficulty-1?
"rpc.target.rewrite" : true
}
blkmond.conf
port=8335
pid=tmp/pushpoold.pid
bitcoin.conf
rpcuser=username
rpcpassword=password
rpcport=8335
rpcconnect=http://xxx.xxx.x.xxx/