Open jiyu3 opened 5 years ago
Related code is here: https://github.com/mably/lncli-web/blob/master/app/lightning.js
Can't see anything wrong there. Probably some access rights missing somewhere.
I had this issue and fixed it by specifying the path directly:
/home/user/.lnd/data/chain/bitcoin/mainnet/admin.macaroon
I edited config/defaults.js as below:
ls ~/.lnd/data/chain/bitcoin/mainnet/admin.macaroon
works, so that file exists.But I failed to run
node server --lndhost=localhost:10009
with that error:I succeed to run
lncli getinfo
, so lnd and lncli are working.My lnd.conf is below:
(I exactly opened port 9999, 9998 and 10009)
Any clue?