ruimarinho / bitcoin-core

A modern Bitcoin Core REST and RPC client.
477 stars 186 forks source link

Unhandled rejection Error: no auth mechanism defined #81

Closed aryeharmon closed 5 years ago

aryeharmon commented 5 years ago

unable to make any requests, getting error: Unhandled rejection Error: no auth mechanism defined

pedrobranco commented 5 years ago

Please confirm that you have defined a rpcusername and rpcpassword on the bitcoind, and also pass that as username and password in the bitcoin-core client.

Example available here.

isghe commented 5 years ago

it's rpcuser, not rpcusername

pedrobranco commented 5 years ago

it's rpcuser, not rpcusername

True, my mistake 👍

@aryeharmon did you solved it?

I'm closing this since it seems related to bitcoind configuration.