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

Users who have no access to matrix.org will NOT be able to connect to other accessible HS. #6718

Closed
lry127 opened this issue Aug 2, 2022 · 4 comments · Fixed by #6888
Closed
Assignees
Labels
T-Defect Something isn't working: bugs, crashes, hangs and other reported problems Z-FTUE Issue is relevant to the first time use project or experience Z-parity-with-ios

Comments

@lry127
Copy link

lry127 commented Aug 2, 2022

Steps to reproduce

  1. Since the login and register flows have been change in v1.4.30, users now who don't have access to matrix.org (in case matrix.org is blocked due to a firewall but some others are not) will lose their access to other accessible HS because they will always get a message says that there was an error connecting to HS when trying to sign up (the 1st screenshot) and log in. (the 2nd screenshot)
    register
    login

  2. But before v1.4.30, v1.4.28 for example, users will always be able to choose their preferred HS when signing up and logging in. (the 3rd screenshot, took in v1.4.28)
    OK

  3. So I think it will work perfectly that adding a button to both the register and login pages just like before (4th screenshot, button at bottom of the page) but keep the new flows, when they click that button, just redirect them to the new Select your server page (the last screenshot) without enforcing users to access matrix.org and so that fix this problem.
    image
    image

Outcome

What did you expect?

Being able to directly enter my HS address and receive no network IO exceptions when because of trying to access matrix.org.

What happened instead?

I have no way to directly enter my HS address and I have to connect to matrix.org, then as a result, running into network problems.

Your phone model

Huawei Y9

Operating system version

Android 9

Application version and app store

Element v1.4.30

Homeserver

matrix.org (problem HS), https://network.lan (my own HS in lan)

Will you send logs?

Yes

Are you willing to provide a PR?

Yes

@lry127 lry127 added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Aug 2, 2022
@ouchadam ouchadam added Z-FTUE Issue is relevant to the first time use project or experience Z-parity-with-ios labels Aug 18, 2022
@ouchadam ouchadam self-assigned this Aug 19, 2022
@ouchadam
Copy link
Contributor

ouchadam commented Aug 19, 2022

after speaking with product, we'll align with iOS element-hq/element-ios#6540 by showing the edit server selection on error (prefilled with the failing url)

@intzaaa
Copy link

intzaaa commented Oct 3, 2022

@ouchadam

The workaround to the problem needs to be improved, as this causes users to wait for a very long time because matrix.org returns ERR_CONNECTION_TIMED_OUT in China.

image

@du82
Copy link

du82 commented Apr 3, 2023

This is still a problem for many of my users that live in China

@hamedsbt
Copy link

Because the matrix.org has blocked in my country I unable to event reach the login screen.
With a VPN connection I was able to reach the login screen then I disconnected the VPN connection and tried with several home-servers but I recieved "invalid user/pass" error message.
As far as I know, I should be able to login with my account of matrix.org to a public home-server right?!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Defect Something isn't working: bugs, crashes, hangs and other reported problems Z-FTUE Issue is relevant to the first time use project or experience Z-parity-with-ios
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants