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

Message decryption is taking a long time when opening a room #2298

Closed
Half-Shot opened this issue Oct 26, 2020 · 3 comments
Closed

Message decryption is taking a long time when opening a room #2298

Half-Shot opened this issue Oct 26, 2020 · 3 comments

Comments

@Half-Shot
Copy link
Member

Messages are taking a long time (+30m) to decrypt in rooms, presumably this is database slowness but could it really be this slow. Other devices/clients aren't showing any unable to decrypt errors.

Related issue: https://github.com/matrix-org/element-android-rageshakes/issues/16156

@MrCustomizer
Copy link

Is this by any chance related to #1721?

@Half-Shot
Copy link
Member Author

Yeah it could well be the same issue.

@BillCarsonFr
Copy link
Member

Hello, it looks like the crypto module has been jammed by fluffy chat key request spamming that leads to a crash in sync and a desync of olm sessions
1.0.10 (currently in process of beeing released) added mitigation to prevent key request jamming.
In parallel we started an effort to ensure atomicity of syncs to avoid such desync

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants