Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failure to send read receipt if message is deleted after markseen is called #5710

Closed
adbenitez opened this issue Jun 20, 2024 · 0 comments · Fixed by #5712
Closed

failure to send read receipt if message is deleted after markseen is called #5710

adbenitez opened this issue Jun 20, 2024 · 0 comments · Fixed by #5712
Assignees
Labels
bot bug Something is not working

Comments

@adbenitez
Copy link
Collaborator

adbenitez commented Jun 20, 2024

I am calling markseen_msgs JSON-RPC API to mark incoming messages as seen, soon after, the incoming messages are deleted, sometimes it seems there are some race in core and the markseen fails even if the delete_messages is being called after the markseen_msgs call returns (see logs below)

Context:
I have some bots that handle sensitive information, like web gateways, they should forget/delete message requests with URLs as soon as they finish processing/replying to the user

Log:

Jun 20 15:01:17 bomba python[508379]: WARNING  src/smtp.rs:835: Error sending MDN for Msg#16597186, removing it:
Jun 20 15:01:17 bomba python[508379]:          Message Msg#16597186 does not exist.
Jun 20 15:01:17 bomba python[508379]: WARNING  src/scheduler.rs:770: send_smtp_messages failed: Failed to send MDNs:
Jun 20 15:01:17 bomba python[508379]:          Message Msg#16597186 does not exist.
Jun 20 15:01:18 bomba python[508379]: WARNING  src/quota.rs:141: cannot get highest quota usage: no quota_resource
Jun 20 15:01:18 bomba python[508379]:          found, this is unexpected
Jun 20 15:01:21 bomba python[508379]: WARNING  src/quota.rs:141: cannot get highest quota usage: no quota_resource
Jun 20 15:01:21 bomba python[508379]:          found, this is unexpected
Jun 20 15:01:21 bomba python[508379]: WARNING  src/smtp.rs:835: Error sending MDN for Msg#16597187, removing it:
Jun 20 15:01:21 bomba python[508379]:          Message Msg#16597187 does not exist.
Jun 20 15:01:21 bomba python[508379]: WARNING  src/scheduler.rs:770: send_smtp_messages failed: Failed to send MDNs:
Jun 20 15:01:21 bomba python[508379]:          Message Msg#16597187 does not exist.
@adbenitez adbenitez added the bot label Jun 20, 2024
@iequidoo iequidoo added the bug Something is not working label Jun 20, 2024
@link2xt link2xt self-assigned this Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot bug Something is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants