Closed Satanepigone closed 2 years ago
In order for the first method to work, your server needs to provide a proper .well-known/matrix/client:
Example how it should look: https://schildi.chat/.well-known/matrix/client (base url should be https://tusooa.xyz for you) Your server returns a 404: https://tusooa.xyz/.well-known/matrix/client
Well-known is NOT required as per https://spec.matrix.org/v1.4/client-server-api/#server-discovery .
IGNORE Stop the current auto-discovery mechanism. If no more auto-discovery mechanisms are available, then the client may use other methods of determining the required parameters, such as prompting the user, or using default values.
Make a GET request to https://hostname/.well-known/matrix/client. If the returned status code is 404, then IGNORE.
We properly return a 404, so the client should use default value of tusooa.xyz .
Then please test and report on Element, if this issue still exists.
may use other methods of determining the required parameters, such as prompting the user, or using default values.
Doesn't sound like it must use default values here though. (Obviously would be nicer for the user if it did though. But I'll leave that to the Element people.)
Note to self: if this works with Element but not with SchildiChat right now, related issue: https://github.com/SchildiChat/SchildiChat-android/issues/145
I was trying to login using homeserver 'tusooa.xyz`.
1st try: "Sign in with Matrix ID" Matrix ID:
@xxxxx:tusooa.xyz
Password:yyyyyyyy
Error msg: "Unable to find a valid homeserver. Please check your identifier"
2nd try: "Custom server: Address:
https://tusooa.xyz/
press "Continue" -> press "Sign In" Username:xxxxx
Password:yyyyyyyy
Successfully login!
Hardware: Google Pixel 4XL OS: Android 12 (SQ3A.220705.003.A1) SchildiChat was installed through Goolge Play.