[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"
See original GitHub issueDescribe the bug
I get an error when trying to access lnd via cli:
[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"
To Reproduce the bug
root@btcpay:~/btcpayserver-docker# ./bitcoin-lncli.sh getinfo
Expected behavior show node info
Your BTCPay Environment (please complete the following information):
- BTCPay Server Version: BTCPayServer v1.1.0.0
- Deployment Method: LunaNode
- Browser:
Additional context
https://github.com/lightningnetwork/lnd/issues/5264 https://github.com/lightningnetwork/lnd/issues/5264#issuecomment-831608294
how can I check to see if default RPC listening port has been modified in the config and what RTL and Joule are using for the port + cert ?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:11 (8 by maintainers)
Top GitHub Comments
I see this @rockstardev after checking my logs !!
nrpclisten=lnd_bitcoin:10009 shouldn’t this be ?? nrpclisten=127.0.0.1:10009
LND_EXTRA_ARGS=restlisten=lnd_bitcoin:8080\nrpclisten=127.0.0.1:10008\nrpclisten=lnd_bitcoin:10009\nbitcoin.node=bitcoind\nbitcoind.rpchost=bitcoind:43782\nbitcoind.rpcuser=lnd\nbitcoind.rpcpass=afixedpasswordbecauselndsuckswithcookiefile\nbitcoind.zmqpubrawblock=tcp://bitcoind:28332\nbitcoind.zmqpubrawtx=tcp://bitcoind:28333\nadminmacaroonpath=/data/admin.macaroon\ninvoicemacaroonpath=/data/invoice.macaroon\nreadonlymacaroonpath=/data/readonly.macaroon\ntlsextradomain=lnd_bitcoin\nno-rest-tls=1\nprotocol.wumbo-channels=1\n\ntor.active=1\ntor.socks=tor:9050\n",
Just add rcpserver to it
./bitcoin-lncli.sh --rpcserver lnd_bitcoin:10009 getinfo
I’ll open PR to make adding rpcserver not required.