boxdot / gurk-rs

Signal Messenger client for terminal
GNU Affero General Public License v3.0
479 stars 36 forks source link

Lost messages #197

Closed boxdot closed 1 year ago

boxdot commented 1 year ago

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 1 year ago

Cf. https://github.com/whisperfish/presage/issues/79

gferon commented 1 year ago

JFYI, these messages don't seem to be very important as of today, and it's okay that they're skipped.

boxdot commented 1 year ago

Thank you for investigating. I will dig in into the on_message handler. Maybe we loose messages there.

gferon commented 1 year ago

The lost messages can be due do missing sessions or InvalidSignedPreKey which is another bug I've seen in the wild.