Looking for a little guidance on eloipool setup.
I am fairly comfortable with ubuntu... though a bit new to python.
Anyway... I am running ubuntu 12.04 LTS server, and I think I have a stupid configuration error somewhere. This is a pretty vanilla ubuntu 12.04 server with python3, libpython3.2, python3-dev, and build-essentials installed via apt.
I followed the top post and after all is said and done, I see in my eloipool.log the following message in a fairly tight loop:
2013-03-30 17:22:48,844 merkleMaker CRITICAL Traceback (most recent call last):
File "/usr/lib/python3.2/json/decoder.py", line 367, in raw_decode
obj, end = self.scan_once(s, idx)
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mining/bitcoin/build/eloipool/merklemaker.py", line 692, in run
self.merkleMaker_I()
File "/mining/bitcoin/build/eloipool/merklemaker.py", line 682, in merkleMaker_I
self.merkleMaker_II()
File "/mining/bitcoin/build/eloipool/merklemaker.py", line 648, in merkleMaker_II
return self._updateMerkleTree()
File "/mining/bitcoin/build/eloipool/merklemaker.py", line 548, in _updateMerkleTree
self._updateMerkleTree_I()
File "/mining/bitcoin/build/eloipool/merklemaker.py", line 512, in _updateMerkleTree_I
r = self._updateMerkleTree_fromTS(TS)
File "/mining/bitcoin/build/eloipool/merklemaker.py", line 477, in _updateMerkleTree_fromTS
MP = self._CallGBT(TS)
File "/mining/bitcoin/build/eloipool/merklemaker.py", line 327, in _CallGBT
MP = access.getblocktemplate(self.GBTReq)
File "/mining/bitcoin/build/python-bitcoinrpc/jsonrpc/authproxy.py", line 107, in __call__
resp = json.loads(resp, parse_float=decimal.Decimal)
File "/usr/lib/python3.2/json/__init__.py", line 322, in loads
return cls(**kw).decode(s)
File "/usr/lib/python3.2/json/decoder.py", line 351, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.2/json/decoder.py", line 369, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
I went and edited /usr/lib/python3.2/json/decoder.py so the raise would print "s" as well (i.e. raise ValueError("No JSON object could be decoded"+s) ) to get visibility on the problem message and it turns out to be a 401 error:
"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
Error
401 Unauthorized.
Any thoughts on what I could be doing wrong? This is a fresh ubuntu 12.04LTS with the bitcoin.org ppa based bitcoind. I felt it was safer to use the packaged 0.8.1 bitcoind rather than build my own... but I am not afraid if needed to build it if needed.
I checked my rpc username and password in my bitcoin.conf and config.py to make sure they match.
I thought it might be an access thing... but... I don't see anything suspicious in /var/log.
Any thoughts would be appreciated... or any pointers. The forum search didn't turn up anything so I thought I would post.
Thanks -