charge-lnd
charge-lnd copied to clipboard
Debug connection issue?
I am getting below error when trying to run charge lnd:
Could not connect to gRPC endpoint
ERROR: 1
So, far I have tried:
- Telnet to the grcp host and port. It's is able to connect.
- I have lnbits. It's connecting to LND service over rest endpoint using the same tls and macron.
How can I debug the issue? I would like to see more detailed error message.
If you hit this problem and you are using a localhost network, it may be that your gRPC endpoint needs adjusting. For instance, if you are running on an umbrel, umbrel.local
or lnd
are local DNS names mapped to the shared docker container network. So if you are trying on the same host but in a docker container 127.0.0.1
won't work because that would only be the network inside the docker container itself. You would need to use the exact local subnet 10.* address of the lnd server container/machine, or a local DNS mapping to that machine.