bitcoinswitch icon indicating copy to clipboard operation
bitcoinswitch copied to clipboard

No bS function: "invoice listener:114 | got a payment notification" missing

Open AxelHamburch opened this issue 1 year ago • 6 comments

I have noticed that my bitcoinSwitch (bS) stops working when my LNbits (VPS) loses connection to my node (Raspiblitz/LND at home) for a short period of time. If I unplug the network connector for about 2 minutes, then reconnect and wait another 5 minutes for everything to sync again, LNbits receives the payment properly, but unlike a normal function, the bitcoinSwitch does not switch. In the logs files the "invoice listener:114 | got a payment notification" is also missing. Only a restart of the LNbits server solves the problem.

I am using LNbits 0.10.3 and just updated to the latest commit a9bdf2442589f61cc6c5db2d18eff54eb186c1ea.

Zwischenablage02

AxelHamburch avatar Apr 01 '23 14:04 AxelHamburch

Just another log proof. Two payments failed.

2023-04-01 17_07_17-my3node@OpenVPN_ ~

AxelHamburch avatar Apr 01 '23 15:04 AxelHamburch

Which funding source are you using?

callebtc avatar Apr 13 '23 16:04 callebtc

LND on Raspbilitz at Home

AxelHamburch avatar Apr 13 '23 19:04 AxelHamburch

@callebtc

Update: I now had the LightningTipBot as funding source and at some point the problem with lnbits.tasks:invoice_listener started here too. In this screenshot you can see four bitcoinSwitch payments, but only two with > got a payment notification worked.

2023-04-29 16_57_02-my3node@OpenVPN_ ~

AxelHamburch avatar Apr 29 '23 15:04 AxelHamburch

@arcbtc @callebtc @dni

I'm unhappy to say this, but the Invoice Listener bug is still in LNbits version 0.10.7 and in the poetry installation with python 3.9. The wallet here is the LightningTipBot and in the picture you can see three bitcoinSwitch payments in a row. All payments went through, but it only switched on payment 1 and 3. I have noticed this several times now, there is something wrong with the Invoice Listener.

image

I had also set up LNbit's SaaS and would like to reproduce the error there, but unfortunately I can't read out any logs there yet. This will definitely be a useful tool to detect bugs.

AxelHamburch avatar May 19 '23 19:05 AxelHamburch

@arcbtc @dni

Unfortunately, still the same phenomenon. Some payments unfortunately do not trigger the websockets interface to the ESP32. :( I am eagerly waiting for logs for the LNbits SaaS instance. I think this is a general problem and not a system dependent one.

2023-07-01 12_08_27-Window

AxelHamburch avatar Jul 01 '23 14:07 AxelHamburch