-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble creating macaroon file (lncli create+rpc error) #3115
Comments
@zhongtan You have
|
My bad, I was supposed to run lnd in another session while creating the wallet. I included the credentials in my bitcoin.conf and ran the lnd command again with all the flags. I got a different error instead:
I tried deleting the entire LND folder and started over but still got the same error above. Any ideas on what might be wrong? |
I ended up not using an existing cipher seed and let lnd generate a new seed for me. Not getting the error anymore, thanks! |
This sounds like you're not using a proper cipher seed? |
I meet the samiliar question. I can use lncli create and lncli unlock, but when I use other commands. It feeds back the error. |
@gnipping when lnd first starts up, only the |
@gnipping @cfromknecht I have the same problem on my rasperberry pi.
can you help to resolve this? |
@OpenSystemCode from your log it looks like The other option is to give lnd more time to start. Perhaps your |
Hey @guggero thanks for you reply. It's RaspiBolt Software. I waited a few minutes until the message After this message the cmd |
so am I. Have you resoved it? |
Did you find the solution for this? I have the same issue now after upgrading RaspiBlitz from 1.6.1 to 1.6.2. |
Were you able to resolve this? |
I have a similar problem after beeing unable to remove macaroon files and upgrading on a RaspiBolt: https://github.com/Stadicus/RaspiBolt/issues/734
But I have to say that I used their recommendations of how to upgrade and I am unsure if this is up-to-date because LND seems to just do it with a docker now. |
how to let lnd generate a new seed? I meet the same error as you.
|
Background
I am working through the tutorial to build from source but got stuck at running LND using the btcd backend. I ran this command and got the prompt to create or unlock a wallet:
lnd --bitcoin.active --bitcoin.testnet --debuglevel=debug --bitcoin.node=bitcoind --bitcoind.rpcuser=<username> --bitcoind.rpcpass=<password> --bitcoind.zmqpubrawblock=tcp://127.0.0.1:28332 --bitcoind.zmqpubrawtx=tcp://127.0.0.1:28333 --externalip=<my computer's ip>
I tried running
lncli create
but I keep getting this RPC error:[lncli] rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:10009: connect: connection refused"
I include a new seed mnemonic every time I try to create a new wallet. I think I must have missed out on some configurations but I'm not entirely sure where they are.
I looked at this similar issue and tried downgrading RPC to version 1.17.0 but still ran into the same error.
Your environment
version of
lnd
lnd v0.6.1-beta
which operating system
MacOS Mojave 10.14.5
version of
btcd
,bitcoind
, or other backendbtcd version 0.12.0-beta
version of
go
go1.12.4 darwin/amd64
bitcoin.conf
testnet=1
server=1
daemon=1
zmqpubrawblock=tcp://127.0.0.1:28332
zmqpubrawtx=tcp://127.0.0.1:28333
Expected behaviour
Macaroon file should be created
Actual behaviour
All subConns in TransientFailure
The text was updated successfully, but these errors were encountered: