Skip to content
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

The application is not able to create an account on this homeserver #17738

Open
traek opened this issue Sep 21, 2024 · 1 comment
Open

The application is not able to create an account on this homeserver #17738

traek opened this issue Sep 21, 2024 · 1 comment

Comments

@traek
Copy link

traek commented Sep 21, 2024

Description

I have configured a new homeserver that Element (Android) says it cannot create an account and prompts me to use a web client. This is a terrible user experience. See screenshot
6539ceee-091f-4727-b043-fc7f06b95902

Steps to reproduce

  • Open Element
  • Click Create Account
  • Change Server URL to my homeserver

Homeserver

https://ohana.chat

Synapse Version

1.115.0

Installation Method

Debian packages from packages.matrix.org

Database

PostgreSQL

Workers

Single process

Platform

Ubuntu 22.04.5

Configuration

Running a custom coTurn (on an external VPS hosted on DigitalOcean)
enable_registration: true
registration_requires_token: true (using Synapse-Admin to generate these)
auto_join_rooms (x2)
allow_guest_access: true (this is new but was receiving this error before enabling it)
server_notices
public_baseurl: https://ohana.chat
default_identity_server: https://matrix.org
web_client_location: https://web.ohana.chat/
serve_server_wellknown: true

Relevant log output

2024-09-21 01:30:51,363 - synapse.access.http.8008 - 473 - INFO - GET-7074 - 192.168.50.1 - 8008 - {None} Processed request: 0.000sec/0.000sec (0.000sec, 0.000sec) (0.000sec/0.000sec/0) 1038B 200 "GET /_matrix/client/versions HTTP/1.0" "Element/1.6.20 (Wingtech TMRV075G; Android 14; TMRV075G_0.08.18; Flavour GooglePlay; MatrixAndroidSdk2 1.6.20)" [0 dbevts]
2024-09-21 01:30:51,543 - synapse.access.http.8008 - 473 - INFO - GET-7075 - 192.168.50.1 - 8008 - {None} Processed request: 0.000sec/0.000sec (0.000sec, 0.000sec) (0.000sec/0.000sec/0) 1038B 200 "GET /_matrix/client/versions HTTP/1.0" "Element/1.6.20 (Wingtech TMRV075G; Android 14; TMRV075G_0.08.18; Flavour GooglePlay; MatrixAndroidSdk2 1.6.20)" [0 dbevts]
2024-09-21 01:30:51,600 - synapse.access.http.8008 - 473 - INFO - GET-7076 - 192.168.50.1 - 8008 - {None} Processed request: 0.000sec/0.000sec (0.000sec, 0.000sec) (0.000sec/0.000sec/0) 78B 200 "GET /_matrix/client/r0/login HTTP/1.0" "Element/1.6.20 (Wingtech TMRV075G; Android 14; TMRV075G_0.08.18; Flavour GooglePlay; MatrixAndroidSdk2 1.6.20)" [0 dbevts]
2024-09-21 01:30:51,841 - synapse.access.http.8008 - 473 - INFO - POST-7077 - 192.168.50.1 - 8008 - {None} Processed request: 0.049sec/0.000sec (0.000sec, 0.001sec) (0.000sec/0.047sec/2) 127B 401 "POST /_matrix/client/r0/register HTTP/1.0" "Element/1.6.20 (Wingtech TMRV075G; Android 14; TMRV075G_0.08.18; Flavour GooglePlay; MatrixAndroidSdk2 1.6.20)" [0 dbevts]

Anything else that would be useful to know?

My last server didn't have this problem and the only security I had was entering user emails on a case-by-case basis. Is this to do with registration tokens? If so, where is the documentation for this? If not, can I get a better error to show what about my homeserver the client is rejecting?

@spaetz
Copy link

spaetz commented Sep 21, 2024

Isn't your problem rather than legacy Element Android does not seem to support the use of tokens? registration_requires_token. I don't think that legacy Element Android will receive any major updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants