JayDDee / cpuminer-opt

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

Keep getting stratum_recv_line failed on startup #298

Closed interestingLSY closed 3 years ago

interestingLSY commented 3 years ago

I keep getting stratum_recv_line failed when startup.

log:

> 
> cpuminer-avx.exe -a yespowerr16 -o stratum+tcp://yenten-pool.info:63368   -u YVBxdxwPKJrduKCizWK6GRNqosMjPnQKNe --debug

         **********  cpuminer-opt 3.15.6  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AVX512, SHA and VAES extensions by JayDDee.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT

CPU:       Intel(R) Xeon(R) CPU E5-2667 v2 @ 3.30GHz
SW built on Feb 12 2021 with GCC 9.3.0
CPU features:  AVX     AES
SW features:   AVX     AES
Algo features: SSE2   SHA

Starting miner with SSE2...

[2021-03-01 15:19:27] Creating stratum thread
[2021-03-01 15:19:27] Stratum connect yenten-pool.info:63368
[2021-03-01 15:19:27] Miner thread priority 0 (nice 19)
[2021-03-01 15:19:27] Binding thread 0 to cpu 0.
[2021-03-01 15:19:27] Binding thread 1 to cpu 1.
[2021-03-01 15:19:27] 3 of 3 miner threads started using 'yespowerr16' algorithm
[2021-03-01 15:19:27] Binding thread 2 to cpu 2.
[2021-03-01 15:19:37] stratum_recv_line failed
[2021-03-01 15:19:37] ...retry after 10 seconds
[2021-03-01 15:19:57] stratum_recv_line failed
[2021-03-01 15:19:57] ...retry after 10 seconds
[2021-03-01 15:19:57] stratum_recv_line failed
[2021-03-01 15:19:57] ...retry after 10 seconds
[2021-03-01 15:19:57] stratum_recv_line failed
[2021-03-01 15:19:57] ...retry after 10 seconds
[2021-03-01 15:19:57] stratum_recv_line failed
[2021-03-01 15:19:57] ...retry after 10 seconds
[2021-03-01 15:19:57] stratum_recv_line failed
[2021-03-01 15:19:57] ...retry after 10 seconds
[2021-03-01 15:19:57] stratum_recv_line failed
[2021-03-01 15:19:57] ...retry after 10 seconds

There is no other message.

I can ping yenten-pool.info, the same for other pools.

I'm using windows server 2016.

Thank you. Sorry for my poor English.

JayDDee commented 3 years ago

What do you mean the same for other pools? Is that about pinging or errors?

The miner is failing to connect to the stratum server, but there should be 10 seconds between retries.

If you have the same problem with all pools it looks like you have a networking issue, possibly firewall related, possibly intentionally blocking mining.

Update:

The problem is the system. The CPU can support 16 threads but the miner only sees 3. This looks like some virtualized system which probably means you aren't the administrator and you are doing something the administrator doesn't want you to do.

JayDDee commented 3 years ago

I'm closing this, it's not an issue with the miner.