converse.js icon indicating copy to clipboard operation
converse.js copied to clipboard

Part of the messages sent offline is lost

Open member7me opened this issue 2 years ago • 2 comments

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.

member7me avatar Aug 08 '23 14:08 member7me

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

jcbrand avatar Sep 29 '23 05:09 jcbrand

  • converse.js 10.1.6
  • Firefox 120.0.1 on ubuntu 20.04 LTS (from mozillateam package)

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

resoli avatar Dec 06 '23 14:12 resoli