nicehash / nheqminer

Equihash miner for NiceHash
https://www.nicehash.com
MIT License
769 stars 583 forks source link

Miner just stops after trying to connect. #197

Open Theo1996 opened 7 years ago

Theo1996 commented 7 years ago

When i run any of my miners cusa,opencl or cpu the moment they try to connect e.g:

Setting log level to 0
[21:19:42][0x00001f00] Using SSE2: YES
[21:19:42][0x00001f00] Using AVX: YES
[21:19:42][0x00001f00] Using AVX2: NO
[21:19:42][0x00001df4] stratum | Starting miner
[21:19:42][0x00001df4] miner#0 | Priority set to -2
[21:19:42][0x00001468] miner#0 | Starting thread #0 (CPU-XENONCAT-AVX)
[21:19:42][0x00001af8] miner#1 | Starting thread #1 (CPU-XENONCAT-AVX)
[21:19:42][0x00001df4] miner#1 | Priority set to -2
[21:19:42][0x00001df4] stratum | Connecting to stratum server equihash.eu.nicehash.com:3357

Sometimes when i successfully connect i get this with my cpu miner:

Setting log level to 0
[21:30:07][0x00001674] Using SSE2: YES
[21:30:07][0x00001674] Using AVX: YES
[21:30:07][0x00001674] Using AVX2: NO
[21:30:07][0x00001a64] stratum | Starting miner
[21:30:07][0x00001a64] miner#0 | Priority set to -2
[21:30:07][0x00001c44] miner#0 | Starting thread #0 (CPU-XENONCAT-AVX)
[21:30:07][0x00001a64] miner#1 | Priority set to -2
[21:30:07][0x00001814] miner#1 | Starting thread #1 (CPU-XENONCAT-AVX)
[21:30:07][0x00001a64] stratum | Connecting to stratum server equihash.usa.nicehash.com:3357
[21:30:07][0x00001a64] stratum | Connected!
[21:30:07][0x00001a64] stratum | Sending: {"id":1,"method":"mining.subscribe","params":["equihashminer/0.4b",
null,"equihash.usa.nicehash.com","3357"]}

[21:30:07][0x00001a64] stratum | Received: {"id":1,"error":null,"result":[null,"a1f24a93f3"]}
[21:30:07][0x00001a64] stratum | Subscribed to stratum server
[21:30:07][0x00001a64] miner | Extranonce is a1f24a93f3
[21:30:07][0x00001a64] stratum | Sending: {"id":2,"method":"mining.authorize","params":["14jWh68zmRaUXkUSeA8Kh
RzJsHM3wzGW5P.worker1","x"]}

[21:30:08][0x00001a64] stratum | Received: {"id":2,"result":true,"error":null}
[21:30:08][0x00001a64] stratum | Authorized worker 14jWh68zmRaUXkUSeA8KhRzJsHM3wzGW5P.worker1
[21:30:08][0x00001a64] stratum | Sending: {"id":3,"method":"mining.extranonce.subscribe","params":[]}

And then it just stops.No freezes only the flashing underscore.Sometimes but very rarely it will connect for a moment and then stop. screenshot

ramonhugo commented 7 years ago

Are you sure you are not messing with the parameters?

Theo1996 commented 7 years ago

the -p parameter is missing but the from what i seen in the example commands equihash doesn't need a password only the zcash pool needs one.I will check it again.Also i have a problem with the 64 & 32 bit cuda miner telling me my cuda version is not sufficient and i have a gtx 460.Also only the win64 builds work for me.