-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
"User @mattcen:matrix.org not in room" #8277
Comments
Does Settings -> Help & About -> Clear cache and reload help with the room name? |
Unfortunately, since I've already resolved the problem and haven't had the chance to reproduce it yet, I can't test that currently. But on the off chance that it recurs, I'll give that a shot; thank you! |
@mattcen so did you manage to join again in the end? This failure mode usually happens when state has reset, as we have no way of signalling that down |
Yes, I did manage to rejoin the room. |
Thanks, then this definitely sounds like the client not being told that you'd left the room for some reason |
Looking at the DB it does appear to be the result of a series of state resets (mattcen got kicked, then state reset made him join again, then a state reset kicked him again). State resets should be rare in newer room versions, and the client not being told about state resets is tracked here: matrix-org/matrix-spec#1209 |
What was the room version? I thought version > 1 should be immune to state resets. |
Ah, I got confused between different rooms, the room is v5 so must have gotten bitten by one of the bugs where the homeserver gets confused by the state, which I believe are mostly fixed now (the logs show that the resets happened over a while ago). |
Description
I (@mattcen:matrix.org) just experienced an odd failure mode.
I used to be in this room: #matrix-docker-ansible-deploy:devture.com.
I was just looking at this room in Element Web on (https://app.element.io), and it was naming the room "Annie E. and 182 others", with no title or description. When I tried to send a message to that room, it said
User @mattcen:matrix.org not in room !PukFFdIcHgtaaHZflT:devture.com (<FrozenEvent event_id='$15976549421674349yLGYP:matrix.org', type='m.room.member', state_key='@mattcen:matrix.org'>)
When I tried to leave the room, it said
@mattcen:matrix.org not in room !PukFFdIcHgtaaHZflT:devture.com.
.So I wasn't in the room, but I couldn't enter the room, or remove it from my rooms list.
I then noticed that my Element Android client seemed to at least list the room with its correct name. When I saw this, I logged out of Element Web, and then logged back in. After I did this, the room was no longer visible in my list. When I then tried to join the room, it said:
So I guess I got kicked, but Element Web didn't handle that very gracefully?
Steps to reproduce
I'm not sure if this can reliably be reproduced, but presumably if it can, the process would be to kick a matrix.org user from a room (possibly one not on matrix.org), and then see how Element Web handles that.
Version information
I am on matrix.org, but the room I was dealing with was hosted on devture.com, which I don't control.
This bug report was created at the suggestion of @ara4n, as per https://matrix.to/#/!OGEhHVWSdvArJzumhm:matrix.org?via=matrix.org&via=privacytools.io&via=half-shot.uk
The text was updated successfully, but these errors were encountered: