ZoneMinder / zmNinja

High performance, cross platform ionic app for Home/Commerical Security Surveillance using ZoneMinder
http://zmninja.zoneminder.com
Other
1.02k stars 270 forks source link

FCM Notifications Fail to Send with "Message Count Exceeded" Error. #1119

Open eekay35 opened 1 year ago

eekay35 commented 1 year ago

The version of zmNinja you are reporting: zmNinja: 1.7.002 zmES: 6.1.12

The version and OS of ZoneMinder you are using: 1.34.26, Ubuntu Focal

Platform zmNinja is running on Android 13

Did you build the package from source code yourself? No

Describe the bug After the update from the Google Play Store to version 1.7.002, the notification options are indeed back (Thanks!) However, while the ES attempts to send notifications during motion detection, the FCM servers appears to be rejecting the notification due to an exceeded limit of 8000 messages for this particular month (November 2023). Error messages are included in the debug logs below.

Debug logs

11/25/2023 10:41:49.843473 zmeventnotification[1851313].ERR [main:1026] [|----> FORK:Upstairs (4), eid:841760 You have exceeded total message count of 8000 for this month, for tokenXXXXXXXXXX, not sending FCM]
11/25/2023 10:42:14.766411 zmeventnotification[1851373].ERR [main:1026] [|----> FORK:Back Door (6), eid:841761 You have exceeded total message count of 8000 for this month, for tokenXXXXXXXXXX, not sending FCM]
11/25/2023 10:42:49.879825 zmeventnotification[1851429].ERR [main:1026] [|----> FORK:Backyard (7), eid:841762 You have exceeded total message count of 8000 for this month, for tokenXXXXXXXXXX, not sending FCM]
11/25/2023 10:44:09.769710 zmeventnotification[1851496].ERR [main:1026] [|----> FORK:Back Door (6), eid:841763 You have exceeded total message count of 8000 for this month, for tokenXXXXXXXXXX, not sending FCM]
11/25/2023 10:44:14.793963 zmeventnotification[1851551].ERR [main:1026] [|----> FORK:Upstairs (4), eid:841764 You have exceeded total message count of 8000 for this month, for tokenXXXXXXXXXX, not sending FCM]
11/25/2023 10:45:34.803854 zmeventnotification[1851613].ERR [main:1026] [|----> FORK:Back Door (6), eid:841765 You have exceeded total message count of 8000 for this month, for tokenXXXXXXXXXX, not sending FCM]
11/25/2023 10:46:14.802339 zmeventnotification[1851673].ERR [main:1026] [|----> FORK:Upstairs (4), eid:841766 You have exceeded total message count of 8000 for this month, for tokenXXXXXXXXXX, not sending FCM]
11/25/2023 10:46:24.814934 zmeventnotification[1851729].ERR [main:1026] [|----> FORK:Upstairs (4), eid:841767 You have exceeded total message count of 8000 for this month, for tokenXXXXXXXXXX, not sending FCM]