Publishing alias requires it both be taken and not, becoming impossible
See original GitHub issueSteps to reproduce
- attempt to publish an alternate room alias
Outcome
What did you expect?
Alternate alias should submit as-entered
What happened instead?
According to the synapse logs, Element is attempting to query for the alias with an extra “#” on the front, causing an error that leaves it unable to publish the alias.
Synapse (1.50.2) log:
Feb 01 06:11:56 synapse[184312]: 2022-02-01 06:11:56,220 - root - 262 - WARNING - GET-236997 - Error retrieving alias
Feb 01 06:11:56 synapse[184312]: 2022-02-01 06:11:56,220 - synapse.http.server - 95 - INFO - GET-236997 - <XForwardedForRequest at 0x7fdb20704400 method='GET' uri='/_matrix/client/r0/directory/room/%23%23testingalias456%3Amatrix.org' clientproto='HTTP/1.0' site='8008'> SynapseError: 404 - Room alias ##testingalias456:matrix.org not found
Feb 01 06:11:56 synapse[184312]: 2022-02-01 06:11:56,224 - synapse.http.matrixfederationclient - 607 - INFO - GET-236998 - {GET-O-256879} [matrix.org] Got response headers: 404 Not Found
Attempting to exclude the “#” at the front doesn’t work:
Operating system
Arch Linux
Browser information
Firefox 96
URL for webapp
develop.element.io
Application version
Element version: d731a2561933-react-afe6021c9a06-js-51f3fac87be4 Olm version: 3.2.8
Homeserver
private instance, but was able to replicate client-side error with matrix.org
Will you send logs?
No
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Exercise 3: Publish a Version and Create an Alias - Amazon Lex
In this exercise, you do the following: Publish a new version of the bot. Amazon Lex takes a snapshot copy of the $LATEST...
Read more >Unable to enter an alias in Table MAC desktop.
I have a column that I need to add an alias. I click on that column and see the alias option.
Read more >Can I submit a paper under an alias so as to avoid trouble in ...
First, it goes without saying that you should not go to any conference in person with your research. Publish your research in a...
Read more >The extern alias 'xxx' was not specified in a /reference option
I have the same problem and I was able to reproduce the issue. It turns out reference aliases are ignored on projects containing...
Read more >Pseudonyms for Authors: Self-Publishing Pen Name Tips
Make sure you research to see whether the pen name is already being used by another author or artists. Don't skip this step!...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yup, can reproduce, this field is checking the alias is unused which is backwards to what the field needs
It worked there as well. I just looked inside matrix-react-sdk in my node_modules and it looks like
yarn
still provided me 3.39.0 rather than 3.39.1, even on a fresh pull and run ofyarn
. That explains why I still don’t have it. I guess I could either try to force it to pull the newer one or just wait until I get it naturally.