matrix-org / dendrite

Dendrite is a second-generation Matrix homeserver written in Go!
https://matrix-org.github.io/dendrite/
Apache License 2.0
5.71k stars 668 forks source link

Incomplete bridging breaks Dimension: QueryRoomsForUser failed #2661

Closed madprogramer closed 2 years ago

madprogramer commented 2 years ago

Background information

Description

Sample Logs:

Aug 22 11:01:01 SERVER.NET matrix-dendrite[7580]: time="2022-08-22T09:01:01.280932827Z" level=info msg="Creating new room" req.id=hH3IMYEP7Xjo req.method=POST req.path=/_matrix/client/v3/createRoom roomID="!wMEbJbPcVcfmIZbX:madpro.world" roomVersion=9 userID="@facebookbot:madpro.world" user_id="@facebookbot:madpro.world"
Aug 22 11:01:24 SERVER.NET matrix-dendrite[7580]: time="2022-08-22T09:01:24.360892437Z" level=error msg="QueryRoomsForUser failed" error="GetRoomsByMembership: cannot map user ID to state key NID: context canceled" req.id=fb62suvMLyFW req.method=GET req.path=/_matrix/client/r0/joined_rooms user_id="@dimension:madpro.world"
Aug 22 11:02:01 SERVER.NET matrix-dendrite[7580]: time="2022-08-22T09:02:01.282699128Z" level=error msg="roomserverAPI.SendInputRoomEvents failed" error="InputRoomEventsResponse: context canceled" req.id=hH3IMYEP7Xjo req.method=POST req.path=/_matrix/client/v3/createRoom user_id="@facebookbot:madpro.world"
madprogramer commented 2 years ago

Possibly Related: https://github.com/matrix-org/dendrite/issues/1844

madprogramer commented 2 years ago

Deleting jetstream/$G/streams/DendriteInputRoomEvent and restarting did the trick. I guess that finally stopped the failed bridging for good.

Compare https://github.com/matrix-org/dendrite/issues/2150