Lost messages
boxdot opened this issue · 4 comments
boxdot commented
Some messages are lost by presage:
2022-11-01T20:29:20.068435Z ERROR presage::manager: Error opening envelope: SignalProtocolError(InvalidMessage(SenderKey, "unexpected message type for sealed_sender_decrypt")), message will be skipped!
Usually, I see this for group messages.
boxdot commented
gferon commented
JFYI, these messages don't seem to be very important as of today, and it's okay that they're skipped.
boxdot commented
Thank you for investigating. I will dig in into the on_message
handler. Maybe we loose messages there.
gferon commented
The lost messages can be due do missing sessions or InvalidSignedPreKey
which is another bug I've seen in the wild.