Open fxmanu opened 8 months ago
I am having the same issue on a brand new snap deployment. Test notifications arrive instantly, whereas actual message notifications arrive very late, or sometime even never. This problem has been reported by all users on the server, each with different Android devices. I do not know if this is by design or it is a bug, but it is a major inconvenience as it makes Rocket Chat pretty much unusable for mobile users. Not sure if it is related but the documentation seems to mention a 120 second delay, with apparently no working way of disabling it.. (Actual delays are usually above 120 seconds though.).
Hi. is there any update? Thank you
https://docs.rocket.chat/docs/push-notifications
Notifications are determined based on server settings, user preferences, and subscriptions. User status (online, away, offline)is no longer considered for email and mobile push notifications. Instead, these notifications go to a new queue following these rules:
https://docs.rocket.chat/docs/push-notifications a copypaste of docs by @krenuser
So should this behavior of 120 second delays be overridable with the OVERWRITE_SETTING... environment variable or not?
Hi @kurspelli
I used the method below (in a Docker environment) and confirmed that I can receive Notification in real-time.
... environment: NOTIFICATIONS_SCHEDULE_DELAY_ONLINE: 1 NOTIFICATIONS_SCHEDULE_DELAY_AWAY: 1 NOTIFICATIONS_SCHEDULE_DELAY_OFFLINE: 1
...
Hi @ethan3011
I have added the following to both compose.yml
and .env
files, without any success:
OVERWRITE_SETTING_NOTIFICATIONS_SCHEDULE_DELAY_ONLINE: 1,
OVERWRITE_SETTING_NOTIFICATIONS_SCHEDULE_DELAY_AWAY: 1,
OVERWRITE_SETTING_NOTIFICATIONS_SCHEDULE_DELAY_OFFLINE: 1
NOTIFICATIONS_SCHEDULE_DELAY_ONLINE: 1
NOTIFICATIONS_SCHEDULE_DELAY_AWAY: 1
NOTIFICATIONS_SCHEDULE_DELAY_OFFLINE: 1
Description:
I got an on-premise installation of Rocket.Chat and experiencing a delayed delivery of push notifications, sent through the official push notification proxy.
Push notifications on the Desktop App (Mac) is delivered immediately.
Steps to reproduce:
Expected behavior:
Receive push notifications immediately.
Actual behavior:
Push notifications are delivered delayed (approx. 2 Minutes; sometimes even longer).
Server Setup Information:
Client Setup Information
Additional context
This issue is ongoing for years in our installation. We recently had a pro trial version and this didn't change the behaviour.
Relevant logs:
None