error : incorrect rpcuser or rpcpassword (authorization failed)

error : incorrect rpcuser or rpcpassword (authorization failed)

I started bitcoind -datadir=/mnt/btc but everytime I try to use bitcoin-cli it says :

error : incorrect rpcuser or rpcpassword (authorization failed)

I can't find bitcoin.conf (neither in the default datadir ~/.bitcoin neither in /mnt/btc).

Any idea how I can generate one and if it will help the original problem ?

https://ift.tt/2J0fS0A

Comments

Popular posts from this blog

sendrawtransaction and txn-mempool-conflict

couldn't connect to server: EOF reached (code 1)