-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
no create event in auth events #7642
Comments
{errcode:M_FORBIDDEN,error:No create event in auth events}
. Not quite sure what causes this.
some places this has been reported:
|
the fact that this happens sometimes during a sytest run suggests that there is a race condition of some sort (interesting that it happened with a monolith deployment: I'd expect races to be more likely with workers.) |
I just had this happen in What might've caused it for me is that I was moving Synapse to a different machine (but made it use the same database as on the previous machine). |
another instance in a test run: https://buildkite.com/matrix-dot-org/sytest/builds/960#655edd00-a2b4-4b0b-bee2-142ec753a994 |
I suspect there's more than one cause for this issue. I've opened #7834 to track one of them, and will either add more issues to track other causes, or add reports to existing issues. |
for #trains, see #7835 |
for element-hq/element-web#8689, see #7838. |
#7139 is yet a fourth scenario, though related to some of the others. |
cause number five over at #7845. |
I think this would have caught all the cases in #7642 - and I think a 500 makes more sense here than a 403
I think this would have caught all the cases in #7642 - and I think a 500 makes more sense here than a 403
Can anyone tell me how to fix this? I've got a buggered room with three members. No one can leave it, I can't delete it because it has members, and all messages to it fail. |
For these sorts of support questions, it's best to try #synapse:matrix.org. I'm guessing you've already tried the admin API to delete a room ? |
Ah yeah, good call. I'll hop in the chat and see if anyone can help me out. Thanks! I have tried pretty much every variation of that API I can think of; it always errors out, unfortunately. |
I ahve this problem with a channel too, no way to leave.. API doesnt help, it gives a server error saying users are still logged in...chicken or egg problem. only me in there. |
Ironically, I am having this issue with #synapse:matrix.org right now. |
One solution I found is to run this SQL query: |
We think we've fixed all the issues with this, but old rooms might still be broken in your database. The correct thing to do is to purge the room (you should not need to run any delete commands manually first and that is not recommended). I'm going to lock this issue since it is quiet old. Please open new issues if you're still seeing problems. |
sometimes requests get rejected with
{"errcode":"M_FORBIDDEN","error":"No create event in auth events"}
. Not quite sure what causes this.The text was updated successfully, but these errors were encountered: