btcpayserver / btcpayserver-plugins

A repository storing verified BTCPay Server Plugins.
https://btcpayserver.org
19 stars 5 forks source link

Lightning Node is unavailable when using LNBank Wallet #50

Closed eko2one closed 1 year ago

eko2one commented 1 year ago

What is your BTCPay version? BTCPayServer v1.6.11.0 LNbank v1.3.3.0

How did you deploy BTCPay Server? Docker deploy on Digital Ocean

What happened?

Lightning Node is unavailable when using LNBank Wallet as connection.

The node is available when connection is set to internal node. After selecting LNbank wallet as Lightning connection, there is no error and the connection string seems legit. When clicking "Test Connection" under tab "Use custom node" there is an error " The lightning node did not reply in a timely manner".

Switching back to Internal node makes the node available immediately again.

I could not find anything in the logs. Please let me know which logs I can supply.

How did you encounter this bug?

Lightning
Settings
Change connection
Use LNbank
SAVE
Use Custom Node
Test Connection => Error
Public Node Info => unavailable
Screenshot 2022-09-29 at 16 55 17 Screenshot 2022-09-29 at 16 55 02 Screenshot 2022-09-29 at 16 54 13
dennisreimann commented 1 year ago

What du you get when you run the following command in the shell? (Please replace APIKEY and SERVER with the values from the connection string)

curl -v -H "Authorization: Bearer APIKEY" https://SERVER/plugins/lnbank/api/lightning/info

Feel free to reach out to me on Mattermost, I already pinged you there.

dennisreimann commented 1 year ago

We tracked this down to a network/DNS problem on the server.