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

Need help to recover blpckchain.info wallet, my wife forgot her password and the brute force with btcrecover is not catching the password

When downloading the blockchain my application is become unusable, is there an issue with my code or am I using the BitcoinJ library incorrectly?

Mistakenly sent BTC from my personal wallet back to one of the exchange wallet addresses that I had received BTC from before - help recovering!