-
Notifications
You must be signed in to change notification settings - Fork 782
Signin does not work on server with registration disabled #5874
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
Comments
I'm having this issue too. |
This just happened to me as well, although I came by it another way, setting up a new user with an account that I had created manually. As late as last week I was able to launch Element for the first time, select "Other" for my server, then under "connect to a custom server" I could enter the address for my homeserver, ie., https://matrix.xxxxxxx.org/. at that point it would let me continue to the next screen where I could enter my username and password for that server. Now, however, when I am on that screen I get an error message stating "Registration has been disabled" when I'm on the "Connect to a custom server" screen. |
I came here to report this as well. Logs from synapse: 2022-05-01 15:59:26,923 - synapse.access.http.8008 - 427 - INFO - GET-5550 - [REDACTED] - 8008 - {None} Processed request: 0.000sec/0.001sec (0.000sec, 0.000sec) (0.000sec/0.000sec/0) 558B 200 "GET /_matrix/client/versions HTTP/1.1" "Element/1.
4.13 (Linux; U; Android 12; Pixel 4 Build/SP2A.220405.00; Flavour GooglePlay; MatrixAndroidSdk2 1.4.13)" [0 dbevts]
2022-05-01 15:59:26,943 - synapse.access.http.8008 - 427 - INFO - GET-5551 - [REDACTED] - 8008 - {None} Processed request: 0.000sec/0.001sec (0.000sec, 0.000sec) (0.000sec/0.000sec/0) 136B 200 "GET /_matrix/client/r0/login HTTP/1.1" "Element/1.
4.13 (Linux; U; Android 12; Pixel 4 Build/SP2A.220405.00; Flavour GooglePlay; MatrixAndroidSdk2 1.4.13)" [0 dbevts]
2022-05-01 15:59:27,274 - synapse.http.server - 95 - INFO - POST-5552 - <XForwardedForRequest at 0xffff872be7c0 method='POST' uri='/_matrix/client/r0/register' clientproto='HTTP/1.1' site='8008'> SynapseError: 403 - Registration has been disabled
2022-05-01 15:59:27,275 - synapse.access.http.8008 - 427 - INFO - POST-5552 - [REDACTED] - 8008 - {None} Processed request: 0.001sec/0.001sec (0.000sec, 0.000sec) (0.000sec/0.000sec/0) 66B 403 "POST /_matrix/client/r0/register HTTP/1.1" "Elemen
t/1.4.13 (Linux; U; Android 12; Pixel 4 Build/SP2A.220405.00; Flavour GooglePlay; MatrixAndroidSdk2 1.4.13)" [0 dbevts] This does not happen with the desktop client. |
Can also confirm. I had to temporarily enable registration to get some people in. |
Removing v1.4.13 and installing v1.4.11 manually login works. |
Hi, I was wondering why people had issues with login. Turns out that the option to login is pushed out of view on lower resolution phones. Scrolling down on the selection screen will reveal the new login button. Apparently the other buttons are for registration only now, which is a weird thing to change. |
I just tested that, and it isn't correct. If you click "Sign in with Matrix ID" and try to enter a user connected with any other homeserver than matrix.org it will not let you log in. Instead what you're supposed to do is pick "other" on the screen shot posted, and enter in the address of the homeserver prior to this week doing that would let you progress to another screen where you could then log in. Now it fails with the registration related error. This a bug. |
For what it's worth, the "other" option is what gives me the error when logging in, and "Sign in with Matrix ID" appears to work. |
Hi. I can confirm that we have the same problem : Error message : Registration has been disabled.. Connection fails using the Other option and also with Matrix ID when you try to connect to your homeserver with an already created account. When you uninstall the 1.4.13 release and install back the 1.4.11 one (using apk) you can connect back to your homeserver without any problem. Maybe a Register method launched instead of a Login/SignIn one in the diff code between 1.4.11 an 1.4.12 release. |
also affected by this, have no way to log into my home server, as matrix ID option won't work either. Confusing thing is, I don't have registration disabled, just use the registration token option. |
Hello |
I'm having this issue too. |
am able to reproduce the issue on my side, working on a fix. it's worth noting that |
No, with .wellknown don't work too. |
Other flow fixed in 1.4.14 with #5928 what's the error you're seeing with
https://iswell.cool/.well-known/matrix/client
|
Ah, that explains why it was working for me and not other people. |
when I tried the matrix ID option it complained about invalid credentials, iirc. |
Tested in 1.4.14 Confirm all works as expected via custom server |
thanks for confirming! |
Hi, |
Steps to reproduce
Outcome
Tell the homeserver to log in.
The error appears when informing the homeserver (to login), with an alert that the server does not allow registration
Your phone model
Xiaomi Poco F3
Operating system version
Android 12
Application version and app store
Element Version 1.4.12 and 1.4.13
Homeserver
Sunapse Version 1.57.1
Will you send logs?
No
The text was updated successfully, but these errors were encountered: