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

** Unable to decrypt: The sender's device has not sent us the keys for this message. ** #16163

Open
kevincox opened this issue Jan 15, 2021 · 13 comments
Labels
A-E2EE S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect

Comments

@kevincox
Copy link

kevincox commented Jan 15, 2021

Description

Can't read the message. Sent between devices that have been talking using e2ee for a long time.

Log: sent

image

Version information

  • Platform: All

For the web app:

  • Browser: Safari
  • OS: NixOS and macOS
  • URL: app.element.io
@kevincox
Copy link
Author

This was mostly to send logs which have been sent from the element-web interface. However I can not decrypt on any of my devices.

@kevincox
Copy link
Author

kevincox commented Jan 15, 2021

Instance of #2996

@kevincox
Copy link
Author

It is worth noting that subsequent messages sent from the same device were perfectly fine.

@jryans jryans added T-Other Questions, user support, anything else A-E2EE labels Jan 15, 2021
@jryans
Copy link
Collaborator

jryans commented Jan 22, 2021

I have forwarded this issue to our E2EE team to investigate what's going wrong here.

@kevincox
Copy link
Author

Thanks, this is ongoing. We just had an extended period of this issue today and I asked the sender to send logs from the Android app referencing this issue.

FWIW I now believe that this is an element-android issue as I think the sending device is to blame.

@kevincox
Copy link
Author

This instance has been restored when the app cache was cleared. Usually we didn't clear the cache, it just recovered on its own but this time it went on for an extended period of time so I suggested that the sender clear the cache. It could have been coincidence but messages sent after the cache clear were readable to all devices.

I also confirmed that the sender uploaded logs from the app. They did a shake and sent this URL in the description.

@uhoreg
Copy link
Member

uhoreg commented Jan 26, 2021

I was unable to do much with the first set of debug logs because we don't have the logs from the sender. With the second set, it looks like the problem started with a spurious network error on the sender's side. In theory, it should have been able to recover, but it could be that it's not working properly.

@kevincox
Copy link
Author

This is on a mobile phone so flakey network is likely if not expected.

@solomon-b
Copy link

This instance has been restored when the app cache was cleared. Usually we didn't clear the cache, it just recovered on its own but this time it went on for an extended period of time so I suggested that the sender clear the cache. It could have been coincidence but messages sent after the cache clear were readable to all devices.

I also confirmed that the sender uploaded logs from the app. They did a shake and sent this URL in the description.

How do you clear the app cache?

@jryans
Copy link
Collaborator

jryans commented Feb 1, 2021

How do you clear the app cache?

Top left user menu -> Settings -> Help -> Scroll down -> Click "Clear cache and reload" button

@akhilman
Copy link

akhilman commented Aug 8, 2021

I have similar issue.

The interlocutor can read my messages, but I can't read his messages with Unable to decrypt: The sender's device has not sent us the keys for this message error.

A while ago I had reset my keys by Settings -> Security & Privacy -> Encryption -> Secure Backup -> Reset. Since that I never able to read any message from my friend. The problem continues more than half of the year. We tried many times to create a new room. We also tried different clients, including element-web with multiple browser, nheko, fluffychat in my side, and element-web and element-android on another side. Always same result.

Here is recent try:
Room ID: !nAkgXNdTyzUuREuqGI:ru-matrix.org
My ID: @akhil:ru-matrix.org
Interlocutor's ID: @s6:matrix.org

From my side:
image
akhil.log

From interlocutor's side:
image
s6.log

@akhilman
Copy link

My issue solved by server admin. It was instance of matrix-org/synapse#6867.

@SimonBrandner SimonBrandner added T-Defect S-Major Severely degrades major functionality or product features, with no satisfactory workaround and removed T-Other Questions, user support, anything else labels Aug 15, 2021
@k79e
Copy link

k79e commented Oct 27, 2022

Have this problem too,
One of friend reinstalled the system, I think he formatted the partition,
So the old keys is deleted.

Now He says all information from a date (when he is not online) I sent to him is un-readable. It's can't decrypt.

But after he is online, we can normally chat, But he still can't read the information in above mentioned period.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect
Projects
None yet
Development

No branches or pull requests

7 participants