I keep getting "ERROR: Cannot connect to the server. 7". Specifically:
+-------------------------------------------------+
| EWBF's Zcash CUDA miner. 0.3.3b |
+-------------------------------------------------+
INFO: Server: zec-us-west1.nanopool.org:16666
INFO: Solver Auto.
INFO: Devices: All.
INFO: Temperature limit: 90
INFO: Api: Disabled
---------------------------------------------------
ERROR: Cannot connect to the server. 7
Running on Ubuntu 16.04.
I've tried nanopool, flypool, EU and US stratum servers for both, backup and primary ports for both, etc. etc.
I've run tcpdump and I see it connecting and sending the tcp packet (I see the json payload) but no response comes back.
I can even telnet to that hostname:port combination.
Any ideas??
How are you launching EWBF; and what arguments are you using?
./miner --server zec-us-west1.nanopool.org --port 16666 --user zec_wallet.worker --pass x
I've replaced my real wallet address for privacy, but that's essentially it.
that appears correct, I would try nanopools other port: 6666 also I don't think it matters but change --pass to : z
./miner --server zec-us-west1.nanopool.org --port 6666 --user zec_wallet.worker --pass z --templimit 80
+-------------------------------------------------+
| EWBF's Zcash CUDA miner. 0.3.3b |
+-------------------------------------------------+
INFO: Server: zec-us-west1.nanopool.org:6666
INFO: Solver Auto.
INFO: Devices: All.
INFO: Temperature limit: 80
INFO: Api: Disabled
---------------------------------------------------
ERROR: Cannot connect to the server. 7
Yeah, I don't get it. I've tried 6666, 16666 and eu/us hosts, and 3333 for flypool etc, always that error. And i've tried x and z for pass.
I tried claymore, but it only supports AMD for zec. I used claymore for eth just fine on nanopool and ethermine. It's something about ewbf I feel like.
I use it with Ubuntu 16.04 no problem. This is how I launch it with more arguments and an absolute path to the client:
'/home/m1/zec/miner' --eexit 3 --fee 0 --pec --server zec-us-east1.nanopool.org --user zecADDR.worker --pass z --port 6666;
I mine under Ubuntu 16.04 because its faster than Windows 10 (the primary gfx card used for display seems ununsable under Windows 10).
Anyway, I booted into Win 10 today, downloaded the miner and tried it, but same.
My mine.cmd has:
miner --eexit 3 --fee 0 --pec --server zec-us-west1.nanopool.org --port 6666 --user zec_wallet.worker --pass x --templimit 80
And when I run it, same shit:
+-------------------------------------------------+
| EWBF's Zcash CUDA miner. 0.3.3b |
+-------------------------------------------------+
INFO: Server: zec-us-west1.nanopool.org:6666
INFO: Solver Auto.
INFO: Devices: All.
INFO: Temperature limit: 80
INFO: Api: Disabled
---------------------------------------------------
ERROR: Cannot connect to the server. 7
D:\Zcash\Zec.miner.0.3.3b>
So it's not even a Linux or Ubuntu thing. Comcast? IPv6? What could it be :/
--use
r zec_wallet.worker
There is 1 too many space in the user param but I dont know if it matters or not.
I am at work so I cant test it for you.
I would like to thank everyone who tried to help me with this problem! You took the time to help a random stranger on the interwebs.
I was determined to fix this today, and spent some time with wireshark, seeing what claymore's eth miner does talking to nanopool vs EWBF's CUDA Zcash miner.
The json seemed malformed at first:
{"id":1,"method":"mining.subscribe","params":["",null,"zec-us-west1.nanopool.org","6666"]}
But apparently that's correct. I tried telnetting to the port and pasting the json, but nothing. I tried from a server out on the internet, and I got a response!
I then noticed in wireshark they were TCP retransmissions. I then immediately came to the realisation that it might be my router?? Turns out it was :/
I have an ASUS RT-AC88U running Merlin firmware. I thought I had all the stupid protection crap off, but I had this on, and it was blocking packets to nanopool to register for zcash mining (but not ether, go figure.)
The actual option that I had to turn off was:
Vulnerability Protection
Resolves common exploits within the router configuration. Protects the system and applications from exploits and vulnerabilities with Trend Micro Virtual Patch.
This will likely affect most Asus routers, such as the RT-AC3100, RT-AC5300, etc, not just my RT-AC88U.
Now you know.