jceminer / cn_cpu_miner

Cryptonote CPU Miner
35 stars 23 forks source link

invalid shares and reconnecting problem #2

Open ehsantg opened 6 years ago

ehsantg commented 6 years ago

Hi, I have some connection issues and this cause miner stopped working after 5,6 try to connect (MAX pool connection attempt reached error) but other miners like xmrig reconnecting until miner connect successfully. 04:50:14 | Message from the pool: Invalid share. 04:50:17 | Thread 1 finds a Share, value 1063 04:50:26 | Thread 0 finds a Share, value 1063 04:50:29 | Connection failed: Pool response timeout. 04:50:29 | Connection interrupted, waiting 5s then retry. 04:50:34 | Connecting to mining pool xmr.pool.minergate.com:45700 ... 04:50:34 | Connected to pool. Now logging in... 04:50:46 | Connection failed: Pool response timeout. 04:50:46 | Connection interrupted, waiting 5s then retry. 04:50:51 | Connecting to mining pool xmr.pool.minergate.com:45700 ... 04:50:51 | Connected to pool. Now logging in... 04:51:03 | Connection failed: Pool response timeout. 04:51:03 | Connection interrupted, waiting 5s then retry. 04:51:08 | Connecting to mining pool xmr.pool.minergate.com:45700 ... 04:51:08 | Connected to pool. Now logging in... 04:51:20 | Connection failed: Pool response timeout. 04:51:20 | Connection interrupted, waiting 5s then retry. 04:51:25 | Connecting to mining pool xmr.pool.minergate.com:45700 ... 04:51:25 | Connected to pool. Now logging in... 04:51:37 | Connection failed: Pool response timeout. 04:51:37 | Maximum pool connection attempts reached, give up and quit. 04:51:37 | Pool connection socket closed. also cn_cpu_miner submit some invalid shares which other miners don't.

jceminer commented 6 years ago

Hi, The forever-reconnect is not available on purpose, but you can make it with a .bat

:Mine jce_cn_cpu_miner64 --low ....... goto :Mine

The bad share looks really like a bug, JCE includes hundreds of different assemblies for all combinations of CPU/fork/multihash, very possible one has some bug. Please quote the first lines of JCE log so i can see what algo on what CPU on what pool you use. Just annonymize your wallet.

Thanks

jceminer commented 6 years ago

edit : you were right, the Forever reconnect is a good idea. Will be added in 0.27a

ehsantg commented 6 years ago

pool: xmr.pool.minergate.com:45700 Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40 GHz (1) x64 AES-NI