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

Unable to restore session on every startup #1568

Open
johannes-krude opened this issue Mar 12, 2024 · 1 comment
Open

Unable to restore session on every startup #1568

johannes-krude opened this issue Mar 12, 2024 · 1 comment
Labels
A-E2EE-Key-Backup O-Occasional Affects or can be seen by some users regularly or most users rarely S-Critical Prevents work, causes data loss and/or has no workaround T-Defect

Comments

@johannes-krude
Copy link

johannes-krude commented Mar 12, 2024

Steps to reproduce

  1. Login into Element Desktop
  2. Close Element Desktop
  3. Start Element Desktop
  4. "Unable to restore session" appears
  5. Click "Clear Storage and Sign out"
  6. Signing in waits forever, but never succeeds
  7. rm -r .config/Element to get Element Desktop into a usable state
  8. Now, login into Element Desktop succeds

Additionally, Element Desktop fails to recover encryption keys from server key backup, but successfully imports encryption keys from a file which are saved in element-web from firefox.

Operating system

Ubuntu 22.04.4 LTS

Application version

1.11.59

How did you install the app?

deb https://packages.element.io/debian/ default main

Homeserver

comsys.rwth-aachen.de

Will you send logs?

Yes

@t3chguy t3chguy transferred this issue from element-hq/element-web Mar 13, 2024
@MidhunSureshR MidhunSureshR added O-Occasional Affects or can be seen by some users regularly or most users rarely S-Critical Prevents work, causes data loss and/or has no workaround A-E2EE-Key-Backup labels Apr 1, 2024
@johannes-krude
Copy link
Author

With 1.11.63, element-desktop now shows a different error message on startup:

Missing session data
Some session data, including encrypted message keys, is missing. Sign out and sign in to fix this, restoring keys from backup.

Your browser likely removed this data when running low on disk space. To help us prevent this in future, please send us logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE-Key-Backup O-Occasional Affects or can be seen by some users regularly or most users rarely S-Critical Prevents work, causes data loss and/or has no workaround T-Defect
Projects
None yet
Development

No branches or pull requests

2 participants