This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Internal server error when using List Room API with no filtering #8188
Comments
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 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
matrixdotorg docker container
Containerized on Ubuntu 20.04 LTS
The text was updated successfully, but these errors were encountered: