# Faulty messages about mobile push limits

**URL:** <https://forums.rocket.chat/t/faulty-messages-about-mobile-push-limits/9757>\
**Category:** Announcements\
**Created:** [December 17, 2020, 8:08pm UTC](https://forums.rocket.chat/t/faulty-messages-about-mobile-push-limits/9757 "2020-12-17T20:08:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![milton.rucks](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@milton.rucks](https://forums.rocket.chat/u/milton.rucks)\
**Post date:** [December 17, 2020, 8:08pm UTC](https://forums.rocket.chat/t/faulty-messages-about-mobile-push-limits/9757/1 "2020-12-17T20:08:54Z")

</div>

Dear [Rocket.Chat](http://Rocket.Chat) users,

We sincerely apologize for the inconvenience caused by faulty messages sent about push notification limits through the banner warning and through our bot Rocket.Cat

There was a bug in the deployment and we managed to have it quickly rolled back but unfortunately, every registered server using docker received those messages.

Alerts are fetched for Workspace and then by DeploymentMethod/DeploymentPlatform. The bug was the alerts were created using both workspace and the DeploymentMethod and DeploymentPlatform. Causing those that happen to also match that criteria to also get alerts, and multiple of them.

We will be deducting the mobile pushes caused by this issue from usage, this way it will not count for your mobile push cap.

If you don’t want to receive further notifications and are running version 3.5 or above, you can disable the bot ([Rocket.Cat](http://Rocket.Cat)) and banner going under Admin settings \> General \> Updates \> Enable the update checker (turn off).

We recommend keeping it on though since it is an important way for admins to receive alerts. (yes, this one time it went wrong, unfortunately…) If you don’t have that setting, you are probably below v3.5. in which the setting was introduced.

To remove the banners, as a quick fix, you can run a script for automatic dismissal like this one by pasting it in your browser’s developer tools \> console.

`banners = Object.values(Meteor.user().banners).filter((b) => !b.read && b.id.startsWith('alert-')); function dismiss() { if (!banners.length) { console.log('Finished'); return; } const banner = banners.shift(); Meteor.call('banner/dismiss', {id: banner.id}, (error, result) => { if (!error) { return dismiss(); } console.log('Too many requests, waiting', Math.round(error.details.timeToReset / 1000), 'seconds to continue.'); banners.unshift(banner); setTimeout(dismiss, error.details.timeToReset); }) }; dismiss();`

We are reviewing our process of sending communications through the alert system in order to avoid this kind of error from happening again.

Best Regards,

Milton Rucks

---

<div class="post-metadata">

**Author:** ![NickstaDB](https://avatars.discourse-cdn.com/v4/letter/n/ba8739/32.png) [@NickstaDB](https://forums.rocket.chat/u/NickstaDB)\
**Post date:** [December 17, 2020, 9:57pm UTC](https://forums.rocket.chat/t/faulty-messages-about-mobile-push-limits/9757/2 "2020-12-17T21:57:38Z")

</div>

Hi @milton.rucks, how do we purchase reasonable additional push notifications at a reasonable price?

> [@How to buy push notifications?!](https://forums.rocket.chat/t/how-to-buy-push-notifications/9718):
>
> We’ve had notifications nuked and want to purchase additional quota. GitHub sponsorship only gets us to 20k and isn’t stackable, and we’re apparently at 18-19k already for this month. Last few months we’ve had 40-52k notifications despite just having a small community of friends. The pricing page on the main RC website has a table listing all the bells and whistles of upgrading, but we literally just want notifications. We don’t mind paying for the service, but the “pro” tier offers only 25k mo…

> [@Handling of push notifications](https://forums.rocket.chat/t/handling-of-push-notifications/9745):
>
> I would like to address the whole topic of the enforcement and the implementation of push notifications in RC. We, a mid sized German university, are happily using rocket.chat on premise on our own infrastructure. Currently we are serving round about 10.000 users in our main chat, working flawlessly. Then RC introduced the limitiation of those push notifications. To be clear, as we are used to work with open source projects we are always happy to give somthing back and get things going. So des…

---

<div class="post-metadata">

**Author:** ![esquared](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/esquared/32/2448_2.png) [@esquared](https://forums.rocket.chat/u/esquared)\
**Post date:** [December 17, 2020, 10:47pm UTC](https://forums.rocket.chat/t/faulty-messages-about-mobile-push-limits/9757/3 "2020-12-17T22:47:22Z")

</div>

I think the error is way more serious than just inadvertent banner warnings - all our mobile push notifications seem to be dropped by the server even though we’ve only used 10.5k of our 20k limit. Getting hundreds of these in the log:

```auto
server.js:204 Push ➔ error Error sending push to gateway (4 try) -> Error: ESOCKETTIMEDOUT

```

Going to restart the container later tonight to see if it’s transient, but I don’t see how.

---

<div class="post-metadata">

**Author:** ![rodrigo.nascimento](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/rodrigo.nascimento/32/2109_2.png) [@rodrigo.nascimento](https://forums.rocket.chat/u/rodrigo.nascimento)\
**Post date:** [December 18, 2020, 2:42pm UTC](https://forums.rocket.chat/t/faulty-messages-about-mobile-push-limits/9757/4 "2020-12-18T14:42:43Z")

</div>

It may be some other issue, seems to be related to communication with our gateway, you would not see that kind of error when the limits are reached, we will never block the connection, but return a correct error message about the limit reached. Let us know if you could solve the issue.

---

<div class="post-metadata">

**Author:** ![esquared](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/esquared/32/2448_2.png) [@esquared](https://forums.rocket.chat/u/esquared)\
**Post date:** [December 18, 2020, 2:55pm UTC](https://forums.rocket.chat/t/faulty-messages-about-mobile-push-limits/9757/5 "2020-12-18T14:55:38Z")

</div>

Yeah - I’m going to chalk this up to transient network (routing?) error - restart (and update) of container seems to have resolved this. Thanks @rodrigo.nascimento for the offer.
