Post
Topic
Board Mining support
Topic OP
P2POOL/Twisted Error on Miner Login
by
pwalker0863
on 25/02/2015, 02:18:40 UTC
Would appreciate whatever info could be provided.  I am running p2pool on a Fedora 21 server, and I have built p2pool per the instructions and have started it performing bitcoin mining and when my miner (Antminer S5) tries logging in, this is the error I get.  Can anyone lend a hand??  Thanks in advance!!


015-02-24 21:07:16.968106 > Squelched JSON error:
2015-02-24 21:07:16.968312 > Traceback (most recent call last):
2015-02-24 21:07:16.968395 >   File "/usr/lib64/python2.7/site-packages/twisted/protocols/basic.py", line 454, in dataReceived
2015-02-24 21:07:16.968472 >     self.lineReceived(line)
2015-02-24 21:07:16.968543 >   File "/home/miner/p2pool/p2pool/util/jsonrpc.py", line 164, in lineReceived
2015-02-24 21:07:16.968613 >     _handle(line, self, response_handler=self._matcher.got_response).addCallback(lambda line2: self.sendLine(line2) if line2 is not None else None)
2015-02-24 21:07:16.968689 >   File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 1237, in unwindGenerator
2015-02-24 21:07:16.968760 >     return _inlineCallbacks(None, gen, Deferred())
2015-02-24 21:07:16.968830 >   File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 1099, in _inlineCallbacks
2015-02-24 21:07:16.968902 >     result = g.send(result)
2015-02-24 21:07:16.968970 > --- ---
2015-02-24 21:07:16.969038 >   File "/home/miner/p2pool/p2pool/util/jsonrpc.py", line 85, in _handle
2015-02-24 21:07:16.969123 >     result = yield method_meth(*list(preargs) + list(params))
2015-02-24 21:07:16.969193 >   File "/home/miner/p2pool/p2pool/bitcoin/stratum.py", line 36, in rpc_authorize
2015-02-24 21:07:16.969263 >     if self._authentication(username, password, ''):
2015-02-24 21:07:16.969330 >   File "/home/miner/p2pool/p2pool/bitcoin/stratum.py", line 45, in _authentication
2015-02-24 21:07:16.969398 >     userWorker = config.dbService.checkAuthentication(username, password, ip)
2015-02-24 21:07:16.969488 > exceptions.AttributeError: 'dict' object has no attribute 'checkAuthentication'
2015-02-24 21:07:22.026620 > Squelched JSON error:
2015-02-24 21:07:22.026826 > Traceback (most recent call last):
2015-02-24 21:07:22.026908 >   File "/usr/lib64/python2.7/site-packages/twisted/protocols/basic.py", line 454, in dataReceived
2015-02-24 21:07:22.026981 >     self.lineReceived(line)
2015-02-24 21:07:22.027054 >   File "/home/miner/p2pool/p2pool/util/jsonrpc.py", line 164, in lineReceived
2015-02-24 21:07:22.027148 >     _handle(line, self, response_handler=self._matcher.got_response).addCallback(lambda line2: self.sendLine(line2) if line2 is not None else None)
2015-02-24 21:07:22.027225 >   File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 1237, in unwindGenerator
2015-02-24 21:07:22.027295 >     return _inlineCallbacks(None, gen, Deferred())
2015-02-24 21:07:22.027363 >   File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 1099, in _inlineCallbacks
2015-02-24 21:07:22.027434 >     result = g.send(result)
2015-02-24 21:07:22.027503 > --- ---
2015-02-24 21:07:22.027570 >   File "/home/miner/p2pool/p2pool/util/jsonrpc.py", line 85, in _handle
2015-02-24 21:07:22.027637 >     result = yield method_meth(*list(preargs) + list(params))
2015-02-24 21:07:22.027706 >   File "/home/miner/p2pool/p2pool/bitcoin/stratum.py", line 36, in rpc_authorize
2015-02-24 21:07:22.027775 >     if self._authentication(username, password, ''):
2015-02-24 21:07:22.027842 >   File "/home/miner/p2pool/p2pool/bitcoin/stratum.py", line 45, in _authentication
2015-02-24 21:07:22.027910 >     userWorker = config.dbService.checkAuthentication(username, password, ip)
2015-02-24 21:07:22.027977 > exceptions.AttributeError: 'dict' object has no attribute 'checkAuthentication'
2015-02-24 21:07:23.502433 Peer sent entire transaction 96d17a86cc1d91501f89d3d657c768fc79b080fb0629f83ed859d3d8e5a9cf91 that was already received
2015-02-24 21:07:27.093284 > Squelched JSON error:
2015-02-24 21:07:27.094539 > Traceback (most recent call last):
2015-02-24 21:07:27.094713 >   File "/usr/lib64/python2.7/site-packages/twisted/protocols/basic.py", line 454, in dataReceived
2015-02-24 21:07:27.094793 >     self.lineReceived(line)
2015-02-24 21:07:27.094866 >   File "/home/miner/p2pool/p2pool/util/jsonrpc.py", line 164, in lineReceived
2015-02-24 21:07:27.094940 >     _handle(line, self, response_handler=self._matcher.got_response).addCallback(lambda line2: self.sendLine(line2) if line2 is not None else None)
2015-02-24 21:07:27.095019 >   File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 1237, in unwindGenerator
2015-02-24 21:07:27.095117 >     return _inlineCallbacks(None, gen, Deferred())
2015-02-24 21:07:27.095186 >   File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 1099, in _inlineCallbacks
2015-02-24 21:07:27.095261 >     result = g.send(result)
2015-02-24 21:07:27.095326 > --- ---
2015-02-24 21:07:27.095421 >   File "/home/miner/p2pool/p2pool/util/jsonrpc.py", line 85, in _handle
2015-02-24 21:07:27.095497 >     result = yield method_meth(*list(preargs) + list(params))
2015-02-24 21:07:27.095565 >   File "/home/miner/p2pool/p2pool/bitcoin/stratum.py", line 36, in rpc_authorize
2015-02-24 21:07:27.095636 >     if self._authentication(username, password, ''):
2015-02-24 21:07:27.095703 >   File "/home/miner/p2pool/p2pool/bitcoin/stratum.py", line 45, in _authentication
2015-02-24 21:07:27.095773 >     userWorker = config.dbService.checkAuthentication(username, password, ip)
2015-02-24 21:07:27.095839 > exceptions.AttributeError: 'dict' object has no attribute 'checkAuthentication'
2015-02-24 21:07:28.838734 P2Pool: 17563 shares in chain (10223 verified/17568 total) Peers: 6 (0 incoming)
2015-02-24 21:07:28.838921  Local: 0H/s in last 0.0 seconds Local dead on arrival: Huh Expected time to share: Huh
2015-02-24 21:07:28.838979  Shares: 0 (0 orphan, 0 dead) Stale rate: Huh Efficiency: Huh Current payout: 0.0000 BTC
2015-02-24 21:07:28.839041  Pool: 1277TH/s Stale rate: 10.4% Expected time to block: 1.8 days
2015-02-24 21:07:32.150554 > Squelched JSON error:
2015-02-24 21:07:32.150719 > Traceback (most recent call last):
2015-02-24 21:07:32.150767 >   File "/usr/lib64/python2.7/site-packages/twisted/protocols/basic.py", line 454, in dataReceived
2015-02-24 21:07:32.150811 >     self.lineReceived(line)
2015-02-24 21:07:32.150848 >   File "/home/miner/p2pool/p2pool/util/jsonrpc.py", line 164, in lineReceived
2015-02-24 21:07:32.150886 >     _handle(line, self, response_handler=self._matcher.got_response).addCallback(lambda line2: self.sendLine(line2) if line2 is not None else None)
2015-02-24 21:07:32.150927 >   File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 1237, in unwindGenerator
2015-02-24 21:07:32.150968 >     return _inlineCallbacks(None, gen, Deferred())
2015-02-24 21:07:32.151005 >   File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 1099, in _inlineCallbacks
2015-02-24 21:07:32.151043 >     result = g.send(result)
2015-02-24 21:07:32.151108 > --- ---
2015-02-24 21:07:32.151146 >   File "/home/miner/p2pool/p2pool/util/jsonrpc.py", line 85, in _handle
2015-02-24 21:07:32.151183 >     result = yield method_meth(*list(preargs) + list(params))
2015-02-24 21:07:32.151223 >   File "/home/miner/p2pool/p2pool/bitcoin/stratum.py", line 36, in rpc_authorize
2015-02-24 21:07:32.151259 >     if self._authentication(username, password, ''):
2015-02-24 21:07:32.151295 >   File "/home/miner/p2pool/p2pool/bitcoin/stratum.py", line 45, in _authentication
2015-02-24 21:07:32.151330 >     userWorker = config.dbService.checkAuthentication(username, password, ip)