-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
members API returns M_NOT_FOUND: MatrixError: [404] Can't find event for token
#14814
Comments
Initial investigation based on an example call:
The stream token in this request is:
Within that token, the interesting part is before the first Looking at the content of this room:
... we can see that the room was created on event persister 2 more recently the minimal stream ordering This seems to be in contrast to the behaviour of I have to admit, the sharded event stream logic tends to be indistinguishable from magic to me, but presumably |
Thinking about this further, the whole reason for providing a token to Incidentally: it seems possible that this might have been made more obvious by recent work to speed up room creation? |
To summarise: by making a request with the token
Calling |
Having said that: I thought events were sharded to different event persisters by room id (in Rich's example, |
Description
See element-hq/element-web#24179.
The user is creating a new DM room.
Element Web creates the room, waits for a sync, then calls the members API with the latest sync token:
Steps to reproduce
Since we're using a sync token given to us by Synapse from a sync that contains the new room's events, we would expect it to point to a valid event in the room.
Homeserver
matrix.org
Synapse Version
1.75.0rc1 (b=matrix-org-hotfixes,04aa6a9707)
But note that this was reported on 2023-01-06T11:49 UTC
Installation Method
I don't know
Database
PostgreSQL
Workers
Multiple workers
Platform
.
Configuration
.
Relevant log output
Anything else that would be useful to know?
@richvdh is already investigating.
The text was updated successfully, but these errors were encountered: