Element-web: [FF71] Unable to decrypt: ConstraintError: A mutation operation in the transaction failed because a constraint was not satisfied.

Created on 5 Dec 2019  路  12Comments  路  Source: vector-im/element-web

Description

Encrypted rooms now show for each message:
** Unable to decrypt: ConstraintError: A mutation operation in the transaction failed because a constraint was not satisfied. **

Steps to reproduce

  • Login.
  • Set up key recovery.
  • Click "Restore from backup" to make sure keys get recovered.
  • Open any encrypted room.
  • Notice the "doesn't have keys" message has changed to the above "constraint error".

Version information

  • Platform: web (in-browser)

For the web app:

  • Browser: Firefox 71
  • OS: Fedora GNU/Linux
  • URL: riot.im/app (matrix-react-sdk version: <local>, riot-web version: 1.5.5, olm version: 3.1.3)
bug 馃敟 Fire 馃敟

All 12 comments

I should add that I can read encrypted rooms normally from the Android app.

@solstag Please go to the settings page and on the Help tab click "Submit debug logs", referencing this issue.

@solstag Please go to the settings page and on the Help tab click "Submit debug logs", referencing this issue.

Tried to, got : Failed to send logs: Failed to write logs: undefined

There's an option to "clear cache and reload", should I try that ? I have already tried .

Oh, this is firefox 71. I imagine this is https://github.com/vector-im/riot-web/issues/11606 then. I'll leave this open to triage.

@solstag are you using any particular settings in Firefox? Sometimes the privacy protection features interfere with the way Riot functions.

@solstag are you using any particular settings in Firefox? Sometimes the privacy protection features interfere with the way Riot functions.

Not that I know of, but perhaps defaults have changed? I have adblock, tried disabling it but no changes. Will try to login from a fresh profile.

Tried with a clean Firefox profile, same issue. Still can't send logs.

This may be related: the first time I access riot.im/app in a new profile, I get a strange message in a light red box:

Your Riot is misconfigured
Invalid homeserver discovery response

A second attemp renders the login screen. I created another profile and it happened again.

I'm experiencing the same problem w/ riot-1.5.5 and Firefox 71 on Voidlinux. The console log usually reads something like

~~
Error running command: getOutOfBandMembers indexeddb-worker.js:1:17088
[object Event] indexeddb-worker.js:1:17141
IndexedDBStore failure, degrading to MemoryStore [object Object]: ""
_onWorkerMessage indexeddb-remote-backend.js:208
NotificationUtils.js:32:4
TypeError: this.promise is undefined bluebird.js:3510:25
TypeError: this.promise is undefined bluebird.js:3510:25
TypeError: this.promise is undefined bluebird.js:3510:25
TypeError: this.promise is undefined bluebird.js:3510:25
~
~

I'm not sure if this is helpful but I'm also uncertain how to debug this since riot stops syncing (which looks like #11606 ) and behaves weirdly. I initially believed this to be connected to my cookie settings (which were quite restrictive) but have since experinced this in a clean profile too.

For those on Fedora, this Fedora bug seems to suggest the browser storage is broken in some way for Fedora's custom build of Firefox 71.

Closing this as a duplicate of #11606 , as it this ticket describes a different symptom of the same problem. Please look there for updates and workarounds.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

anoadragon453 picture anoadragon453  路  3Comments

NotAFile picture NotAFile  路  3Comments

MurzNN picture MurzNN  路  3Comments

bagage picture bagage  路  3Comments

nvbln picture nvbln  路  3Comments