Ethminer: Version 16.1 rc 0 failover not worked

Created on 5 Oct 2018  路  16Comments  路  Source: ethereum-mining/ethminer

Desktop (please complete the following information):

  • Operating System: Windows 10
  • Hardware RX570
  • Ethminer Version 16.1 rc 0

The problem: when main pool is not worked, ethminer not switch to failover pool (failover work wery well if run as main pool).

Logs of problem:

error

bug

Most helpful comment

@XhmikosR yes, the problem exists in master too. I created a PR with a possible fix for the problem.

All 16 comments

@gituser-4 could you please report a log in english ?
I cant' read the error messages

You can repeat this bug whis this bat file:

@echo off

title EtherDig PPS

cd /d "%~dp0"

:ethminer

timeout /t 20 && echo.

ethminer.exe --exit --farm-recheck 2000 -G -P stratum2+tcp://[email protected]:4444 -P stratum+ssl://0x9ad1f252689cf813fdca9795b900bff265606b09.Fail570:[email protected]:5555 --tstop 80 --tstart 45 --api-port 3333 --failover-timeout 15 --cl-local-work 256 --cl-global-work 65536   

echo Restart at %date% %time:~0,8% >> log_%date%.txt

goto ethminer

@chfast and @gituser-4
There is no bug going on here as ethminer is working correctly according to the CLI directives entered.

Reading the log it fails and tries to reconnect to etherdig.net for 3 times before selecting failover eu1.ethermine.org. And this is what the default value (3) for directive --farm-retries dictates: ethminer tries to reconnect to same pool for the number of times specified in --farm-retries.

If you want have a quicker switch-over please specify a lower value for --farm-retries.
(always read ethminer --help fully)

One last note : do not set --farm-recheck as in stratum mode it does nothing.

But it not connecting to failover pool!
Why not bug?

And I can not see 3 times connect to failover eu1.ethermine.org!

@gituser-4: please be patient, @AndreaLanfranchi will answer your question.

I am specify --farm-retries 1 and BUG IS REPEATED!
Ethminer try 1 times connect to etherdig.net and not connect to failover!
Are you try my bat-file?
Are you read what I write?

ethmine is your failover and etherdig is your main.

it tries to etherdig and then tries ethermine. But at least in your log you exit ethminer before it tries to connect. It only says selected.

Also since the last message after the ethermine message is in cyrillic we cant read what it says.

You're too impatient. Yes I tried your parameters and they DO WORK AS EXPECTED.

Follow this. Ethminer starts and picks the first pool in list (the PRIMARY)

Selected pool etherdig.net:4444

at this stage it tries to connect but it gets error and shows

Disconnected from [190.115.26.22:4444]

It repeats this cycle 3 times (as specified by default value of --farm-retries).

After that it shows

Selected pool eu1.ethermine.org:5555

here it begins to connect to the failover but you have stopped the log so you do not see any connection.

In cyrillic output for command:

timeout /t 20

Ethminer write "selected pool eu1.ethermine.org:5555" and EXIT!
NOT CONNECT!

"here it begins to connect to the failover but you have stopped the log"

I not stopped log! You do not understand.
Ethminer EXIT! And log stopped too

m 13:02:40 main ethminer 0.16.1 m 13:02:40 main Build: windows/release i 13:02:40 main Found suitable OpenCL device [GeForce GTX 1080] with 8,000 GB of GPU memory i 13:02:40 main Configured pool etherdig.net:4444 i 13:02:40 main Configured pool eu1.ethermine.org:5555 i 13:02:40 main Api server listening on port 3333. i 13:02:40 main Selected pool etherdig.net:4444 X 13:02:42 stratum Error 190.115.26.22:4444 [ No connection could be made because the target machine actively refused it ] X 13:02:42 stratum No more IP addresses to try for host: etherdig.net i 13:02:42 main Disconnected from [190.115.26.22:4444] i 13:02:42 main Selected pool etherdig.net:4444 X 13:02:43 stratum Error 190.115.26.22:4444 [ No connection could be made because the target machine actively refused it ] X 13:02:43 stratum No more IP addresses to try for host: etherdig.net i 13:02:43 main Disconnected from [190.115.26.22:4444] i 13:02:44 main Selected pool etherdig.net:4444 m 13:02:45 main not-connected X 13:02:45 stratum Error 190.115.26.22:4444 [ No connection could be made because the target machine actively refused it ] X 13:02:45 stratum No more IP addresses to try for host: etherdig.net i 13:02:45 main Disconnected from [190.115.26.22:4444] i 13:02:46 main Selected pool eu1.ethermine.org:5555
i can reproduce the problem on windows.

Compiling release/0.16 branch right now. to see whats up

Its somewhat related to ssl. If i change port and to non ssl it works as expected.
So this could be a workaround for @gituser-4

Ok, thank you!

But if I use this failover pool whith ssl as main pool, it work wery well.

@smurfy: does the issue happen with the master branch? Because I too hit this, I just always assumed it's an issue with the pool or my connection for some reason, and never dug into it more.

@XhmikosR yes, the problem exists in master too. I created a PR with a possible fix for the problem.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RJBetancor picture RJBetancor  路  5Comments

ibmua picture ibmua  路  6Comments

unknown2this picture unknown2this  路  4Comments

arianaa30 picture arianaa30  路  6Comments

bartocc picture bartocc  路  3Comments