Closed anthr76 closed 4 years ago
This sounds like the same as matrix-org/python-canonicaljson#33 -- a workaround is to specify a user-agent which isn't curl.
This workaround succeeded !
Glad that worked! We'll need to release a new version of canonicaljson at some point with the fix in it. š
FYI we released an update for python-canonicaljson which should fix this. You can install 1.4.0 and it should work fine!
see also #8262 which adds a dependency on canonicaljson
1.4.0, so people upgrading to synapse 1.21.0 will automatically get this fix.
Description
When requesting all rooms in your home server via admin API the following response is sent.
Steps to reproduce
/_synapse/admin/v1/rooms
This seems like it's an issue having emojis in the room names. When using a search term to narrow down the results the issue doesn't show up.
A traceback in synpase logs show:
During handling of the above exception, another exception occurred:
Some rooms not in my server but are federated by my server have emojis in the name. Which show up in the logs:
...'name': 'š Audio Corner', 'canonical_alias': '#audiocorner:jupiterbroadcasting.com', 'joined_members': 39, 'joined_local_members': 1, 'version': '5', 'creator': '', 'encryption': None, 'federatable': True, 'public': ...
Version information
If not matrix.org: matrix.rabbito.tech