RocketChat / Rocket.Chat

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

Messages are not displayed when creating a new conversation. Solution (View > Reload) #27011

Open aleadco opened 2 years ago

aleadco commented 2 years ago

Describe the bug When a new conversation is created the message history is not updated correctly. This error is only seen on the RC Electron

What operating system and which version? W10 21H2 Which version of Rocket.Chat (Server)? 4.6.0 Which version of Rocket.Chat.Electron (Electron/Desktop)? 3.8.4 Is there any setting relevant changed? No

To Reproduce Steps to reproduce the behavior:

  1. Create a new conversation between two users who have not had a record
  2. Send messages to each other
  3. Desktop notifications reach both users but the message history is not updated.
  4. Reloading the instance (View - Reload) shows all the updated history.

Screenshots New conversation image

View - Reload image

Possibly related to https://github.com/RocketChat/Rocket.Chat.Electron/issues/2342

aleadco commented 2 years ago

Update: The bug is at RC instance scale. Tested in chrome browser.

aleadco commented 2 years ago

This is the only thing that the error log can provide: Apr 25 17:55:24 chat rocketchat[79740]: {"level":50,"time":"2022-04-25T21:55:24.723Z","pid":79740,"hostname":"chat.hostname.net","name":"System","msg":"Exception while invoking method getRoomByTypeAndName 'Invalid room [error-invalid-room]'"}

vineetjain27 commented 2 years ago

hey @aleadco i want to work into this issue can you assign me this issue

HrHeun commented 2 years ago

Related to #26505