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

Server is returning 451, but the email is still appearing in the inbox #283

Closed
elliots opened this issue Apr 24, 2024 · 6 comments
Closed
Labels

Comments

@elliots
Copy link

elliots commented Apr 24, 2024

Hi, I'm sometimes getting Message failed: 451 4.3.5 Unable to process mail, but the message still appears. So when I retry and it works, I have two mails.

looks like maybe sending two messages at the same time, and theyre given the same tag?

time="2024/04/24 11:20:07" level=debug msg="[tags] adding tag \"si-on-app-requote_regression-1713921558073-00\" to BaTkmBUyYDuCmXbPZhiy8d"
time="2024/04/24 11:20:07" level=debug msg="[tags] adding tag \"si-on-app-requote_regression-1713921558073-00\" to 8g6ZAXhw6fRjRrWtwdSPCd"
time="2024/04/24 11:20:07" level=error msg="[db] error storing message: constraint failed: UNIQUE constraint failed: tags.Name (2067)"```
@axllent
Copy link
Owner

axllent commented Apr 24, 2024

Thanks for the details @elliots. It's hard to imagine that this could happen unless two separate parallel processes send an email at exactly the same time, both adding the same tag. Does this sound like what your end is doing?

@axllent
Copy link
Owner

axllent commented Apr 24, 2024

I have just released v1.17.1 which has a fix for this (or at least for what I presume is causing the error). Please confirm this fixes it for you?

Copy link

github-actions bot commented May 2, 2024

This issue has been marked as stale because it has been open for 7 days with no activity.

@github-actions github-actions bot added the stale label May 2, 2024
@elliots
Copy link
Author

elliots commented May 2, 2024

I’ll update and try it out, thankyou. I didn’t think I was setting that tag (I thought it was some built in tag set when receiving a message), but we must be! I’ll look closer.

@github-actions github-actions bot removed the stale label May 3, 2024
Copy link

This issue has been marked as stale because it has been open for 7 days with no activity.

@github-actions github-actions bot added the stale label May 10, 2024
Copy link

This issue was closed because there has been no activity since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants