简体   繁体   中英

Ethereum Error: authentication needed: password or unlock

0|server | (node:99208) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 53): Error: authentication needed: password or unlock

This is happening randomly, sometimes the api call pass through successfully, and sometimes nodejs app logs show this. I unlocked the account multiple times using multiple ways giving me "true" boulean as follows:

personal.unlockAccount(eth.coinbase, "cDxxxxxxxxKaYZ", 300)

geth --exec "personal.unlockAccount(eth.accounts[0], 'cDb xxxxxxxKaYZ', 1000)" attach

it keep on randomly showing the same error authentican needed with no clue!

PS I am using azure ethereum consortium network with Geth and MetaMask

我发现了。这是负载平衡服务器中的一个问题,因为我的体系结构由多个服务器组成。这就是为什么某些请求成功而其他请求却不成功的原因!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM