How to connect BTCPAY to Lightning Node?

I tried using REST proxy:
type=lnd-rest;server=http://umbrel.local:8080/;macaroon=“MACAROON_HEX”;allowinsecure=true;
but i get an error:
Error while connecting to the API: Error while copying content to a stream. (Unable to read data from the transport connection: Connection reset by peer.)
Also tried with the local ip or onion address.
It BTCPAY docs it also says it works with RTL from Server Settings / Services, and RTL should be exposed there, but for me it is not.

Any ideas?

Just to check first, was there any issue when selecting ‘internal node’ for the lightning node side of the BTCPay server configuration? Usually integrating lightning requires no set-up at all with this option

You should be able to do this under ‘Change Connection’
image

Internal node looks fine and is enabled.

Perfect, you shouldnt need to do any further configuration from there, and the lightning node connection should work fine now.

1 Like

Oh, so it is connected to my Lightning Node? I’m silly, I thought ‘internal’ means internal to BTCPAY, like creating an internal node.

1 Like

haha, yes that means it’s connected to your main node