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
500 error when attempting to remove non-existent alias from directory #2782
Labels
A-Room-Directory
Z-Help-Wanted
We know exactly how to fix this issue, and would be grateful for any contribution
Comments
any more info to help repro this? What uri did you hit, what was the request content? |
Whatever riot uses (desktop/ios, happens with both). I can check the exact request later. |
Riot-desktop dev tools give me this: curl 'https://myhome.serv.er/_matrix/client/r0/directory/room/%23myroom%3Aserv.er?access_token=[REDACTED]' \
-X DELETE \
-H 'origin: file://' \
-H 'accept-encoding: gzip, deflate' \
-H 'accept-language: en-GB' \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Riot/0.13.4 Chrome/58.0.3029.110 Electron/1.7.9 Safari/537.36' \
-H 'accept: */*' \
-H 'authority: myhome.serv.er' \
-H 'x-devtools-request-id: 12345.678' \
--compressed |
ok yup it looks like you will hit this if you try to delete a non-existent room alias from the directory |
[The 'unrecognised appservice access token' warning is a complete red herring] |
richvdh
changed the title
Unable to remove room alias
500 error when attempting to remove non-existent alias from directory
Feb 5, 2018
richvdh
added
the
Z-Help-Wanted
We know exactly how to fix this issue, and would be grateful for any contribution
label
Feb 5, 2018
richvdh
added a commit
that referenced
this issue
Sep 17, 2018
@richvdh I think this was fixed? |
I still can't remove the problematic aliases though... (0.33.4-1mx1) |
yup fixed by #3889, which is in current develop (not 0.33.4). |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
A-Room-Directory
Z-Help-Wanted
We know exactly how to fix this issue, and would be grateful for any contribution
Trying to remove a (non-canonical) room alias results in an internal server error.
Synapse 0.26.0 on Debian (from matrix.org repo)
The text was updated successfully, but these errors were encountered: