chainlink
chainlink copied to clipboard
Password Issue
error authenticating keystore: unable to decrypt encrypted key ring: could not decrypt key with given password
This is waht i get once i run this comman d and try to set the password cd ~/.chainlink && docker run -p 6688:6688 -v ~/.chainlink:/chainlink -it --env-file=.env smartcontract/chainlink:1.1.0 local n
Could you please add the whole output of the command, version of the chainlink node you're using, and all of the commands you're running?
I did exavt same mentioned on the run chainlink node doc
Great! But one could always be in a different environment, maybe running some different commands, or something else happens. Can you please reproduce and add as much detail as possible here?
i did on ubuntu all right for sure i tried it 4 times on diff server these are the steps i followed:
curl -sSL https://get.docker.com/ | sh
sudo usermod -aG docker $USER
mkdir ~/.chainlink
echo "ROOT=/chainlink
LOG_LEVEL=debug
ETH_CHAIN_ID=1
CHAINLINK_TLS_PORT=0
SECURE_COOKIES=false
ALLOW_ORIGINS=*" > ~/.chainlink/.env
echo "ETH_URL=infura wss url" >> ~/.chainlink/.env
echo "DATABASE_URL=postgres://url from heroku" >> ~/.chainlink/.env
cd ~/.chainlink && docker run -p 6688:6688 -v ~/.chainlink:/chainlink -it --env-file=.env smartcontract/chainlink:1.1.0 local n
After running the run chainlink node it asks me to set the password and when i set the password and hit enter it says this: error authenticating keystore: unable to decrypt encrypted key ring: could not decrypt key with given password
It sounds like you already have a private key encrypted. Do you have a ~/.chainlink/tempkeys folder with a keystore file in there?
It sounds like your database is also already looking for a private key. I'd recommend starting with a fresh database and deleting the .chainlink folder too (assuming you don't have any money in the node already)
Closing due to lack of activity