element-android icon indicating copy to clipboard operation
element-android copied to clipboard

Waiting for this message, this may take a while.

Open 532910 opened this issue 6 years ago • 244 comments

Phone was updated from the latest stable riot-android to element via GPlay (no beta subscription)

Now all messages in all e2ee direct chats including new messages are: Waiting for this message, this may take a while.

After update the phone was verified via pitcture sequence with riot-web. All contacts are verified and has green point/shield on all devices, all contacts are on my own synapse instance (1.15.1-1 debian stable).

image

Cross-signing is enables, Keys are trusted, Private keys are not known: image

I tried to clear cache and to restart phone without sucess.

532910 avatar Jul 18 '20 02:07 532910

Trying to re-verify (Secure Backup -> Set up on this device) this phone gives:

via QR code both devices shows error: image

via image set the phone shows: image riot-web says:

Verify other session
Verification cancelled

You cancelled verification. Start verification again from the notification.
[Clear]

532910 avatar Jul 18 '20 02:07 532910

Restoring messages from backup decrypts all messages. Newly received messages after backup recovery are shown as Waiting for this message, this may take a while. Restoring messages from backup again decrypts all messages, even just received before this restore.

532910 avatar Jul 20 '20 23:07 532910

Is any update there? It's completely impossible to use Element after upgrade!

532910 avatar Jul 21 '20 14:07 532910

Right now, after restoring messages from backup it says:

Cross-Signing is enabled
Private Keys on device

But still shows new messages as Waiting for this message, this may take a while

532910 avatar Jul 21 '20 14:07 532910

I know someone who also gets the Waiting for this message, this may take a while message a lot. It can take several hours for the messages to resolve but they eventually do.

jtrees avatar Jul 28 '20 08:07 jtrees

Nothing has changed after more than a week of waiting, so I had to reinstall Element.

532910 avatar Jul 28 '20 16:07 532910

My parents have the same issue when talking between them. They do resolve after 24 hours or more, but of course that makes it impossible to have a proper conversation. Please give this issue some priority, beside the vague text it's more than just an UX bug!

PureTryOut avatar Jul 29 '20 19:07 PureTryOut

Hello, can you please give more information on the element version of both devices?

Also could you check the security settings on both devices (is Encrypt to verified session only is ON?) image

Do you have other sessions? The fact that key backup import is able to decrypt could mean that your other session are getting the keys and uploading them to backup. So it could be possible that your device is not getting the keys.

Go to settings > Advanced > and enable developper mode, this will allow you to see more about the error, if you go back to the room, what do you see for the errors?

Did you submit some rageshake (top righ button in home screen > report bug; add reference to issue matrix-org/matrix-spec-proposals#1607 ?

BillCarsonFr avatar Aug 03 '20 14:08 BillCarsonFr

Speaking for my parents here, as I don't have this issue myself.

They use the latest version from the Google Play store, so whatever version that is. They don't have "Encrypt to verified session only" on. They have other sessions, for both a tablet and a laptop (so webbrowser) at least.

I'll ask them to enable developer mode and submit a rageshake. Thanks for looking in to it!

PureTryOut avatar Aug 03 '20 15:08 PureTryOut

element version

the latest available on GPlay

Encrypt to verified session only is OFF.

have other sessions?

Yes.

532910 avatar Aug 03 '20 16:08 532910

A few users on my server have reported this issue to me. Seems like this is still happening. Any news on workarounds/solutions?

MrCustomizer avatar Oct 27 '20 18:10 MrCustomizer

It happened to me today after I cleared cache on Element installed on Android phone. I use Element 1.0.9[40100092]. In developer mode message says that sender's device didn't send keys. Before I cleared cache those messages were properly decrypted. I have 4 sessions (3x Firefox and one phone - the issue affected phone only), 2 of them are open and devices that were used sent affected messages are also on so at very least they should resent needed keys.

I don't have cross signing enabled. I verify all session manually.

aczerniak avatar Oct 28 '20 19:10 aczerniak

Here on matrix-synapse-py3 1.22.1 (server), a user on the android client (update 19 Oct 2020) reported the same problem. "Waiting for this message, this might take a while" for all the messages from a particular user starting at some date in e2e encrypted channels. The user with the bug can still receive messages from other users on the same channels.

thomashoullier avatar Oct 31 '20 09:10 thomashoullier

A user just reported me this issue on the matrix.org server.

lasselin avatar Nov 02 '20 15:11 lasselin

Have the same issue from time to time with different users (and some small group chats). This did not happen with 1.0.8 and earlier (all from F-Droid) All accounts on matrix.org.

akallabeth avatar Nov 03 '20 08:11 akallabeth

Getting this for the first time today. Didn't change anything and was working fine yesterday. Encrypt to verified sessions only is off.

Screenshot_20201120-204111

austinbutler avatar Nov 21 '20 04:11 austinbutler

I'm getting this one a newly activated device after I did the cross-sign verification (Element Android 1.0.11 [40100112] (G-b847)).

gtirloni avatar Dec 07 '20 23:12 gtirloni

My wife also runs into this bug on her Element installation on Android (Play Store). There is a strange behavior: As long as she stays at home connected to Wifi network, the issue does not appear. But as soon as the smartphone is using mobile LTE internet, it happened several times that I received these messages from her which never got decrypted.

smeyersdev avatar Dec 19 '20 20:12 smeyersdev

Indeed @smeyersdev, I observed the same behaviour sporadically on poor quality connections. It appears to be related to instability of the connection.

jrozanski avatar Jan 05 '21 08:01 jrozanski

This seems to depend on the session sending the message. In one of my conversations, I have interleaving messages from different devices (same user), and only the messages from one of the devices are stuck in "Waiting for this message, this may take a while".

dalcde avatar May 10 '21 02:05 dalcde