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

Documentation for LND backend #799

Open
xjmzx opened this issue Nov 16, 2024 · 3 comments
Open

Documentation for LND backend #799

xjmzx opened this issue Nov 16, 2024 · 3 comments

Comments

@xjmzx
Copy link

xjmzx commented Nov 16, 2024

I've installed with the install script for x86 server with an LND backend. I wasn't sure how configuration workflow follows from the landing page.

Could anyone highlight the steps required to configure hub to detect LND?
Apologies if this is already answered elsewhere.

@rolznz
Copy link
Contributor

rolznz commented Nov 17, 2024

Hi @xjmzx when you open Alby Hub, there is a basic and advanced setup. You should choose the advanced setup and then LND, and you will have a form to enter your LND connection details. Does that work for you?

Otherwise you can set the LND environment variables as per the README: https://github.com/getAlby/hub?tab=readme-ov-file#lnd-backend-parameters

@xjmzx
Copy link
Author

xjmzx commented Nov 18, 2024

Thanks for that. I'm testing my setup and will continue tomorrow. From following the onboarding flow, errors after inputting gRPC, TLS and admin macaroon hex.

rpc error: code = Unavailable desc = connection error: desc = "transport: authentication handshake failed: tls: failed to verify certificate: x509: certificate signed by unknown authority"

I also tried to provide paths for the cert and macaroon in .env but seems to have a hard time connecing there too. I could well be doing something wrong in the set up process.

My chain and graph are synced.
Are there any other requirements, or any ideas where to look for the problem? Seems similar to #405

Debian / x86
lnd version 0.18.3-beta commit=v0.18.3-beta
Bitcoin Core version v27.2.0

@singlebeam
Copy link

I ran into the same issue on a test server, and I was able to get around it by removing tlsencryptkey=true from my lnd.conf. I'm not comfortable using such a configuration in production, so I'm hoping to resolve the issue. I feel as though the issue lies with albyhub, as other services like ThunderHub don't have any issues with TLS and tlsencryptkey=true.

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

3 participants