Author

Topic: Stratum Mining Proxy problem. (Read 996 times)

donator
Activity: 1055
Merit: 1020
December 19, 2014, 10:20:42 AM
#1
Stratum Mining Proxy runs fine for 15 min to an hour and says accepted shares, works great.

Then I get this error below and it goes to Duplicate shares and never fixes.  I have to restart the proxy to fix it.

2014-12-19 01:15:12,613 ERROR protocol protocol.process_failure # [Failure instance: Traceback: : need more than 0 values to unpack
/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py:614:_doReadOrWrite
/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py:214:doRead
/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py:220:_dataReceived
/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/protocol.py:192:dataReceived
--- ---
/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/protocol.py:238:lineReceived
/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/event_handler.py:7:_handle_event
/home/bo/stratum-mining-proxy/mining_libs/client_service.py:83:handle_event
]
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/protocol.py", line 238, in lineReceived
    result = self.event_handler._handle_event(msg_method, msg_params, connection_ref=self)
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/event_handler.py", line 7, in _handle_event
    return defer.maybeDeferred(wrap_result_object, self.handle_event(msg_method, msg_params, connection_ref))
  File "/home/bo/stratum-mining-proxy/mining_libs/client_service.py", line 83, in handle_event
    (hostname, port, wait) = params[:3]
ValueError: need more than 0 values to unpack
Jump to: