I'm trying to set up a p2pool server. When I run p2pool (using version from git) I get this:
Error getting work from bitcoind:
2013-05-08 16:04:22.096934 > Traceback (most recent call last):
2013-05-08 16:04:22.096992 > File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 575, in _runCallbacks
2013-05-08 16:04:22.097046 > current.result = callback(current.result, *args, **kw)
2013-05-08 16:04:22.097098 > File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1126, in gotResult
2013-05-08 16:04:22.097151 > _inlineCallbacks(r, g, deferred)
2013-05-08 16:04:22.097201 > File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1068, in _inlineCallbacks
2013-05-08 16:04:22.097254 > result = result.throwExceptionIntoGenerator(g)
2013-05-08 16:04:22.097304 > File "/usr/local/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
2013-05-08 16:04:22.097356 > return g.throw(self.type, self.value, self.tb)
2013-05-08 16:04:22.097406 > --- <exception caught here> ---
2013-05-08 16:04:22.097456 > File "/home/p2pool/p2pool/p2pool/util/deferral.py", line 41, in f
2013-05-08 16:04:22.097506 > result = yield func(*args, **kwargs)
2013-05-08 16:04:22.097556 > File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1068, in _inlineCallbacks
2013-05-08 16:04:22.097610 > result = result.throwExceptionIntoGenerator(g)
2013-05-08 16:04:22.097660 > File "/usr/local/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
2013-05-08 16:04:22.097713 > return g.throw(self.type, self.value, self.tb)
2013-05-08 16:04:22.097763 > File "/home/p2pool/p2pool/p2pool/bitcoin/helper.py", line 36, in getwork
2013-05-08 16:04:22.097814 > work = yield go()
2013-05-08 16:04:22.097863 > File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1068, in _inlineCallbacks
2013-05-08 16:04:22.097915 > result = result.throwExceptionIntoGenerator(g)
2013-05-08 16:04:22.097965 > File "/usr/local/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
2013-05-08 16:04:22.098017 > return g.throw(self.type, self.value, self.tb)
2013-05-08 16:04:22.098066 > File "/home/p2pool/p2pool/p2pool/util/jsonrpc.py", line 133, in _http_do
2013-05-08 16:04:22.098117 > raise Error_for_code(resp['error']['code'])(resp['error']['message'], resp['error'].get('data', None))
2013-05-08 16:04:22.098168 > p2pool.util.jsonrpc.NarrowError: -10 Bitcoin is downloading blocks...
I noticed, port 8332 is only available on ipv6. Is this the problem?
# netstat -lptu
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:8333 *:* LISTEN 6459/bitcoind
tcp6 0 0 [::]:8332 [::]:* LISTEN 6459/bitcoind
tcp6 0 0 [::]:8333 [::]:* LISTEN 6459/bitcoind