I see the webhook isn't failing anymore. I think something is out of sync since you manually updated the db. Maybe test it out with my npub and see if it all works smoothly now. Maybe quickly change your fee to be lower to minimize your bitvora fees to test

Reply to this note

Please Login to reply.

Discussion

Will look into this tomorrow morning.

Hi there!

So i tried again. First is a payment for my npub. Second one for yours. I can see your hex and npub in subsription.db. but other fields are empty.

The third payment of 100 Sats is made with a "vanilla" index.php and a blank subsrciptions.db. I still can see the npub and hex, but active and both timestamp fields are empty.

Can you dump the journalctl -u aegis here pls

Just restarted it. But there is nothing else then this. Before stopping there was only the hourly "Checked and updated expired subscriptions". No log about new subscription, payment whatsoever.

aegis[192340]:

aegis[192340]: █████╗ ███████╗ ██████╗ ██╗███████╗

aegis[192340]: ██╔══██╗██╔════╝██╔════╝ ██║██╔════╝

aegis[192340]: ███████║█████╗ ██║ ███╗██║███████╗

aegis[192340]: ██╔══██║██╔══╝ ██║ ██║██║╚════██║

aegis[192340]: ██║ ██║███████╗╚██████╔╝██║███████║

aegis[192340]: ╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═╝╚══════╝

aegis[192340]: PREMIUM RELAY & BLOSSOM SERVER

aegis[192340]:

aegis[192340]: 2024/12/28 09:49:06 🚀 Aegis is booting up

aegis[192340]: 2024/12/28 09:49:06 🚀 Server started on port 8080

Maybe i should just start all over with a fresh aegis?

Yes I think this is a good idea

Still the same result. The page does not return a success message. I can see the hex and npub in db., however active contains 0, and both timestamp fields are empty.

If if you not getting logs then either:

- you haven't setup the webhook secret properly

- you haven't set the event to lightning deposit completed on bitvora

It should always log

log.Println("Received deposit.lightning.completed event", webhookPayload.Data.ID)

🤦‍♂️ Shame on me. I did not set the subdomain in the webhook. Now the page returns a success message!

In Germany we call it error 50: The error sits 50 cm in front of the screen!

Maybe i should start with a fresh db folder. I will look into this later.