Skip to content
This repository was archived by the owner on May 16, 2025. It is now read-only.
This repository was archived by the owner on May 16, 2025. It is now read-only.

Error: could not locate RPC credentials. No authentication cookie could be found #11

@chris-pollard

Description

@chris-pollard

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions