Dear 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) 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