element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.04k stars 1.96k forks source link

"Some of your messages have not been sent" message appears every time I open element #17589

Open Zachinquarantine opened 3 years ago

Zachinquarantine commented 3 years ago

Description

Whenever element restarts or I open the client, the "Some of your message have not been sent" issue shows up. (as pictured below) slika When I hit "Delete", my latest message gets cropped lengthwise: slika When I hit "Retry", or go to another room and then back to that chat, it disappears, but the ! logo remains. slika

Steps to reproduce

Version information

For the desktop app:

Zachinquarantine commented 3 years ago

sent logs

turt2live commented 3 years ago
2021-06-07T18:05:02.711Z E Cannot set read marker to a pending event ($redacted-0)
Error: Cannot set read marker to a pending event ($redacted-0)
    at F.setRoomReadMarkers (vector://vector/webapp/bundles/6f5c25b49711cab9c570/vendors~init.js:2:544428)
    at e.sendReadReceipt (vector://vector/webapp/bundles/6f5c25b49711cab9c570/vendors~init.js:2:1859667)
    at e.updateReadReceiptOnUserActivity (vector://vector/webapp/bundles/6f5c25b49711cab9c570/vendors~init.js:2:1866006)

this is the theme

novocaine commented 3 years ago

Possible duplicate of https://github.com/vector-im/element-web/issues/17078

Glandos commented 3 months ago

I got the same after a messy call (no Element call), and the "Delete all" button generate this:

Uncaught TypeError: e is undefined
    decryptEventIfNeeded client.ts:7772
    getEvents TimelinePanel.tsx:1731
    reloadEvents TimelinePanel.tsx:1684
    Kd TimelinePanel.tsx:925
    emit events.js:158
    emit typed-event-emitter.ts:89
    t ReEmitter.ts:55
    emit events.js:158
    emit typed-event-emitter.ts:89
    updatePendingEvent room.ts:2829
    updatePendingEventStatus client.ts:4854
    cancelPendingEvent client.ts:4419
    removeFromQueue Resend.ts:64
    cancelUnsentEvents Resend.ts:42
    cancelUnsentEvents Resend.ts:41
    _ RoomStatusBar.tsx:145
    React 11
    unstable_runWithPriority scheduler.production.min.js:18
    React

How can I generate more useful logs?