bitcoinswitch
bitcoinswitch copied to clipboard
No bS function: "invoice listener:114 | got a payment notification" missing
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.
Just another log proof. Two payments failed.
Which funding source are you using?
LND on Raspbilitz at Home
@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.
@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.
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.
@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.