neth-proxy icon indicating copy to clipboard operation
neth-proxy copied to clipboard

ethminer 0.16.0.dev3 seems not working with neth-proxy

Open StefanOberhumer opened this issue 6 years ago • 12 comments

It seems the latest ethminer does not work with your proxy !

...
 i 12:08:51 main     Selected pool A.B.C.D:4444
 i 12:08:51 stratum  Stratum mode detected : STRATUM
 i 12:08:51 stratum  Subscribed !
 i 12:08:51 stratum  Job: #e7aaa8cd… A.B.C.D [A.B.C.D:4444]
 i 12:08:51 stratum  Pool difficulty: 4.00K megahash
 i 12:08:51 stratum  New epoch 206
 i 12:08:56 stratum  Job: #476c01df… A.B.C.D [A.B.C.D:4444]
 m 12:09:01 ethminer.out Speed 0.00 Mh/s [A0] Time: 00:00
 i 12:09:08 stratum  Job: #d84b5371… A.B.C.D [A.B.C.D:4444]
 m 12:09:11 ethminer.out Speed 0.00 Mh/s [A0] Time: 00:00
 i 12:09:18 stratum  Job: #a76b4a5a… A.B.C.D [A.B.C.D:4444]
 m 12:09:21 ethminer.out Speed 0.00 Mh/s [A0] Time: 00:00
 m 12:09:31 ethminer.out Speed 0.00 Mh/s [A0] Time: 00:00
...

StefanOberhumer avatar Aug 22 '18 10:08 StefanOberhumer

Confirmed

AndreaLanfranchi avatar Aug 22 '18 10:08 AndreaLanfranchi

I must withdraw my confirmation.

If ethminer receives job (which apparently does looking at the log) it should start mining. neth-proxy can't do much more than pushing jobs.

As I read it's detecting new epoch maybe you should allow some more time for ethminer to generate full DAG. At least 5 to 20 seconds (depending on GPU speeds).

AndreaLanfranchi avatar Aug 22 '18 13:08 AndreaLanfranchi

It seems to make a difference if I change the connection via API or if I start ethminer directly with the proxy.

Launching ethminer with -P stratum+tcp://${NETH_PROXY_IP}:{NETH_PROXY_PORT}/${HOSTNAME} causes ethminer to not start mining. (As you see it's not spinning up the workers to generate the DAG)

If I launch ethminer with -P stratum+tcp://${ETH_WALLET}.${HOSTNAME}@eu1.ethermine.org:4444 and add and activate the connection to stratum+tcp://${NETH_PROXY_IP}:{NETH_PROXY_PORT}/${HOSTNAME} via API it works and the miner keeps mining using the proxy.

StefanOberhumer avatar Aug 22 '18 21:08 StefanOberhumer

Got it ... actually there is a problem on both sides (ethminer and neth-proxy).

  1. neth-proxy : while in simple stratum mode it does not reply to a mining.authorize request
  2. ethminer : changing connection via API actually does not issue a farm.stop() while it should (it actually does on disconnect/reconnect due to failures or timeouts)

Will work on both.

AndreaLanfranchi avatar Aug 23 '18 07:08 AndreaLanfranchi

:+1: THX - had no time to analyze (Try to use my spare time for the ethminer watchdog)

StefanOberhumer avatar Aug 23 '18 07:08 StefanOberhumer

Any progress? Or workaround? ethminer still not starting (tested with 0.17.0-alpha)

AuthVersion avatar Oct 23 '18 11:10 AuthVersion

@AuthVersion sorry for being late on this.

neth-proxy is undergoing a huge refactoring and actually sharing my spare time among ethminer and neth-proxy.

Hopefully in a week will be ok.

AndreaLanfranchi avatar Oct 24 '18 08:10 AndreaLanfranchi

Great news, thanks!

AuthVersion avatar Oct 26 '18 06:10 AuthVersion

Hello, how is refactoring going?

AuthVersion avatar Nov 15 '18 14:11 AuthVersion

Working hard. Actually got busy with the EthereumStratum/2.0.0

AndreaLanfranchi avatar Nov 15 '18 16:11 AndreaLanfranchi

Any time frame estimation for refactoring?

AuthVersion avatar Jan 11 '19 11:01 AuthVersion

@AuthVersion We still wating:D

muhmad-f-k avatar Dec 06 '20 11:12 muhmad-f-k