-
-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clear cache & reload breaks membership in rooms suggested by a Space in (only) Element Web #2503
Comments
This happened again when updating from 992d324 to 0.8.7 on golang 1.17.10. Not the reversion of !yomrOFwgFXzmeMAbzX:matrix.org membership, I suspect that was a separate issue (state resolution problem). After the restart, in Element Web I was no longer a member of a specific room (same one that's been having this issue previously), and could not access it despite logging successful join messages. In Element Android there was no change, I could still access the room normally. In matrix.org's perspective, there was no change. |
This happened again with 1 room and no restart of dendrite. As usual, element web became unable to access the room, cache clear & re-logging had no effect, but it was still working normally in element android. Leaving and re-joining the room in Android fixed it for now. |
I'm wondering if this is somehow related to spaces summary, which is enabled on my homeservers. So far I have only seen it happen with rooms that are members of a public space i'm in (and these rooms claim that space as their canonical parent). |
Which curl command did you use to leave a room? BTW I'm facing this on 0.8.5 with Element Web. The issue emerged last week I think with two rooms affected. |
|
Thanks, it worked!
|
This is consistently happening on 0.8.9, 0.9.1, 10a151c with 3 rooms, all "suggested" by a Space, when doing clear cache & reload in element web. Possible clue: when viewing the room list under Home or Other rooms (instead of the Space), the option to forget the room appears. Clicking it fails by saying that i'm still in the room, which is true, but the heading of the dialog is "Failed to forget room M_UNKNOWN". |
Hmmm a new message dot and bold text appeared in element web for a room i'm "not in" |
A better workaround to restore access to the room in Element Web is to post a message to it using Element Android. |
I think this is fixed, as of 522bd29 I can no longer reproduce it. Element web was open (but not in use, on another screen) when suddenly over 9000 notifications for old messages appeared and most rooms and spaces disappeared from the sidebar. A clear cache & reload fixed that, without the side effect of kicking me out of the same 3 rooms as usual. It seems I can do clear cache & reload repeatedly without causing membership issues now. |
Can you please just double-check that this is still true as of 07dd9bd before I cut a release? |
It appears to still be fixed. Not sure if this has an issue but previously clear cache & reload would cause chat history to have @user:domain instead of display names in element web, that appears to be fixed also. |
Background information
go version
: 1.17.9Description
Steps to reproduce
When trying to "re"-join the rooms in element web, dendrite will log a successful room join, but the spinner continues endlessly in element web, and when refreshing it's back to showing the room as not joined. The options seem to be:
curl
or element android, and re-join itThese are all public v6 rooms.
When the errors for the old #dendrite start being logged again, I check the state in element web and it shows I'm both in the room (listed in the user list) and not in the room (room is being previewed, with a button to join).
When I do
GET /_dendrite/admin/evacuateRoom/!yomrOFwgFXzmeMAbzX:matrix.org
it returns
{"affected":["@bones_was_here:xonotic.org"]}
and on a second GET it returns the empty array (until the next time it reverts).
The text was updated successfully, but these errors were encountered: