Diablo-D3/DiabloMiner

Mining halts if longpoll response contains a non-object JSON reply

Closed this issue · 4 comments

Specifically, a bug in Eloipool caused miners to occasionally get a '1' response. DM then stopped mining completely:

Exception in thread "DiabloMiner SendWorkAsync for generous.mining.eligius.st" java.lang.ClassCastException: org.codehaus.jackson.node.IntNode cannot be cast to org.codehaus.jackson.node.ObjectNode
at com.diablominer.DiabloMiner.DiabloMiner$NetworkState.doJSONRPC(DiabloMiner.java:876)
at com.diablominer.DiabloMiner.DiabloMiner$NetworkState$SendWorkAsync.run(DiabloMiner.java:1095)
at java.lang.Thread.run(Thread.java:636)

Note, I've fixed Eloipool, but DM probably shouldn't blow up if this happens.

Have you checked the newest DM I committed like a day or two that specifically addressed this issue?

Nope, no Java nor GPUs. Just doing my duty to report things. If you've fixed it, feel free to close.

Then Im going to assume I fixed it.