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

Potential crash loop on soft logout #5846

Closed
pixlwave opened this issue Mar 17, 2022 · 0 comments · Fixed by #5880
Closed

Potential crash loop on soft logout #5846

pixlwave opened this issue Mar 17, 2022 · 0 comments · Fixed by #5880
Assignees
Labels
A-Authentication S-Critical Prevents work, causes data loss and/or has no workaround T-Defect Something isn't working: bugs, crashes, hangs and other reported problems Z-WTF WTF issues: High impact, Low Effort

Comments

@pixlwave
Copy link
Member

pixlwave commented Mar 17, 2022

Some users have reported a crash loop when presented with the soft logout screen.

Description

If started without network access to the homeserver, it does not crash but the only view is as described above ("you're signed out", only interactable elements are "Clear all data" and "Forgot Matrix account"). After a few seconds, a dialog pops up saying only "Error", with the only button "Dismiss".

Dismissing it, there is now a red text saying "We failed to retrieve authentication information from the homeserver" and a blue "Retry" link.

Reconnecting to the network and clicking on the "Retry" link, there is now a password and log in button
...after which they could successfully log in

So the workaround seems to be to disable network, open the app and dismiss the error, click "retry", and then they can log in again

My guess would be: the homeserver signed them out (for whatever reason, like expired session), which triggers the above bug and crash-loop, introduced somewhere between 1.7.0 and 1.8.3 (since this behavior was not present prior to that)

@pixlwave pixlwave added T-Defect Something isn't working: bugs, crashes, hangs and other reported problems S-Critical Prevents work, causes data loss and/or has no workaround A-Authentication labels Mar 17, 2022
@pixlwave pixlwave self-assigned this Mar 17, 2022
@pixlwave pixlwave added the Z-WTF WTF issues: High impact, Low Effort label Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Authentication S-Critical Prevents work, causes data loss and/or has no workaround T-Defect Something isn't working: bugs, crashes, hangs and other reported problems Z-WTF WTF issues: High impact, Low Effort
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant