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

Stuck message due to failure to correlate /send with /sync

Open ara4n opened this issue 1 month ago • 3 comments

Steps to reproduce

  1. Sent message
  2. Message was apparently received
  3. Didn't get remote echo
  4. Therefore msg is stuck at the bottom of the timeline

Outcome

What did you expect?

Never to have stuck messages, especially as it could mean that msgs are going missing from /sync responses.

What happened instead?

Stuck msg.

Operating system

No response

Application version

Element version: 1.12.3 Crypto version: Rust SDK 0.14.0 (c3b7918), Vodozemac 0.9.0

How did you install the app?

No response

Homeserver

matrix.org

Will you send logs?

Yes

ara4n avatar Nov 18 '25 09:11 ara4n

Never to have stuck messages, especially as it could mean that msgs are going missing from /sync responses.

I should think that's exactly what it means. One for https://github.com/element-hq/synapse, no?

richvdh avatar Nov 18 '25 10:11 richvdh

Sorry, having looked properly at the rageshake, it looks to me like the problem is that the remote echo comes back while the initial /send was still in flight, and EW doesn't correct correlate it. It does look like an EW problem.

richvdh avatar Nov 18 '25 10:11 richvdh

There is definitely code to handle this, it requires unsigned.transaction_id to be included in the event down /sync I believe though

t3chguy avatar Nov 18 '25 10:11 t3chguy