-
Notifications
You must be signed in to change notification settings - Fork 203
Description
Hi guys - thanks for making your tool available to the Nostr community!
We'd like to report an issue we have observed with the 'paid relay' feature, which we have deployed to relay.nquiz.io
When we do a fresh deploy, everything works as it should.
But, after some time of usage, generating multiple invoices, of which some are paid, some not, some expired, some not - the relay stops processing payments. So, even though the user has paid the lightning invoice, the relay can't figure it out and the user doesn't get admitted (/invoices page never says "payment successful", QR code remains on screen)
After we notice that this is happening, we perform the following hack:
- Launch the docker nostream-db container bash:
docker exec -it nostream-db bash - Log in to the DB:
psql -U nostr_ts_relay - Remove all of the invoices:
delete from invoices;
After these steps, the relay begins to admit users again.
Is this something you are aware of? If so, is there a fix planned, or are there any workarounds we can use?
System:
- OS: [Ubuntu]
- Platform: [docker]