I’ve been running zcashd -daemon for a while but I’m getting some output that makes me think something isn’t configured correctly:
zcash-cli getinfo shows I have 0 connections, and also has this error:
“WARNING: check your network connection, 0 blocks received in the last 4 hours (96 expected)”
I’m running a fresh Ubuntu install in a VirtualBox VM, but it seems to have internet access.
And my zcash.conf looks ok?
addnode=mainnet.z.cash
rpcuser=********
rpcpassword=‘head -c 32 /dev/urandom |base64’
gen=1
ayleph
October 28, 2016, 8:01pm
2
You shouldn’t have the literal string ‘head -c 32 /dev/urandom |base64’ as your rpcpassword. It was suggesting that you use the command provided to echo the output of ‘head -c 32 /dev/urandom |base64’ into your zcash.conf file. It should give you a 32-character random string.
ahhh, I was wondering about that. I figured it was going to get parsed out of that file. thanks i’ll retry.
hmmm I corrected that issue, but I still see the same network error so I assume the miner is still not working correctly =(
Elmit
October 28, 2016, 8:41pm
5
I am at the same point ;-(
zcash.conf is:
addnode=mainnet.z.cash
rpcuser=zcashrpc
rpcpassword=*******************
gen=1
genproclimit=4
equihashsolver=tromp
./src/zcash-cli getinfo
{
“version” : 1000028,
“protocolversion” : 170002,
“walletversion” : 60000,
“balance” : 0.00000000,
“blocks” : 0,
“timeoffset” : 0,
“connections” : 0,
“proxy” : “”,
“difficulty” : 1.00000000,
“testnet” : false,
“keypoololdest” : 1477686308,
“keypoolsize” : 101,
“paytxfee” : 0.00000000,
“relayfee” : 0.00005000,
“errors” : “This is a pre-release test build - use at your own risk - do not use for mining or merchant applications”
}
I cannot see which ports I need to open for that machine from the router.
I don’t understand the error line above.
ayleph
October 28, 2016, 8:46pm
6
Your “version” is outdated. You should see “Version” : 1000050. Make sure you’ve completely followed the instructions. If you were using rc4 or earlier versions, you need to make sure that you fetch the latest from git and update to v1.0.0. You also may need to nuke your previous ~/.zcash directory to remove any remnants of testnet.
Elmit
October 28, 2016, 9:12pm
7
I tried again:
git clone GitHub - zcash/zcash: Zcash - Internet Money
cd zcash/
git checkout v1.0.0-rc4
./zcutil/fetch-params.sh
./zcutil/build.sh -j$(nproc)
I get the same version number
ayleph
October 28, 2016, 9:15pm
8
Elmit:
git checkout v1.0.0-rc4
You don’t want rc4. You want v1.0.0. Like this.
Elmit
October 28, 2016, 9:34pm
9
I found that in the meantime, but it did only change the version number to *50 but still no connections.
I forward ports 8232/tcp and 8233/tcp to the server.
What do I miss?
Elmit
October 28, 2016, 9:35pm
10
Sorry, took a while, … working now!!!
Elmit what did you do to get it working besides forwarding ports? I have been using the correct version but I still have the error.
Elmit
October 29, 2016, 1:50am
12
I guess the trick was to open the ports also on the machine:
sudo ufw allow 8232/tcp
sudo ufw allow 8233/tcp
stop and restarted the daemon, then restarted the wallet again.
I’m getting the same error.
zcash.conf file reads
addnode=mainnet.z.cash
rpcuser=username
rpcpassword=FJxwBtA4ZZlzmB2aMP0aLpuI0Dgmj+e4sFchYd/phsQ=
gen=1
genproclimit=2
after entering getinfo command
{
“version” : 1000050,
“protocolversion” : 170002,
“walletversion” : 60000,
“balance” : 0.00000000,
“blocks” : 0,
“timeoffset” : 0,
“connections” : 0,
“proxy” : “”,
“difficulty” : 1.00000000,
“testnet” : false,
“keypoololdest” : 1477712229,
“keypoolsize” : 102,
“paytxfee” : 0.00000000,
“relayfee” : 0.00005000,
“errors” : “WARNING: check your network connection, 0 blocks received in the last 4 hours (96 expected)”
}
Thanks
ayleph
October 29, 2016, 6:14am
14
Please don’t post your password for everyone to see.
Password changed. Now is the miner having problems?
Do you have any wallet and pool suggestions?! Por favor