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

Session lost on restart #1853

Open
Seltyk opened this issue Sep 1, 2024 · 5 comments
Open

Session lost on restart #1853

Seltyk opened this issue Sep 1, 2024 · 5 comments
Labels
A-Session-Mgmt Session / device names, management UI, etc. 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 X-Needs-Info This issue is blocked awaiting information from the reporter

Comments

@Seltyk
Copy link

Seltyk commented Sep 1, 2024

Steps to reproduce

  1. Start Element and log in as normal
  2. Quit without logging out (e.g. right click > quit on the tray, or rebooting the machine)
  3. Restart Element

Outcome

What did you expect?

Quitting and restarting should maintain the current session and encryption keys.

What happened instead?

A warning about incompatible versions and your session will be permanently lost. The session is forcibly logged out.

Related issue: 1495 which is where this mess began. I have never recovered nominal functionality since that fateful hiccup earlier this week.

Operating system

Void Linux

Application version

1.11.43, 1.11.72, and 1.11.76 have all shown this issue

How did you install the app?

Build from source and execute via yarn start

Homeserver

No response

Will you send logs?

No

@Seltyk Seltyk added the T-Defect label Sep 1, 2024
@dosubot dosubot bot added A-Session-Mgmt Session / device names, management UI, etc. 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 labels Sep 1, 2024
@MidhunSureshR MidhunSureshR added the X-Needs-Info This issue is blocked awaiting information from the reporter label Sep 5, 2024
@MidhunSureshR
Copy link
Member

MidhunSureshR commented Sep 5, 2024

Can you please submit screenshots and possibly logs? Not much we can do without it.

@aschaap
Copy link

aschaap commented Sep 6, 2024

Installing keytar manually via npm i -g keytar fixes this issue for me on Gentoo Linux, where element-desktop is installed using ebuilds from the PF4Public overlay (my bug describing this issue there: PF4Public/gentoo-overlay#371). I also received the warning that keytar and seshat were missing. Installing matrix-seshat in the same way did not result in it being detected by Element. I did not experience element-hq/element-web#28168 prior to this issue.

@meyou69
Copy link

meyou69 commented Oct 30, 2024

I can confirm that this also exists on Fedora linux as well.

Installing keytar isn't feasible for me, since I'm using Element inside a flatpak. Is there any solution that's being proposed to fix this?

@t3chguy
Copy link
Member

t3chguy commented Oct 31, 2024

@meyou69 https://github.com/flathub/im.riot.Riot/ for help with the flatpak

@ssnailed
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Session-Mgmt Session / device names, management UI, etc. 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 X-Needs-Info This issue is blocked awaiting information from the reporter
Projects
None yet
Development

No branches or pull requests

6 participants