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

Decrypting messages shows IndexedDB transaction failure #14174

Open
jryans opened this issue Jun 24, 2020 · 7 comments
Open

Decrypting messages shows IndexedDB transaction failure #14174

jryans opened this issue Jun 24, 2020 · 7 comments
Labels
A-E2EE A-Storage Storage layer of the app, including IndexedDB, local storage, etc. O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect

Comments

@jryans
Copy link
Collaborator

jryans commented Jun 24, 2020

Some users are seeing "unable to decrypt: InvalidStateError: Failed to execute 'transaction' on 'IDBDatabase': the database connection is closing" on specific messages.

Debug logs suggest overall storage consistency passes, so that seems to make it distinct from #12410.

@jryans jryans added T-Defect A-E2EE A-Storage Storage layer of the app, including IndexedDB, local storage, etc. labels Jun 24, 2020
@QEDeD
Copy link

QEDeD commented Dec 18, 2020

Yesterday and Today, I've met the described error:

** Unable to decrypt: InvalidStateError: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing. **

Currently, I'm working around the issue by using "Clear cache and reload".

Ironically, I get the same error when I try to submit the debug log:
image

I noticed I was pretty close on disk space at the time of the bugs. So I figure that might have been related as noted elsewhere. So I guess the issue is the user should be made aware that the issue could be a lack of storage space.

@haslersn
Copy link

Our users were also experiencing this problem.

@nat1on
Copy link

nat1on commented Jun 16, 2021

Error msg:

** Unable to decrypt: InvalidStateError: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing. **
Re-request encryption keys from your other sessions.

it is shown instead of all chat messages in a single room. I have the same user session connected via android and there is no error. I tried to click on re-request encryption keys, but it didn't solve the issue. Last time I killed brave browser and relogged after which the messages were shown as expected and no errors. Debug logs fail to be sent with the same error.

@andreaspeters
Copy link

Some news to this issue?

@germain-gg germain-gg added O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround labels Oct 5, 2021
@JalilArfaoui
Copy link

Same issue on a single room … I don’t know how to fix without total uninstall/reinstall …

@richvdh
Copy link
Member

richvdh commented Jan 12, 2023

Related: #4014

@mddeff
Copy link

mddeff commented Jul 20, 2023

For those who come across this, the fix for me was to clear the cache on some of the larger sites (including the element web client) in my browser. It seems that my org puts a limit on chrome's cache, and I was bumping up against that. After deleting some sites I havent used in years that were taking up GBs, the web client had plenty of space to store stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE A-Storage Storage layer of the app, including IndexedDB, local storage, etc. O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect
Projects
None yet
Development

No branches or pull requests

9 participants