You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
I am a newb to bitcoindevkit and its also my first time using docker but I've come across a roadblock with the authentication cookie not being recognised when starting up regtest. I followed along with the blog post (https://bitcoindevkit.org/blog/2021/06/using-bdk-to-create-bip157-spv-wallet-aka-neutrino/) and managed to spin up docker container. But when I try to run the command "docker exec -it bdk-box /root/bitcoin-cli -regtest getnetworkinfo" it gives the following error:
"error: Could not locate RPC credentials. No authentication cookie could be found, and RPC password is not set. See -rpcpassword and -stdinrpcpass. Configuration file: (/root/.bitcoin/bitcoin.conf)"
Any suggestions? Thank you.
The text was updated successfully, but these errors were encountered:
Looks like we need to update the blog post.. but for now you can work around this issue by adding the container bitcoind username (admin) and password (passw) like this:
Hi there,
I am a newb to bitcoindevkit and its also my first time using docker but I've come across a roadblock with the authentication cookie not being recognised when starting up regtest. I followed along with the blog post (https://bitcoindevkit.org/blog/2021/06/using-bdk-to-create-bip157-spv-wallet-aka-neutrino/) and managed to spin up docker container. But when I try to run the command "docker exec -it bdk-box /root/bitcoin-cli -regtest getnetworkinfo" it gives the following error:
"error: Could not locate RPC credentials. No authentication cookie could be found, and RPC password is not set. See -rpcpassword and -stdinrpcpass. Configuration file: (/root/.bitcoin/bitcoin.conf)"
Any suggestions? Thank you.
The text was updated successfully, but these errors were encountered: