matrix-org / matrix-js-sdk

Matrix Client-Server SDK for JavaScript
Apache License 2.0
1.62k stars 590 forks source link

Sometimes matrix js sdk will partially crash #4433

Open Porianesu opened 1 month ago

Porianesu commented 1 month ago

Sometimes matrix js sdk will partially crash. At this point, some functions similar to queueToDevice will not be available and will report the error 'failed to exclude transaction'. When checking the console's IndexDB, it will be found that the entire crypto store database has disappeared, leaving only a name. But the sendMessage function can still be used, and the sent message can only be seen by oneself, not by the other party. Is there any way to detect this scene.

richvdh commented 1 month ago

At this point, some functions similar to queueToDevice will not be available and will report the error 'failed to exclude transaction'

Failed to exclude transaction? Are you sure?

Could you paste the exact exception you are seeing?