-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
KeyError: 'approved' when register_user in replication module is called #14131
Comments
Presumably due to #13556 |
I would guess the fix is to change to |
It looks to me like |
That would fix the symptom of |
Right, after some internal discussion it looks like my understanding that workers shouldn't be running a version older than the main process was wrong. I've opened #14135 which should ensure things go smoothly even in this case. |
Thanks for the tip! I have noticed that I somehow didn't bring up the worker to the latest version. |
The PR has merged - closing the issue manually so it doesn't count towards release blockers. |
Description
Currently with the latest RC for 1.69.0, an error appears on the replication module when an app service wants to register an user with register_user. The server returns a 500 Internal Server Error because it fails with a KeyError for approved.
The stacktrace points to
approved=content["approved"]
which was recently added in preparation for MSC3866. However, the experimental feature has not been enabled.Steps to reproduce
clean-rooms
Expectation: POST request returns with 200
Reality: POST request returns with 500 Internal Server Error
Homeserver
Own homeserver
Synapse Version
1.69.0rc2
Installation Method
Docker (matrixdotorg/synapse)
Platform
OS: Debian 11
Docker version 20.10.10
Relevant log output
The text was updated successfully, but these errors were encountered: