JayDDee / cpuminer-opt

Optimized multi algo CPU miner
Other
775 stars 545 forks source link

stratum_recv_line failed #39

Closed chabgood closed 7 years ago

chabgood commented 7 years ago

When I do GPU mining it does not this, only CPU:

[2017-10-22 18:07:58] stratum_recv_line failed [2017-10-22 18:07:58] Stratum connection interrupted [2017-10-22 18:07:58] Stratum difficulty set to 512 [2017-10-22 18:07:58] Stratum difficulty set to 128 (1.00000) [2017-10-22 18:07:58] Stratum difficulty set to 512 (4.00000) [2017-10-22 18:10:58] Stratum difficulty set to 256 [2017-10-22 18:12:21] Accepted 1/1 (100%), 185.89 MH, 7259.75 kH/s [2017-10-22 18:13:58] Stratum difficulty set to 128 [2017-10-22 18:18:38] Accepted 2/2 (100%), 64.78 MH, 7270.72 kH/s [2017-10-22 18:20:19] Stratum difficulty set to 128 [2017-10-22 18:22:19] Stratum difficulty set to 128 [2017-10-22 18:25:01] Stratum difficulty set to 128 [2017-10-22 18:27:58] stratum_recv_line failed [2017-10-22 18:27:58] Stratum connection interrupted [2017-10-22 18:27:59] Stratum difficulty set to 512 [2017-10-22 18:27:59] Stratum difficulty set to 128 (1.00000) [2017-10-22 18:27:59] Stratum difficulty set to 512 (4.00000) [2017-10-22 18:28:00] Stratum difficulty set to 512 [2017-10-22 18:30:58] Stratum difficulty set to 256 [2017-10-22 18:33:58] Stratum difficulty set to 128 [2017-10-22 18:37:58] stratum_recv_line failed [2017-10-22 18:37:58] Stratum connection interrupted [2017-10-22 18:37:59] Stratum difficulty set to 512 [2017-10-22 18:37:59] Stratum difficulty set to 128 (1.00000) [2017-10-22 18:37:59] Stratum difficulty set to 512 (4.00000) [2017-10-22 18:40:59] Stratum difficulty set to 256 [2017-10-22 18:43:59] Stratum difficulty set to 128 [2017-10-22 18:47:40] Accepted 3/3 (100%), 416.93 MH, 7260.40 kH/s [2017-10-22 18:50:33] Stratum difficulty set to 128 [2017-10-22 18:51:10] Stratum difficulty set to 128 [2017-10-22 18:55:24] Stratum difficulty set to 128 [2017-10-22 18:57:59] stratum_recv_line failed [2017-10-22 18:57:59] Stratum connection interrupted [2017-10-22 18:57:59] Stratum difficulty set to 512 [2017-10-22 18:57:59] Stratum difficulty set to 128 (1.00000) [2017-10-22 18:57:59] Stratum difficulty set to 512 (4.00000) [2017-10-22 19:00:59] Stratum difficulty set to 256 [2017-10-22 19:03:59] Stratum difficulty set to 128 [2017-10-22 19:07:59] stratum_recv_line failed [2017-10-22 19:07:59] Stratum connection interrupted [2017-10-22 19:07:59] Stratum difficulty set to 512 [2017-10-22 19:07:59] Stratum difficulty set to 128 (1.00000) [2017-10-22 19:07:59] Stratum difficulty set to 512 (4.00000) [2017-10-22 19:10:59] Stratum difficulty set to 256 [2017-10-22 19:13:59] Stratum difficulty set to 128 [2017-10-22 19:15:42] Accepted 4/4 (100%), 292.09 MH, 7263.02 kH/s [2017-10-22 19:21:38] Accepted 5/5 (100%), 227.37 MH, 7264.20 kH/s [2017-10-22 19:37:59] stratum_recv_line failed [2017-10-22 19:37:59] Stratum connection interrupted [2017-10-22 19:38:00] Stratum difficulty set to 512 [2017-10-22 19:38:00] Stratum difficulty set to 128 (1.00000) [2017-10-22 19:38:00] Stratum difficulty set to 512 (4.00000) [2017-10-22 19:38:18] Stratum difficulty set to 512 [2017-10-22 19:39:32] Accepted 6/6 (100%), 164.64 MH, 7259.54 kH/s [2017-10-22 19:40:59] Stratum difficulty set to 256 [2017-10-22 19:43:59] Stratum difficulty set to 128 [2017-10-22 19:44:06] Stratum difficulty set to 128****

JayDDee commented 7 years ago

That is a pool or networking problem.

chabgood commented 7 years ago

If that is true why does it not do it on the gpu? Same exact stratum.

chabgood commented 7 years ago

I just copied and pasted the stratum from my GPU to this CPU and it still errors out. I NEVER get this error GPU mining. Are you sure you are checking correctly?

bitcoinvsalts commented 6 years ago

I am experiencing the same issue.

My command is:

./cpuminer -a cryptonight -o stratum+tcp://cryptonight.usa.nicehash.com:3355 -u 35p2upCSNYur1UFoCZMZCwwFHjP79xfKtu -p x

results:

[2018-03-15 15:25:29] stratum_recv_line failed
[2018-03-15 15:25:29] ...retry after 10 seconds

any idea what's wrong?

cofaxgames commented 6 years ago

[2018-03-15 15:25:29] stratum_recv_line failed [2018-03-15 15:25:29] ...retry after 10 seconds

the same thing happens to me, I have tried many pools and always the same

mooleshacat commented 4 years ago

That error is ignorable read this thread: https://github.com/pooler/cpuminer/issues/124

That error is because your miner is not submitting enough shares before the connection times out.

Each pool has it's own timeout setting, and they can vary. I would just let your miner run on vardiff and let the pool server work it out.

If you are really concerned about this, set a static diff so that your miner sends a share at least every minute so the connection doesn't time out. The only drawback to this issue is that your miner has to start vardiff correction all over again. If this bothers you set a static diff as previously suggested.

What you should be concerned with is if the miner says "booooo" then you have a failure.

Flopi04LP commented 3 years ago

Yeah I have the same problem :(