JagandeepBrar / lunasea

Self-hosted software controller built using Flutter
https://www.lunasea.app
GNU General Public License v3.0
1.28k stars 64 forks source link

[Bug] Notifications not working "Cannot GET /v1/custom/user/xxxxxxxx" #781

Closed mdrayner closed 3 months ago

mdrayner commented 3 months ago

Describe the Bug Notifications have stopped working. Testing the URL produces the error: "Cannot GET /v1/custom/user/xxxxxxxx" (same for device or any of the non custom notifications)

To Reproduce Send a notification via Lunsea or Enter a notification URL into a browser

Expected Behaviour Notifications are sent

Versions 10.2.6 MacOs iOS latest App Store version

Actually, this lookalike it could be an issue with Uptime Kuma.. have managed to get notifications working elsewhere but Uptime Kuma always reports "Error: getaddrinfo ENOTFOUND notify.lunasea.app"

JagandeepBrar commented 3 months ago

The notification webhooks must receive a POST request, not a GET request.

Further documentation: https://docs.lunasea.app/lunasea/notifications/custom-notifications

moritz1000 commented 3 months ago

The notification webhooks must receive a POST request, not a GET request.

Further documentation: docs.lunasea.app/lunasea/notifications/custom-notifications

I think @mdrayner just used the wrong words to describe their issue...

I have the same problem! Notifcations used to work but stoped working about a week ago.

When pressing the "Test" button in Sonarr no notification arrives. I did not change anything about my setup. image