Ethminer: 0.14.0rc6 ; terminate called after throwing an instance of 'Json::LogicError'

Created on 29 Apr 2018  Â·  11Comments  Â·  Source: ethereum-mining/ethminer

Not starting
Ubuntu 16.04

Launch command :
./ethminer -P stratum+tcp://papampi.nv1:[email protected]:20535 -U --api-port -3333

  m  15:21:33|ethminer|  ethminer version 0.14.0rc6
  m  15:21:33|ethminer|  Build: linux / release +git. be77227
 cu  15:21:34|ethminer|  Using grid size 8192 , block size 128
  ℹ  15:21:34|ethminer|  Selected pool europe.ethash-hub.miningpoolhub.com:20535
  m  15:21:34|ethminer|  not-connected
  ℹ  15:21:34|stratum |  Trying 178.79.168.110:20535 ...
  ℹ  15:21:34|stratum |  Connected to europe.ethash-hub.miningpoolhub.com  [178.79.168.110:20535]
  ℹ  15:21:34|stratum |  Spinning up miners...
  ℹ  15:21:34|cuda-0  |  No work. Pause for 3 s.
  ℹ  15:21:34|cuda-1  |  No work. Pause for 3 s.
  ℹ  15:21:34|cuda-2  |  No work. Pause for 3 s.
  ℹ  15:21:34|cuda-3  |  No work. Pause for 3 s.
  ℹ  15:21:34|cuda-4  |  No work. Pause for 3 s.
  ℹ  15:21:34|cuda-5  |  No work. Pause for 3 s.
  ℹ  15:21:34|cuda-6  |  No work. Pause for 3 s.
  ℹ  15:21:34|cuda-7  |  No work. Pause for 3 s.
  ℹ  15:21:34|cuda-8  |  No work. Pause for 3 s.
  ℹ  15:21:34|cuda-9  |  No work. Pause for 3 s.
  ℹ  15:21:34|cuda-10 |  No work. Pause for 3 s.
  ℹ  15:21:34|cuda-11 |  No work. Pause for 3 s.
terminate called after throwing an instance of 'Json::LogicError'
  what():  Value is not convertible to bool.
Aborted
bug committed

All 11 comments

Always ... ALWAYS post the full launch command line and the logs.

Sorry launch command added,
Thats all the log it gave, exits after that.

Try removing password

./ethminer -P stratum+tcp://[email protected]:20535 -U --api-port -3333

Same error without password too

Wonder if it ever worked with any release.
They seem to NOT implement proper response to mining.subscribe

>> {"id": 1, "jsonrpc":"2.0", "method":"mining.subscribe", "params":[]}
<< {"id":1,"result":[[["mining.set_difficulty","deadbeefcafebabe6929000000000000"],["mining.notify","deadbeefcafebabe6929000000000000"]],"6fffece5",4],"error":null}

They should reply with a "result": true"
They also miss "jsonrpc":"2.0" in json message which is mandatory,

Think I wont fix.

From their FAQ page:

Miner

(1) Claymore Dual Miner(by Claymore) "Recommend"
(2) Ethminer fork
(3) Qtminer (by Etherchain)
(4) Eth-stratum-mining-proxy (by Coinotron)
(5) Eth-proxy (by Dwarfpool)

Other miners are inefficient or not maintained anymore. (4),(5) are proxy programs that should be used with (2)program.

You should use eth-proxy to mine with ethminer on miningpoolhub.com

I think I was using miningpoolhub.com some time ago. But I'm ok with not supporting crappy stratum protocol implementations. deadbeefcafebabe6929000000000000?

I have been using MPH with all the previous ethminers and no problem
So how can I use it now?

@papampi Also 0.14.0rc5?

Apparently mph is stuck at the "old" jsonrpc v1 ( http://www.jsonrpc.org/specification_v1 )
I have to assume that older version of EthStratumClient (which incorrectly assumed to be subscribed or authorized without any check) did allow the usage of ethminer with mph. But that implementation was quite unsafe.
https://github.com/ethereum-mining/ethminer/blob/980f1da6bedc40685f9cf61df9ed058d000c0b2d/libpoolprotocols/stratum/EthStratumClient.cpp#L442

Solved in

  • 0.14.rc7
  • 0.15.dev6
Was this page helpful?
0 / 5 - 0 ratings

Related issues

skynet picture skynet  Â·  4Comments

arianaa30 picture arianaa30  Â·  6Comments

chfast picture chfast  Â·  3Comments

gennadiv picture gennadiv  Â·  5Comments

moozzee picture moozzee  Â·  5Comments