matrix-org / dendrite

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

"SendEvents failed" on sending a message in #dendrite:matrix.org #1630

Closed oleg-fiksel closed 3 years ago

oleg-fiksel commented 3 years ago

Background information

Description

Can't send messages to the room #dendrite:matrix.org. Getting the following error in the log:

time="2020-12-10T22:42:19.126748607Z" level=error msg="SendEvents failed" func="SendEvent\n\t" file=" [github.com/matrix-org/dendrite/clientapi/routing/sendevent.go:102]" error="InputRoomEventsResponse: r.calculateAndSetState: roomState.CalculateAndStoreStateBeforeEvent: v.calculateAndStoreStateAfterManyEvents: d.Writer.Do: d.StateBlockTable.BulkInsertStateData: context canceled" req.id=f3wkgs3tjyzv req.method=PUT req.path="/_matrix/client/r0/rooms/!yomrOFwgFXzmeMAbzX:matrix.org/send/m.room.message/m1607640109008.0" user_id="@oleg:dendrite01.fiksel.info"

Steps to reproduce

neilalexander commented 3 years ago

Please try 2885eb0 or newer and reopen if this is still an issue.

oleg-fiksel commented 3 years ago

I can send messages again on 2885eb0! 🎉 Thanks for fixing this @neilalexander ! ❤️