colonelwatch / nonceMiner

Casual project implementing hash midstate caching to make a very fast miner for revoxhere's duino-coin
GNU General Public License v3.0
39 stars 13 forks source link

Operation now in progress #21

Closed viktor02 closed 3 years ago

viktor02 commented 3 years ago

Hello again. What can the operation now in progress error mean? The fact is that the miner works on my main pc, but not on my server. Debian 10

local:~/nonceminer/bin# ./nonceMiner -u mendabex -o server.duinocoin.com:2813
Initializing nonceMiner v2.1.2...
Configured with username 'mendabex', identifier '', difficulty 'EXTREME', and 4 thread(s).
Starting threads...

05:10:52 [rprt] Hashrate: 0.00 MH/s, Accepted 0, Rejected 0

05:10:54 [cpu0] Error opening connection: Operation now in progress
05:10:55 [cpu1] Error opening connection: Operation now in progress
05:10:56 [cpu0] Restarted due to an unexpected error
05:10:56 [cpu2] Error opening connection: Operation now in progress
05:10:57 [cpu3] Error opening connection: Operation now in progress
05:10:57 [cpu1] Restarted due to an unexpected error
05:10:58 [ping] Warning pinging master server: Timed out or failed
05:10:58 [cpu2] Restarted due to an unexpected error

Windows 10

PS C:\Users\user\Documents\git\nonceMiner\bin> .\nonceMiner.exe -u mendabex -o server.duinocoin.com:2813
Initializing nonceMiner v2.1.2...
Configured with username 'mendabex', identifier '', difficulty 'EXTREME', and 4 thread(s).
Starting threads...
05:09:22 [cpu0] Connected to server.duinocoin.com:2813 with response: 2.6
05:09:22 [cpu0] New job from server.duinocoin.com with difficulty 1500000
05:09:24 [cpu1] Connected to server.duinocoin.com:2813 with response: 2.6
05:09:24 [cpu2] Connected to server.duinocoin.com:2813 with response: 2.6
05:09:24 [cpu2] New job from server.duinocoin.com with difficulty 1500000
05:09:24 [cpu1] New job from server.duinocoin.com with difficulty 1500000
viktor02 commented 3 years ago

Its maybe problem with ufw firewall, but disabling it gives nothing. Also, server.duinocoin.com does not respond to pings from any of my systems

viktor02 commented 3 years ago

With another system with debian 10 and actived ufw firewall - everything works.

[root@vitka-k bin]$ ./nonceMiner -u mendabex -o server.duinocoin.com:2813
Initializing nonceMiner v2.2.0...
Configured with username 'mendabex', identifier '', difficulty 'EXTREME', and 1 thread(s).
Starting threads...
05:34:16 [cpu0] Connected to server.duinocoin.com:2813 with response: 2.6
05:34:17 [cpu0] New job from server.duinocoin.com with difficulty 1500000
05:34:21 [cpu0] Share accepted, work-time 3.949 s
05:34:21 [cpu0] New job from server.duinocoin.com with difficulty 2636938

05:34:26 [rprt] Hashrate: 2.49 MH/s, Accepted 1, Rejected 0

05:34:36 [rprt] Hashrate: 2.49 MH/s, Accepted 0, Rejected 0

05:34:46 [rprt] Hashrate: 2.49 MH/s, Accepted 0, Rejected 0

^C
[root@vitka-k bin]$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

I also updated to 2.2 and the error remained.

viktor02 commented 3 years ago

Okay, now I am getting an operation now in progress error on the second server and my main machine is also getting server connection errors. I will think that this is a problem on the server.