bug: membership changes do not come down sync appropriately #779

Open
opened 2025-04-20 18:34:27 +00:00 by nex · 4 comments
Owner

Sometimes, joining a room does not come down /sync immediately, and requires another event to be sent in the room before it makes its way down to clients. When this happens, the room state is additionally not sent down, only relevant memberships.

An initial sync does not have this issue.

Update: This also affects leaving rooms, resulting in rooms becoming stuck in clients, and a [403 / M_FORBIDDEN] M_FORBIDDEN: Event is not authorized error on trying to leave again.

Sometimes, joining a room does not come down /sync immediately, and requires another event to be sent in the room before it makes its way down to clients. When this happens, the room state is additionally not sent down, only relevant memberships. An initial sync does not have this issue. Update: This also affects leaving rooms, resulting in rooms becoming stuck in clients, and a `[403 / M_FORBIDDEN] M_FORBIDDEN: Event is not authorized` error on trying to leave again.
nex added this to the 0.5.0 milestone 2025-04-30 15:28:10 +00:00
Author
Owner

Only appears to happen on sync v3 (client/v3/sync), SS & SSS are seemingly unaffected

Only appears to happen on sync v3 (client/v3/sync), SS & SSS are seemingly unaffected
Author
Owner

Recategorising this issue as high priority instead of blocking, as the issue has both been improved by #840, and also hugely under-reported, so it doesn't seem to be affecting that many users.

Given the fix currently is "clear client cache", it seems silly to block the 0.5.0 release on this bug that not many people seem to experience [anymore].

Given the impact this bug has when it is run into though, it remains a high priority.

Warning

If you are experiencing this bug, please give this issue a 👍

Recategorising this issue as high priority instead of blocking, as the issue has both been improved by #840, and also hugely under-reported, so it doesn't seem to be affecting that many users. Given the fix currently is "clear client cache", it seems silly to block the 0.5.0 release on this bug that not many people seem to experience [anymore]. Given the impact this bug has when it is run into though, it remains a high priority. > [!warning] > **If you are experiencing this bug, please give this issue a 👍**
Author
Owner

In addition to clearing the client cache, restarting the server also fixes this issue.

In addition to clearing the client cache, restarting the server also fixes this issue.
nex changed title from bug: joins do not come down sync appropriately to bug: membership changes do not come down sync appropriately 2025-08-27 13:28:12 +00:00
Author
Owner

Seems to be being reported far more frequently now, I think it's worth bumping this to blocking again so that we dont miss this when we finally go for 0.5.0

Seems to be being reported far more frequently now, I think it's worth bumping this to *blocking* again so that we dont miss this when we finally go for 0.5.0
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: continuwuation/continuwuity#779
No description provided.