Skip to content

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

Closed
luke-jr opened this Issue Jan 29, 2012 · 4 comments

2 participants

@luke-jr
luke-jr commented Jan 29, 2012

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)

@luke-jr
luke-jr commented Jan 29, 2012

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

@Diablo-D3
Owner

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

@luke-jr
luke-jr commented Jan 29, 2012

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

@Diablo-D3
Owner

Then Im going to assume I fixed it.

@Diablo-D3 Diablo-D3 closed this Jan 29, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.