You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a DM over federation. Upon the room being created, I sent a message in Element-Web, which refused to send due to: Error sending event M_FORBIDDEN: MatrixError: [403] User @kegan:matrix.org not allowed to view events in room !LFuqCQZUwZtXTLWLLw:matrix.org at token StreamToken(room_key=RoomStreamToken(stream=4697475137, instance_map=immutabledict({'event_persister-5': 4697475604, 'event_persister-4': 4697475604, 'event_persister-2': 4697475604, 'event_persister-1': 4697475604}), topological=None), presence_key=757284974, typing_key=323532, receipt_key=MultiWriterStreamToken(stream=2638193413, instance_map=immutabledict({})), account_data_key=2822308049, push_rules_key=5248105, to_device_key=1268713876, device_list_key=9889126520, groups_key=0, un_partial_stated_rooms_key=239350). This is clearly in error, as I created the room.
As far as I can tell either:
the token I got is too far behind and the worker is correctly saying that well before that point the room didn't exist (or did exist but prior to the m.room.member join event for myself)
or the worker that I hit on matrix.org is too far behind and was unaware that the room existed.
Waiting a while and retrying to send a message eventually worked. DMs are E2EE hence in order to send messages the client will first hit /members for an up-to-date member list.
Description
I created a DM over federation. Upon the room being created, I sent a message in Element-Web, which refused to send due to:
Error sending event M_FORBIDDEN: MatrixError: [403] User @kegan:matrix.org not allowed to view events in room !LFuqCQZUwZtXTLWLLw:matrix.org at token StreamToken(room_key=RoomStreamToken(stream=4697475137, instance_map=immutabledict({'event_persister-5': 4697475604, 'event_persister-4': 4697475604, 'event_persister-2': 4697475604, 'event_persister-1': 4697475604}), topological=None), presence_key=757284974, typing_key=323532, receipt_key=MultiWriterStreamToken(stream=2638193413, instance_map=immutabledict({})), account_data_key=2822308049, push_rules_key=5248105, to_device_key=1268713876, device_list_key=9889126520, groups_key=0, un_partial_stated_rooms_key=239350)
. This is clearly in error, as I created the room.As far as I can tell either:
m.room.member
join event for myself)Waiting a while and retrying to send a message eventually worked. DMs are E2EE hence in order to send messages the client will first hit
/members
for an up-to-date member list.Anoa says that
synapse/synapse/rest/client/room.py
Lines 627 to 632 in 23740ea
synapse/synapse/handlers/message.py
Lines 212 to 219 in 23740ea
Steps to reproduce
Unknown. Created a DM over federation and sent a message (not particularly quickly either!).
Homeserver
matrix.org
Synapse Version
1.101.0 (b=matrix-org-hotfixes,6dbedcf601)
Installation Method
I don't know
Database
PostgreSQL
Workers
Multiple workers
Platform
Configuration
No response
Relevant log output
Anything else that would be useful to know?
No response
The text was updated successfully, but these errors were encountered: