Author

Topic: [my own pool/cgminer] Help! All work is discarded, nothing accepted or rejected (Read 191 times)

newbie
Activity: 14
Merit: 0
I have downloaded and tried out pooler cpuminer (from https://sourceforge.net/projects/cpuminer/) to see how mining on CPU would turn out, and it seems I'm still getting the same "stratum requested work restart" message...

That message means the pool is working. You haven't been able to mine sha256d with a CPU or GPU for 10 years.
Only high powered ASICS are suitable for sha256d.

You need to do more research. 

You're right. I'm still very new to this. Thanks for all your help! Smiley
full member
Activity: 1424
Merit: 225
I have downloaded and tried out pooler cpuminer (from https://sourceforge.net/projects/cpuminer/) to see how mining on CPU would turn out, and it seems I'm still getting the same "stratum requested work restart" message...

That message means the pool is working. You haven't been able to mine sha256d with a CPU or GPU for 10 years.
Only high powered ASICS are suitable for sha256d.

You need to do more research. 
newbie
Activity: 14
Merit: 0
I have downloaded and tried out pooler cpuminer (from https://sourceforge.net/projects/cpuminer/) to see how mining on CPU would turn out, and it seems I'm still getting the same "stratum requested work restart" message...

Code:
C:\Users\user\Downloads\pooler-cpuminer-2.5.1-win64>minerd --algo=sha256d --url=stratum+tcp://141.95.105.118:5973 --user=tc1qvrfu892afqskldtnl99n96c2ps7mj7ynutgtf5 --pass=c=TLC
[2022-02-17 12:06:31] Starting Stratum on stratum+tcp://141.95.105.118:5973
[2022-02-17 12:06:31] 8 miner threads started, using 'sha256d' algorithm.
[2022-02-17 12:06:31] Binding thread 3 to cpu 3
[2022-02-17 12:06:31] Binding thread 4 to cpu 4
[2022-02-17 12:06:31] Binding thread 6 to cpu 6
[2022-02-17 12:06:31] Binding thread 0 to cpu 0
[2022-02-17 12:06:31] Binding thread 2 to cpu 2
[2022-02-17 12:06:31] Binding thread 7 to cpu 7
[2022-02-17 12:06:31] Binding thread 5 to cpu 5
[2022-02-17 12:06:31] Binding thread 1 to cpu 1
[2022-02-17 12:06:31] Stratum requested work restart
[2022-02-17 12:06:32] thread 3: 2097152 hashes, 5519 khash/s
[2022-02-17 12:06:32] thread 4: 2097152 hashes, 5519 khash/s
[2022-02-17 12:06:32] thread 6: 2097152 hashes, 5323 khash/s
[2022-02-17 12:06:32] thread 7: 2097152 hashes, 5491 khash/s
[2022-02-17 12:06:32] thread 2: 2097152 hashes, 5365 khash/s
[2022-02-17 12:06:32] thread 0: 2097152 hashes, 5338 khash/s
[2022-02-17 12:06:32] thread 1: 2097152 hashes, 5311 khash/s
[2022-02-17 12:06:32] thread 5: 2097152 hashes, 4925 khash/s
[2022-02-17 12:06:50] Stratum requested work restart
[2022-02-17 12:06:50] thread 1: 81863520 hashes, 4639 khash/s
[2022-02-17 12:06:50] thread 7: 93683568 hashes, 5305 khash/s
[2022-02-17 12:06:50] thread 0: 93030784 hashes, 5271 khash/s
[2022-02-17 12:06:50] thread 6: 82344448 hashes, 4662 khash/s
[2022-02-17 12:06:50] thread 5: 81582312 hashes, 4631 khash/s
[2022-02-17 12:06:50] thread 3: 93460024 hashes, 5287 khash/s
[2022-02-17 12:06:50] thread 2: 81392144 hashes, 4611 khash/s
[2022-02-17 12:06:50] thread 4: 93837032 hashes, 5309 khash/s
[2022-02-17 12:07:11] Stratum requested work restart
[2022-02-17 12:07:11] thread 5: 79442392 hashes, 3762 khash/s
[2022-02-17 12:07:11] thread 1: 79582040 hashes, 3769 khash/s
[2022-02-17 12:07:11] thread 4: 88454024 hashes, 4190 khash/s
[2022-02-17 12:07:11] thread 6: 81980368 hashes, 3882 khash/s
[2022-02-17 12:07:11] thread 2: 77862920 hashes, 3688 khash/s
[2022-02-17 12:07:11] thread 3: 88607184 hashes, 4197 khash/s
[2022-02-17 12:07:11] thread 0: 88863448 hashes, 4208 khash/s
[2022-02-17 12:07:11] thread 7: 86143784 hashes, 4079 khash/s
[2022-02-17 12:07:32] Stratum requested work restart
[2022-02-17 12:07:32] thread 4: 93401312 hashes, 4430 khash/s
[2022-02-17 12:07:32] thread 0: 87391584 hashes, 4145 khash/s
[2022-02-17 12:07:32] thread 3: 93331808 hashes, 4427 khash/s
[2022-02-17 12:07:32] thread 6: 88300768 hashes, 4188 khash/s
[2022-02-17 12:07:32] thread 2: 86389704 hashes, 4097 khash/s
[2022-02-17 12:07:32] thread 5: 84374400 hashes, 4001 khash/s
[2022-02-17 12:07:32] thread 1: 83927312 hashes, 3980 khash/s
[2022-02-17 12:07:32] thread 7: 93129536 hashes, 4418 khash/s
newbie
Activity: 14
Merit: 0
This sub forum is usually for pool issues, your pool seems to be working fine. The problem you're having
might be better discussed in the mining section.

The problem is no devices. You need  something to mine with, a GPU, an ASIC, even a CPU depending
on the algorithm. Cgminer is usually used for ASICs. If you have one connected is isn't being detected.

Code:

[2022-02-16 14:03:51] Started cgminer 4.9.0                                                                             
[2022-02-16 14:03:53] No devices detected!                                                                             
[2022-02-16 14:03:53] Waiting for USB hotplug devices or press q to quit                                               

You also need to post more info like your hardware setup and the coin, algorithm you're trying to mine, and of course
the device you are intending to mine with.

Thank you so much for your reply!  Smiley

I'm trying to mine Techcoin (https://techcoin.info), which uses sha256d algo. I'm not using ASIC, only my own laptop (GeForce GTX 1050 GPU + Intel Core i7-8550U CPU). I tried mining with minerd (as it's described in the Techcoin website, just with my pool's URL as the 'url' value in the minerd.json config file) but it would give me the 'HTTP request failed: Received HTTP/0.9 when not allowed' error:

Code:
[2022-02-17 11:43:11] 2 miner threads started, using 'sha256d' algorithm.
[2022-02-17 11:43:11] HTTP request failed: Received HTTP/0.9 when not allowed
[2022-02-17 11:43:11] json_rpc_call failed, retry after 30 seconds
full member
Activity: 1424
Merit: 225
This sub forum is usually for pool issues, your pool seems to be working fine. The problem you're having
might be better discussed in the mining section.

The problem is no devices. You need  something to mine with, a GPU, an ASIC, even a CPU depending
on the algorithm. Cgminer is usually used for ASICs. If you have one connected is isn't being detected.

Code:

[2022-02-16 14:03:51] Started cgminer 4.9.0                                                                             
[2022-02-16 14:03:53] No devices detected!                                                                             
[2022-02-16 14:03:53] Waiting for USB hotplug devices or press q to quit                                               

You also need to post more info like your hardware setup and the coin, algorithm you're trying to mine, and of course
the device you are intending to mine with.
newbie
Activity: 14
Merit: 0
Hi everyone,

I'm new to crypto and I've just set up my own mining pool and installed + configured the daemon. Now when I'm trying to mine on my mining pool using cgminer 4.9.0, I keep getting the "Stratum from pool 0 requested work restart" message:

Code:

cgminer version 4.9.0 - Started: [2022-02-16 14:03:54]
--------------------------------------------------------------------------------
(5s):0.000 (1m):0.000 (5m):0.000 (15m):0.000 (avg):0.000h/s
A:0  R:0  HW:0  WU:0.0/m
Connected to 141.95.105.118 diff 512 with stratum as user tc1qvrfu892afqskldtnl99n96c2ps7mj7ynutgtf5
Block: 9abcd6ae...  Diff:3.35M  Started: [14:03:54]  Best share: 0                                                   
 --------------------------------------------------------------------------------                                       
[U]SB management [P]ool management [S]ettings [D]isplay options [Q]uit                                               
 --------------------------------------------------------------------------------                                       
[2022-02-16 14:03:51] Started cgminer 4.9.0                                                                             
[2022-02-16 14:03:53] No devices detected!                                                                             
[2022-02-16 14:03:53] Waiting for USB hotplug devices or press q to quit                                               
[2022-02-16 14:03:53] Probing for an alive pool                                                                         
[2022-02-16 14:03:54] Pool 0 difficulty changed to 512
[2022-02-16 14:03:54] Network diff set to 3.35M
[2022-02-16 14:04:05] Stratum from pool 0 requested work restart
[2022-02-16 14:04:26] Stratum from pool 0 requested work restart
[2022-02-16 14:04:47] Stratum from pool 0 requested work restart
[2022-02-16 14:05:08] Stratum from pool 0 requested work restart
[2022-02-16 14:05:29] Stratum from pool 0 requested work restart
[2022-02-16 14:05:50] Stratum from pool 0 requested work restart
[2022-02-16 14:06:12] Stratum from pool 0 requested work restart

When I stop mining, I get the runtime statistics, which look like this:

Code:
Summary of runtime statistics:

 [2022-02-16 14:09:22] Started at [2022-02-16 14:03:54]
 [2022-02-16 14:09:22] Pool: stratum+tcp://141.95.105.118:5973
 [2022-02-16 14:09:22] Runtime: 0 hrs : 5 mins : 27 secs
 [2022-02-16 14:09:22] Average hashrate: 0.0 Mhash/s
 [2022-02-16 14:09:22] Solved blocks: 0
 [2022-02-16 14:09:22] Best share difficulty: 0
 [2022-02-16 14:09:22] Share submissions: 0
 [2022-02-16 14:09:22] Accepted shares: 0
 [2022-02-16 14:09:22] Rejected shares: 0
 [2022-02-16 14:09:22] Accepted difficulty shares: 0
 [2022-02-16 14:09:22] Rejected difficulty shares: 0
 [2022-02-16 14:09:22] Hardware errors: 0
 [2022-02-16 14:09:22] Utility (accepted shares / min): 0.00/min
 [2022-02-16 14:09:22] Work Utility (diff1 shares solved / min): 0.00/min

 [2022-02-16 14:09:22] Stale submissions discarded due to new blocks: 0
 [2022-02-16 14:09:22] Unable to get work from server occasions: 0
 [2022-02-16 14:09:22] Work items generated locally: 212
 [2022-02-16 14:09:22] Submitting work remotely delay occasions: 0
 [2022-02-16 14:09:22] New blocks detected on network: 1

 [2022-02-16 14:09:22] Summary of per device statistics:

 [2022-02-16 14:09:22]
 [2022-02-16 14:09:22] Stratum connection to pool 0 interrupted
 [2022-02-16 14:09:22] Pool 0 stratum+tcp://141.95.105.118:5973 not responding!

I tried googling around but it I didn't seem to find anything helpful. Most answers I found are about reducing the number of rejected/discarded shares but don't address the cases where no shares are accepted at all, which is the problem I'm facing. Is this a problem with the mining pool or the miner? How do I fix this?

Thanks a ton in advance! Smiley

Sincerely,
newlymintedcryptolover
Jump to: