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

Can't sign out with error: This is not a valid Matrix server address #4855

Closed
MurzNN opened this issue Jan 5, 2022 · 5 comments · Fixed by #8463
Closed

Can't sign out with error: This is not a valid Matrix server address #4855

MurzNN opened this issue Jan 5, 2022 · 5 comments · Fixed by #8463
Labels
A-Logout O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect Something isn't working: bugs, crashes, hangs and other reported problems X-Needs-Product Issue needs input from Product team Z-Papercuts Visible. Impactful. Predictable to action.

Comments

@MurzNN
Copy link
Contributor

MurzNN commented Jan 5, 2022

Steps to reproduce

I can't sign out from account in Element-android with error: This is not a valid Matrix server address.
Pressing a "Retry" button don't help, pressing "Cancel" cancels the signing out process.

I've also submitted ragshake with logs.

So, if there is a real problem with server, why I can't simply logout from it, even with broken connection?

Outcome

What did you expect?

What happened instead?

Your phone model

No response

Operating system version

Android 10

Application version and app store

1.3.12 [40103122] (G-b5040)

Homeserver

Private HS

Will you send logs?

Yes

@MurzNN MurzNN added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Jan 5, 2022
@MurzNN
Copy link
Contributor Author

MurzNN commented Jan 5, 2022

Screenshot_20220105-090156

@MurzNN MurzNN changed the title Can't sign out from account in Element-android with error: This is not a valid Matrix server address Can't sign out with error: This is not a valid Matrix server address Jan 5, 2022
@HarHarLinks
Copy link
Contributor

HarHarLinks commented Jan 10, 2022

I'm running into the very same issue: the homeserver I am logged into has disappeared, now I can't log out.

The obvious workaround is un- and reinstalling the app without logging out, and deleting the session afterwards.

@ouchadam ouchadam added the X-Needs-Product Issue needs input from Product team label Jan 13, 2022
@ouchadam
Copy link
Contributor

ouchadam commented Jan 13, 2022

this error occurs when the app receives a 404 when trying to interact with a homeserver, we could simply ignore the error on sign out but it might be worth some messaging to display that the upstream account will not be invalidated.

I could imagine a dialog containing "We can't contact your homesever to sign you out" -> "cancel, retry, sign out anyway"

added needs product label to decide we if need extra messaging

@HarHarLinks
Copy link
Contributor

Imo as an admin/user, having your proposed extra dialogue makes sense. It should also offer to export local meg/olm keys, but not try to setup online backup.

@ouchadam ouchadam added A-Logout O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Impairs non-critical functionality or suitable workarounds exist Z-Papercuts Visible. Impactful. Predictable to action. labels Feb 7, 2022
@HarHarLinks
Copy link
Contributor

Steps to reproduce

  1. shut down your server
  2. try to log out

Outcome

What did you expect?

log out without deleting the session from server

What happened instead?

can't log out.

additionally, it keeps insisting I enable my key backup, even though server isn't reachable. also, I already have a key backup set up to make it even more confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Logout O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect Something isn't working: bugs, crashes, hangs and other reported problems X-Needs-Product Issue needs input from Product team Z-Papercuts Visible. Impactful. Predictable to action.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants