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

Unable to join room #1746

Closed Danacus closed 3 years ago

Danacus commented 3 years ago

Background information

Description

While I am able to join other rooms, I am unable to join one specific room. It might be related to roles and permissions.

Steps to reproduce

I don't know how to reproduce this bug, but in case it's useful, this is what I did:

The following error message appears in the log of Dendrite:

dendrite_monolith_1  | time="2021-02-01T13:33:45.519619885Z" level=error msg="Failed to process room join response" func="func1\n\t" file=" [github.com/matrix-org/dendrite/federationsender/internal/perform.go:240]" error="gomatrixserverlib: event with ID \"$ntw7bQVfH3wycVTJ-oelecmM9ayMBVx_XJ3yVniUClw\" is not allowed by its auth events: gomatrixserverlib: event with ID \"$ntw7bQVfH3wycVTJ-oelecmM9ayMBVx_XJ3yVniUClw\" is not allowed by its auth_events: eventauth: sender with level 100 is not allowed to change user level from 100 to 50 because the old level is equal to or above the level of the sender" room_id="!QtNcUyGhnaNxVHfyfm:matrix.org" user_id="@daan:vanoverloop.xyz"

I'm not really sure why this is happening and whether it is even related to Dendrite. I can join other rooms just fine.

kegsay commented 3 years ago

Probably a bad event somewhere, we'd need to investigate the send_join response.

Danacus commented 3 years ago

Feel free to let me know if there's any information/debug logs you want me to provide to investigate this issue.

neilalexander commented 3 years ago

This might already be fixed on the latest master — can you please try commit 369d3939fdf88546dfdaf8c185125c684c55e991 and let us know if it is still an issue?

Danacus commented 3 years ago

That does appear to have fixed it, thanks a lot!

neilalexander commented 3 years ago

Glad to hear it!