question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Well-known lookup for homeserver url

See original GitHub issue

If my Synapse is hosted at https://matrix.example.com but my Synapse server name is https://example.com, typing https://example.com into the server URL should do a well-known lookup as per hhttps://matrix.org/docs/spec/client_server/r0.6.0#server-discovery

Related to but separate from #476

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
aaronraimistcommented, Feb 16, 2020

Yeah. The comment I made in #riotx:matrix.org before I went searching for issues was

Is the current login flow pretty early still or is this close to the final design?

I think the login flow should emphasize entering your full username and having the .well-known lookup done rather than entering the homeserver URL which should be a more advanced/last resort feature.

https://github.com/vector-im/riotX-android/issues/476 is what the login screen should do, with like a tiny little option at the bottom to enter the homeserver URL for the one homeserver out there that doesn’t have .well-known.

Since the spec says you can’t do a well-known lookup on an explicitly entered homeserver URL we should be training users to always enter their full MXID and then they never need to know anything about the homeserver URL.

1reaction
aaronraimistcommented, May 21, 2020

RiotX has implemented this now even though other Riots have not done so. A decision needs to be made so all clients implement it in the same way, otherwise it is confusing for users.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Well-known lookup for homeserver url · Issue #778 - GitHub
This issue is that matrix IDs aren't a supported login method with RiotX (see #476). If they were, then RiotX would have to...
Read more >
Federation API - Matrix.org
well-known /matrix/server. Gets information about the delegated server for server-server communication between Matrix homeservers. Servers should follow 30x ...
Read more >
Homeserver Sample Config File - Synapse
Below is a sample homeserver configuration file. The homeserver configuration file can be tweaked to change the behaviour of your homeserver. A restart...
Read more >
Homeserver URL does not seem to be a valid Matrix ...
Hello, I've setup Matrix on my server, and while initially all seemed to be working well it since is coming up with an...
Read more >
Frequently Asked Quest... - Element Knowledge
How do I link to my space outside of my Element Web? ... What are the benefits of paying for an EMS homeserver?...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found