pull down to refresh

I'm setting up a new node with bitcoind and lnd. I'm following ministry of nodes 2022 nodebox guide. Ive done it several times before and have had no issues. This time I am running into an error I cannot solve: unable to create partial chain control: status code: 401, response: ""

This is my bitcoin.conf file:

server=1
txindex=1
daemon=1
rpcport=8332
rpcbind=0.0.0.0
rpcallowip=127.0.0.1
rpcallowip=10.0.0.0/8
rpcallowip=172.0.0.0/8
rpcallowip=192.0.0.0/8
zmqpubrawblock=tcp://0.0.0.0:28332
zmqpubrawtx=tcp://0.0.0.0:28333
zmqpubhashblock=tcp://0.0.0.0:28334
whitelist=127.0.0.1


rpcauth=
rpcuser=
rpcpass=
proxy=127.0.0.1:9050
listen=1
bind=127.0.0.1
onlynet=onion

and the relevant portion of my lnd.conf :

bitcoind.rpcuser=
bitcoind.rpcpass=
bitcoind.zmqpubrawblock=tcp://127.0.0.1:28332
bitcoind.zmqpubrawtx=tcp://127.0.0.1:28333

where rpc user and rpcpass are omitted but match. Ive search around a bit online but can find any direction for how to fix this. Ive tried with lnd version 16.0, 17.0 and 18.0 and bitcoin version 28.0. Thanks for any help.

I see you are running core v28. maybe is not related to your error but worth looking into this https://xcancel.com/roasbeef/status/1842956355516223824

and this one https://bitcoin.stackexchange.com/questions/76417/rpc-call-to-bitcoin-node-on-local-machine-respond-back-with-code-401

Try https://bitcoinsearch.xyz/ when you have specific errors about Bitcoin and LN.

reply

Thank you. I will take a look.

reply

Not a perfect answer but, are you already look into this issues? I know they are old but helps to understand where to look, or use as a guide.

https://github.com/lightningnetwork/lnd/issues/6102 https://github.com/lightningnetwork/lnd/discussions/7374

A guide from 2022 seems old, if you know a little bit of how to use a shell, I like to follow these guides and adapt to my own setup:

https://minibolt.minibolt.info/ https://raspibolt.org/

reply