RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.36k stars 10.48k forks source link

Sound and toaster notifications trigger only randomly #28969

Open Gummikavalier opened 1 year ago

Gummikavalier commented 1 year ago

Description:

Sound and operating system toaster messages do not trigger always when they should. The behavior seems random.

Steps to reproduce:

  1. Log in with two separate users
  2. Open some regular channel as User1
  3. Send a direct message to the User1 as User2
  4. Keep sending messages as User2 once every few seconds

Expected behavior:

Every time a new message has been received by User1 they should get at least a sound notification about the new message. The only exception to the expected behavior are the messages arriving at the running time of the notification itself. (This to prevent too much noise.)

Actual behavior:

You get sound notification in what seems to be in completely random fashion.

Server Setup Information:

Client Setup Information

Additional information

The issue seems to be related to amount of running instances. With one instance you don't miss the notification sounds or toaster. When running to two instances the issue happens in 5 times out of ten fashion.

I can reproduce this issue on the RC Community instance but not on the RC Enterprise one.

Kot-o-pes commented 1 year ago

Im having same issue with microservices deployment in k8s, however scaling amount of rocketchat instances didnt help much. Ive tried deploying different version and the last one with working notifications (sound and push) was 4.8.2

Gummikavalier commented 11 months ago

Issue still active in RC 6.4.7 for Community Edition setup when running multiple instances.