Bitcoin Forum

Bitcoin => Pools => Topic started by: xxzzh on October 28, 2021, 02:35:03 PM



Title: Error while checking bitcoin connection
Post by: xxzzh on October 28, 2021, 02:35:03 PM
I have been trying to setup a local p2pool for the past couple of days with no luck. Just when I think I had finally got everything setup correctly I get this error in the command line.

2021-10-28 22:34:32.430000 p2pool (version 17.0)
2021-10-28 22:34:32.431000
2021-10-28 22:34:32.431000 Testing bitcoind RPC connection to 'http://127.0.0.1:8332/' with username 'xz'...
2021-10-28 22:34:32.439000 > Error while checking Bitcoin connection:
2021-10-28 22:34:32.440000 > Traceback (most recent call last):
2021-10-28 22:34:32.440000 >   File "twisted\internet\defer.pyc", line 542, in _runCallbacks
2021-10-28 22:34:32.440000 >     
2021-10-28 22:34:32.440000 >   File "twisted\internet\defer.pyc", line 1076, in gotResult
2021-10-28 22:34:32.441000 >     
2021-10-28 22:34:32.441000 >   File "twisted\internet\defer.pyc", line 1018, in _inlineCallbacks
2021-10-28 22:34:32.441000 >     
2021-10-28 22:34:32.441000 >   File "twisted\python\failure.pyc", line 350, in throwExceptionIntoGenerator
2021-10-28 22:34:32.441000 >     
2021-10-28 22:34:32.441000 > --- <exception caught here> ---
2021-10-28 22:34:32.442000 >   File "p2pool\util\deferral.pyc", line 41, in f
2021-10-28 22:34:32.442000 >     
2021-10-28 22:34:32.442000 >   File "twisted\internet\defer.pyc", line 1018, in _inlineCallbacks
2021-10-28 22:34:32.443000 >     
2021-10-28 22:34:32.443000 >   File "twisted\python\failure.pyc", line 350, in throwExceptionIntoGenerator
2021-10-28 22:34:32.444000 >     
2021-10-28 22:34:32.444000 >   File "p2pool\bitcoin\helper.pyc", line 13, in check
2021-10-28 22:34:32.445000 >     
2021-10-28 22:34:32.445000 >   File "twisted\internet\defer.pyc", line 1018, in _inlineCallbacks
2021-10-28 22:34:32.445000 >     
2021-10-28 22:34:32.446000 >   File "twisted\python\failure.pyc", line 350, in throwExceptionIntoGenerator
2021-10-28 22:34:32.446000 >     
2021-10-28 22:34:32.446000 >   File "p2pool\bitcoin\networks\bitcoin.pyc", line 16, in <lambda>
2021-10-28 22:34:32.447000 >     
2021-10-28 22:34:32.448000 >   File "twisted\internet\defer.pyc", line 1018, in _inlineCallbacks
2021-10-28 22:34:32.448000 >     
2021-10-28 22:34:32.448000 >   File "twisted\python\failure.pyc", line 350, in throwExceptionIntoGenerator
2021-10-28 22:34:32.449000 >     
2021-10-28 22:34:32.451000 >   File "p2pool\util\jsonrpc.pyc", line 133, in _http_do
2021-10-28 22:34:32.452000 >     
2021-10-28 22:34:32.452000 > p2pool.util.jsonrpc.NarrowError: -32601 Method not found


Title: Re: Error while checking bitcoin connection
Post by: kano on October 28, 2021, 10:48:02 PM
You probably need to read the manual where it tells you that you need to run bitcoin and how to set it up.

Also, as far as I know, p2pool doesn't support recent bitcoin anyway, so you don't want to be mining to an old version of bitcoin that doesn't support the current bitcoin network, and taproot when it activates next month.