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

Missing session data #16078

Closed
zsinskri opened this issue Jan 5, 2021 · 8 comments
Closed

Missing session data #16078

zsinskri opened this issue Jan 5, 2021 · 8 comments
Labels
A-Packaging Packaging, signing, releasing A-Storage Storage layer of the app, including IndexedDB, local storage, etc. T-Other Questions, user support, anything else

Comments

@zsinskri
Copy link

zsinskri commented Jan 5, 2021

Description

After rebooting my laptop, Element Desktop has signed me out.

Steps to reproduce

Unknown, I don't expect to be able to reproduce this, it did never happen before.

Logs being sent: yes

image

Version information

  • Platform: Element Desktop

For the desktop app:

  • OS: Guix GNU/Linux
  • Version: 1.7.16 from flathub
@zsinskri
Copy link
Author

zsinskri commented Jan 5, 2021

I also have captured Element's stdout/stderr. --- booting shepherd --- lines correspond to PC boots, Connecting...... is from nm-online -t 8:

--- booting shepherd ---
Connecting...............    8s [online]
/home/zsin/.var/app/im.riot.Riot/config/Element exists: yes
/home/zsin/.var/app/im.riot.Riot/config/Riot exists: no
Starting auto update with base URL: https://packages.riot.im/desktop/update/
Auto update not supported on this platform
Error getting the event index passphrase out of the secret store [Error: org.freedesktop.DBus.Error.ServiceUnknown]
[fake-sandbox: zypak-sandbox] No data could be read (host died?)
[fake-sandbox: zypak-sandbox] Quitting Zygote...
Connecting.                  8sTerminated
/home/zsin/.var/app/im.riot.Riot/config/Element exists: yes
/home/zsin/.var/app/im.riot.Riot/config/Riot exists: no
--- booting shepherd ---
Connecting...............    8s [online]
/home/zsin/.var/app/im.riot.Riot/config/Element exists: yes
/home/zsin/.var/app/im.riot.Riot/config/Riot exists: no
Starting auto update with base URL: https://packages.riot.im/desktop/update/
Auto update not supported on this platform
Error getting the event index passphrase out of the secret store [Error: org.freedesktop.DBus.Error.ServiceUnknown]
--- booting shepherd ---
Connecting...............    8s [online]
/home/zsin/.var/app/im.riot.Riot/config/Element exists: yes
/home/zsin/.var/app/im.riot.Riot/config/Riot exists: no
Starting auto update with base URL: https://packages.riot.im/desktop/update/
Auto update not supported on this platform
Error getting the event index passphrase out of the secret store [Error: org.freedesktop.DBus.Error.ServiceUnknown]
[fake-sandbox: zypak-sandbox] No data could be read (host died?)
[fake-sandbox: zypak-sandbox] Quitting Zygote...
Error: Could not create NMClient object: Could not connect: No such file or directory
/home/zsin/.var/app/im.riot.Riot/config/Element exists: yes
/home/zsin/.var/app/im.riot.Riot/config/Riot exists: no
[fake-sandbox: zypak-sandbox] No data could be read (host died?)
[fake-sandbox: zypak-sandbox] Quitting Zygote...
Error: Could not create NMClient object: Could not connect: No such file or directory
--- booting shepherd ---
Connecting...............    8s [online]
/home/zsin/.var/app/im.riot.Riot/config/Element exists: yes
/home/zsin/.var/app/im.riot.Riot/config/Riot exists: no
Starting auto update with base URL: https://packages.riot.im/desktop/update/
Auto update not supported on this platform
Error getting the event index passphrase out of the secret store [Error: org.freedesktop.DBus.Error.ServiceUnknown]
Error getting the event index passphrase out of the secret store [Error: org.freedesktop.DBus.Error.ServiceUnknown]

The last one is the instance the showed above error message.

@zsinskri
Copy link
Author

zsinskri commented Jan 5, 2021

Interestingly after loging in I was on the light theme, but by restarting the dark theme was restored.

Also the "Security & Privacy" settings show the old session in a bold font (i.e. as active?) but the "Last seen" date is updated on the new session.

@zsinskri
Copy link
Author

zsinskri commented Jan 6, 2021

Another restart and I'm logged out again, this time without popup message.

I removed ~/.var/app/im.riot.Riot and now have a third session created on this device. This session is both shown in bold and updates it's Last seen date.

I've again send the debug logs.

Oh, and now I'm also experiencing #14323. Though not only for DMs.

@jryans jryans added T-Other Questions, user support, anything else A-Packaging Packaging, signing, releasing A-Storage Storage layer of the app, including IndexedDB, local storage, etc. and removed T-Defect labels Feb 1, 2021
@jryans
Copy link
Collaborator

jryans commented Feb 1, 2021

Thanks for filing and sorry for these troubles. The debug logs unfortunately don't provide much additional insight... Mainly they just emphasise that the app storage was somehow cleared.

You mentioned that you are using the Flathub package... This is an unofficial package that is community maintained. It's possible that Flathub sandboxing might be getting in the way here...?

@zsinskri
Copy link
Author

The same issue happened shortly after to someone using the Flatpak on Ubuntu. Migrating them to the official deb / apt-repo has apparently prevented the issue from reoccurring.

To me on Flatpak (can't install the deb as easily on GNU Guix) it did happen a few additional times early on, though now it's been stable for quite some time.

So it seems the Issue was infact with the Flatpak packaging (and even that might be resolved by now).

… thanks for the great app, anyways!

@dylangerdaly
Copy link

This has happened to me just now, it's happened before also.

@dylangerdaly
Copy link

It's literally wiped E2EE Seshat (EventStore)

@SimonBrandner
Copy link
Contributor

@dylangerdaly, please open a new issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Packaging Packaging, signing, releasing A-Storage Storage layer of the app, including IndexedDB, local storage, etc. T-Other Questions, user support, anything else
Projects
None yet
Development

No branches or pull requests

4 participants