matrix-org / synapse

Synapse: Matrix homeserver written in Python/Twisted.
https://matrix-org.github.io/synapse
Apache License 2.0
11.83k stars 2.12k forks source link

newly-configured AS didn't receive new events #11629

Open t3chguy opened 2 years ago

t3chguy commented 2 years ago

Description

Resurgence of https://github.com/matrix-org/synapse/issues/1834 on latest Synapse

Steps to reproduce

Context

application_services_state only contained a single row, an entry from a very old IRC bridge I had removed years ago, not the as_id=signal it should for the bridge I had just configured. appservice_stream_position had a single row, lock=X, stream_ordering=12345 (not exact, but very small number relatively speaking)

Workaround

Updating the stream_ordering value as per the workaround in https://github.com/matrix-org/synapse/issues/1834 unwedged everything.

Version information

turt2live commented 2 years ago

I wonder if this is magically fixed by https://github.com/matrix-org/synapse/pull/12209

delroth commented 1 year ago

This is still a current problem with Synapse 1.89.0. Had to manually edit the DB to get an appservice to work. This Synapse instance has been running for ~2-3 years and this is the first time I attempt to use an appservice.