Failed to connect with gRPC to remote LND: failed to connect to all addresses unavailable #7632
Unanswered
Luca-Fischer
asked this question in
Troubleshooting
Replies: 1 comment 6 replies
-
Is your raspberry pi connected to the internet directly or through a home router? You might need to forward the port |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to connect to my LND running on a raspberry pi linux from my macOS with gRPC. On the raspberry pi is also a bitcoin full node running bitcoind regtest. I used this tutorial: https://github.com/lightningnetwork/lnd/blob/master/docs/grpc/python.md There is a good chance I do something obvious wrong.
lnd.conf on linux:
I deleted the tls.cert and tls.key and restarted lnd.
bitcoin.conf on linux:
Works perfectly.
On macOS i followed the steps in the tutorial. Created the virtualenv, installed dependencies, cloned the repo, copied the proto file and compiled it.
I created client.py file with this content:
When I execute the client.py, first it said it can not find the file tls.cert because this file is (in my understanding) supposed to be on the linux system. Anyway I installed the LND also on macOS with the same lnd.conf file and run it.
When I execute the client.py now, I get this error:
Bitcoind and LND is running on Linux. LND says:
RPC server listening on 127.0.0.1:10009
I got the tlsextraip from a website saying this is my public ip address.
I tried setting
rpclisten=87.228.187.58:10009
andrpclisten=0.0.0.0:10009
on linux but does not work. Same error.Am I doing something obvious wrong, or until now is the main part correct? How can I fix the problem?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions