conversejs / converse.js

Web-based XMPP/Jabber chat client written in JavaScript
http://conversejs.org
Mozilla Public License 2.0
3.08k stars 772 forks source link

Part of the messages sent offline is lost #3253

Open member7me opened 1 year ago

member7me commented 1 year ago

Hello. Part of the messages sent offline are lost in converse.js. Messages are in the queue in offline_msg table of each member (if you check that table throught admin console). And after login in converse.js they disappear and are not delivered In other clients is working good (psi+, pidgin, monocles). converse.js 10.1.5 Tested browser - Mozilla Firefox last version.

jcbrand commented 1 year ago

There isn't much information to work with here. You can set loglevel to 'debug' and then check the browser's dev console to see whether the offline messages appear there when you log in to Converse.

You'll also see if there are any errors.

https://conversejs.org/docs/html/configuration.html?highlight=loglevel#loglevel

resoli commented 11 months ago

Same issue, in OMEMO MUC offline message are lost, after enabling loglevel: 'debug' I see messages like:

ERROR: Error No record for device test@<mydomain>/gajim.<resource-id>

log log.js:66
    error log.js:83
    pC utils.js:437
    pC utils.js:295
    hook events.js:59
    (Asinc.: promise callback)
    hook events.js:59
    hook events.js:59
    zf parsers.js:294
    o utils.js:80
    qp utils.js:81
    Hp utils.js:146
    Gp utils.js:215
    initialize index.js:48
    Pn events.js:281
    Ln events.js:264
    On events.js:50
    trigger events.js:254
    trigger events.js:33
    onRoomEntered muc.js:351
    onConnectionStatusChanged muc.js:370
    Pn events.js:282
    Ln events.js:264
    On events.js:50
    trigger events.js:254
    onOwnPresence muc.js:2694

and


Uncaught (in promise) Error: No record for device test@<mydomain>/gajim.<resource-id>

    decryptWhisperMessage libsignal-protocol.min.js:1
    promise callback*decryptWhisperMessage/< libsignal-protocol.min.js:1
    promise callback*queueJobForNumber libsignal-protocol.min.js:1
    decryptWhisperMessage libsignal-protocol.min.js:1
    pC utils.js:433
    pC utils.js:295
    hook events.js:59
    promise callback*3263/hook/< events.js:59
    hook events.js:59
    zf parsers.js:294
    o utils.js:80
    qp utils.js:81
    Hp utils.js:146
    Gp utils.js:215
    initialize index.js:48
    Pn events.js:281
    Ln events.js:264
    On events.js:50
    trigger events.js:254
    trigger events.js:33
    onRoomEntered muc.js:351
    onConnectionStatusChanged muc.js:370
    Pn events.js:282
    Ln events.js:264
    On events.js:50
    trigger events.js:254
    onOwnPresence muc.js:2694