Skip to content
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

Debug connection issue? #82

Open
rasodu opened this issue Jun 6, 2022 · 1 comment
Open

Debug connection issue? #82

rasodu opened this issue Jun 6, 2022 · 1 comment

Comments

@rasodu
Copy link

rasodu commented Jun 6, 2022

I am getting below error when trying to run charge lnd:

Could not connect to gRPC endpoint
ERROR: 1

So, far I have tried:

  1. Telnet to the grcp host and port. It's is able to connect.
  2. 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.

@zapomatic
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants