Certain messages are not available after re-login
See original GitHub issueSteps to reproduce
- I was using Element 1.11.8 on Mac.
- Logged out.
- Reset the password.
- Logged in again.
- In all chats, I could only see the last 2-3 messages (and no loading animation or something), the content of all of which was not shown due to the error:
** Unable to decrypt: The sender's device has not sent us the keys for this message. **
. - After about 20 seconds messages in the chat got loaded and I could see their content except that some messages (in my case: 2 last messages from the 1:1 chat) are not shown due
** Unable to decrypt: The sender's device has not sent us the keys for this message. **
error. Clicking on “Re-request encryption keys” only says “Key request sent.”, but the content of the message is still not shown. - Meanwhile all other messages (the content of which has been successfully decrypted) have a grey shield icon, where each incoming message has a tooltip
The authenticity of this encrypted message can't be guaranteed on this device.
while all outgoing haveEncrypted by a deleted session
. - The other person in the 1:1 chat gets online and we start talking, but the aforementioned 2 messages are still not available. One of those 2 messages turned into
** Unable to decrypt: Error: OLM.UNKNOWN_MESSAGE_INDEX **
error once that other person got online.
The issue is related to several other issues, so I was not sure if it’s existing but with a new reproduction scenario or a new one, I think it might be related to these:
- https://github.com/vector-im/element-web/issues?q=is%3Aissue+is%3Aopen+OLM.UNKNOWN_MESSAGE_INDEX
- https://github.com/vector-im/element-web/issues?q=is%3Aopen+is%3Aissue+sort%3Areactions-%2B1-desc+*+Unable+to+decrypt%3A+The+sender's+device+has+not+sent+us+the+keys+for+this+message.+**
So quite a few related issues, so I decided to create a new one to describe the reproduction steps (so that in the worst case I just provide more info for the dev folks in order to be added to the tracking issue).
Outcome
What did you expect?
I just wanted to see my messages after logging in.
What happened instead?
Certain messages cannot be decrypted and have quite an “unfriendly” (from the user perspective) error and I have to ask the person to re-send the messages telling them that what they sent to me is not readable on my device for some unknown reason, that’s a bit embarrassing.
Operating system
Mac OS Big Sur
Application version
Element 1.11.8
How did you install the app?
From the official web-site
Homeserver
matrix.org
Will you send logs?
Yes
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top GitHub Comments
@uhoreg
When will device hydration finally be implemented? There are so many bug reports here that stem from the lack of this long-awaited and absolutely essential feature.
same here. Was about to connect to VPN, and in this momen my interlocutor sent me a message. This was unable to decrypt. But the worse thing, that ALL of messages after it in this session were unable to decrypt.