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

Error sending event Error: Cannot encrypt event in unconfigured room #27103

Open
MTRNord opened this issue Mar 2, 2024 · 3 comments
Open

Error sending event Error: Cannot encrypt event in unconfigured room #27103

MTRNord opened this issue Mar 2, 2024 · 3 comments
Labels
A-E2EE A-Element-R Issues affecting the port of Element's crypto layer to Rust O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Z-Labs

Comments

@MTRNord
Copy link
Contributor

MTRNord commented Mar 2, 2024

Steps to reproduce

Reload and write to an encrypted room

Outcome

What did you expect?

Normal operation

What happened instead?

Sending fails and console logs Error sending event Error: Cannot encrypt event in unconfigured room $room_id

Operating system

Fedora Silverblue 39

Browser information

Firefox 123.0 (64-Bit)

URL for webapp

develop.element.io

Application version

Version von Element: 946f355-react-5a0537b7eb39-js-b2e09250d9e6
Krypto-Version: Rust SDK 0.7.0 (b1918e9), Vodozemac 0.5.1

Homeserver

matrix.midnightthoughts.space

Will you send logs?

Yes

@MTRNord
Copy link
Contributor Author

MTRNord commented Mar 2, 2024

This seems to be possibly due to the room state for encryption being changed to:

{
  "algorithm": "m.megolm.v1.aes-sha2",
  "rotation_period_ms": 604800000,
  "rotation_period_msgs": 100
}

@MTRNord
Copy link
Contributor Author

MTRNord commented Mar 2, 2024

Also rolling back to the previous state fixes it.

@richvdh
Copy link
Member

richvdh commented Mar 4, 2024

Duplicate of #20247, possibly?

@richvdh richvdh added the A-Element-R Issues affecting the port of Element's crypto layer to Rust label Mar 4, 2024
@github-actions github-actions bot added the Z-Labs label Mar 4, 2024
@MidhunSureshR MidhunSureshR added S-Major Severely degrades major functionality or product features, with no satisfactory workaround O-Uncommon Most users are unlikely to come across this or unexpected workflow O-Occasional Affects or can be seen by some users regularly or most users rarely and removed O-Uncommon Most users are unlikely to come across this or unexpected workflow labels Mar 7, 2024
@github-actions github-actions bot removed the Z-Labs label Mar 7, 2024
@github-actions github-actions bot added the Z-Labs label Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE A-Element-R Issues affecting the port of Element's crypto layer to Rust O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Z-Labs
Projects
None yet
Development

No branches or pull requests

3 participants