-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Riot doesn't follow 301 responses during homeserver discovery #9084
Comments
fwiw, the spec is super strict in this respect and doesn't let us follow 301 redirects: https://matrix.org/docs/spec/client_server/r0.4.0.html#server-discovery MSC1700 could probably be brought back to life, and take this into consideration. Have opened https://github.com/matrix-org/matrix-doc/issues/1919 to track this. |
Ah. Not sure what the practice is on bugs on riot-web where a spec issue causes a Riot ux issue. Feel free to close this if that's the best way of handling. |
riot-web is the dumping ground for UX of Matrix, still :( |
MSC2499 would clarify this. |
Element already follows redirects, but https://thebeckmeyers.xyz/.well-known/matrix/client is missing CORS headers. |
Overall this issue isn't one of Element (if anything it shouldn't follow the redirect), but of the spec: https://github.com/matrix-org/matrix-doc/issues/1919 Closing in favour of the spec issue. In general I think we should continue to follow the redirect and work on making the spec sensible. |
Description
When I enter in my mxid @adam:thebeckmeyers.xyz, Riot sends a request to https://thebeckmeyers.xyz/.well-known/matrix/client and gets back:
It then fails to request the specified location and says "Invalid homeserver discovery response"
Steps to reproduce
Enter
@adam:thebeckmeyers.xyz
in the username field of Riot sign-in.Version information
For the web app:
The text was updated successfully, but these errors were encountered: