Skip to content
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.

reconnect problem #1962

Open
robertmakrytski opened this issue Feb 22, 2020 · 3 comments
Open

reconnect problem #1962

robertmakrytski opened this issue Feb 22, 2020 · 3 comments

Comments

@robertmakrytski
Copy link

i 09:33:54 ethminer  << {"id":0,"jsonrpc":"2.0","result":["0x5f4a0e8f58426fb116cbd67dc24dc53b2c8e06218a9fd3c789558301548c39fc","0x7a29ad2fad0d4df2a2bb7e12b5563dcff021fcd1470796545cc694c8a76a07b8","0x0000000112e0be826d694b2e62d01511f12a6061fbaec8bc02357593e70e52ba","0x9170b0"]}
лют 22 09:33:54 rig2-TB250-BTC ethminer_run.sh[14658]:  i 09:33:54 ethminer Job: 5f4a0e8f… block 9531568 eu1.ethermine.org [172.65.207.106:4444]
лют 22 09:33:56 rig2-TB250-BTC ethminer_run.sh[14658]:  i 09:33:56 ethminer Connection remotely closed by eu1.ethermine.org
лют 22 09:33:56 rig2-TB250-BTC ethminer_run.sh[14658]:  i 09:33:56 ethminer Disconnected from eu1.ethermine.org [172.65.207.106:4444]
лют 22 09:33:56 rig2-TB250-BTC ethminer_run.sh[14658]:  i 09:33:56 ethminer No connection. Suspend mining ...
лют 22 09:33:56 rig2-TB250-BTC ethminer_run.sh[14658]:  i 09:33:56 ethminer No more connections to try. Exiting...
лют 22 09:33:56 rig2-TB250-BTC ethminer_run.sh[14658]:  i 09:33:56 ethminer Shutting down miners...

1)Why doesn't it reconnect?
2)last version from git

@AndreaLanfranchi
Copy link
Collaborator

By default it tries to reconnect to the same disconnecting pool at most 3 times.
You have two options to work around this:

  • either you define two identical connections in your command line arguments for start
  • or you simply set the --farm-retries command line argument to 99999

@Arcdar
Copy link

Arcdar commented Feb 10, 2021

By default it tries to reconnect to the same disconnecting pool at most 3 times.
You have two options to work around this:

  • either you define two identical connections in your command line arguments for start
  • or you simply set the --farm-retries command line argument to 99999

Hi,
could you please let me know how to set the "farm retries command line" ? I tried to add this to my ethminer bat but it states "unexpected command" ? I added it after the "-p" and before the connection info.

Also, if you say "define two identical connections" do you mean to have the "-p (adress)" part twice in the same row or have a second/third/etc. line below with the complete same info (ethminer.exe -p ......) which should, technically, restart the connection, too if number one terminates - right?

I'm sorry, I'm no programmer - I am a program manager, but not in IT related fields and my times where I had to use command lines a lot was back in dos-times before windows 3.11 (and a little bit in win98 as it really helped to know your way around CMD to make life easier back then :D ) and I can't even seem to make the --help-ext work right now (I don't know how to add the con after this so it shows the extended help section for the connection part when I'm in CMD or power-shell. It shows the --help perfectly well, but --help-ext not, as I seem to not understand how to add the "con" part after this command :( )

@brealorg
Copy link

By default it tries to reconnect to the same disconnecting pool at most 3 times.
You have two options to work around this:

  • either you define two identical connections in your command line arguments for start
  • or you simply set the --farm-retries command line argument to 99999

Hi,
could you please let me know how to set the "farm retries command line" ? I tried to add this to my ethminer bat but it states "unexpected command" ? I added it after the "-p" and before the connection info.

Also, if you say "define two identical connections" do you mean to have the "-p (adress)" part twice in the same row or have a second/third/etc. line below with the complete same info (ethminer.exe -p ......) which should, technically, restart the connection, too if number one terminates - right?

I'm sorry, I'm no programmer - I am a program manager, but not in IT related fields and my times where I had to use command lines a lot was back in dos-times before windows 3.11 (and a little bit in win98 as it really helped to know your way around CMD to make life easier back then :D ) and I can't even seem to make the --help-ext work right now (I don't know how to add the con after this so it shows the extended help section for the connection part when I'm in CMD or power-shell. It shows the --help perfectly well, but --help-ext not, as I seem to not understand how to add the "con" part after this command :( )

./ethminer -P stratum://0xd8B2b*******@eu1.ethpool.org:3333 --farm-retries 99999
That worked for me :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants