matrix-org / dendrite

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

Left from room after changing profile #1662

Open Half-Shot opened 3 years ago

Half-Shot commented 3 years ago

Dendrite believes that I (@half-shot:den.half-shot.uk) am not in !EgoVrPyOnPSVXERlxj:gruenhage.xyz despite being joined from the point of view of the rest of the world. This time it seemed to break when I changed my profile (and so did a join-> join membership change).

force-leave.log.gz

kegsay commented 3 years ago
time="2020-12-18T15:16:18.087739926Z" level=error msg="helpers.CheckAuthEvents failed for event, rejecting event" func="processRoomEvent\n\t" file=" [github.com/matrix-org/dendrite/roomserver/internal/input/input_events.go:76]" auth_event_ids="[$pMrgHzPcFE3JkFCeNdWlT530oPVSNOry_n_6Yyw_Aww $gctSxKL5BC7cY9ZeLjCIg0GtSQxznduM3YwYxSHg7Yw $2WOZKyOsEHn-MOFaOP8eRfaGQc3CgALdMV8s2yxNgyE]" error="eventauth: \"@half-shot:den.half-shot.uk\" is not allowed to change their membership from \"leave\" to \"join\"" event_id="$SmAE-QDJHF_cBn4hw5K4m207DqeoyS9oecFMZz7OYf8"
time="2020-12-18T15:16:18.096811583Z" level=info msg="Error authing soft-failed event" func="processRoomEvent\n\t" file=" [github.com/matrix-org/dendrite/roomserver/internal/input/input_events.go:90]" error="eventauth: \"@half-shot:den.half-shot.uk\" is not allowed to change their membership from \"leave\" to \"join\"" event_id="$SmAE-QDJHF_cBn4hw5K4m207DqeoyS9oecFMZz7OYf8" room="!EgoVrPyOnPSVXERlxj:gruenhage.xyz" type=m.room.member

It thought you had left prior to the display name change. Looks like it was hammering /get_missing_events which is probably how the state became so confused.

kegsay commented 1 year ago

This sounds like it was a state reset.