-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
error sending message '[Title]': remote error: tls: user canceled #1717
Comments
hm, sounds like an an SMTP/TLS configuration issue. What SMTP provider are you using? |
Unable to reproduce this with SES in production. Could've something to do with network configuration. |
Also getting this problem with SES. |
I just started getting this with SES as well on v2.5.1. I've been sending 2-3k emails per day without issue and gradually increased it to 50k, and it happened for the first time now even though my SES limit is 500k.
Per the timestamps, it looks like it happened to 21 users about halfway through and then carried on normally. Are you saying this has to do with my server provider (Hetzner)? EDIT: if anyone wants to try resending the emails to only the errored subscribers, here are directions: #1629 (comment) |
I tried lowering the send rate from 10x10 to 10x7 and then 10x5 and it still happens. I thought it might be the recipient email server (gmail, hotmail, etc.) rejecting my emails, but looking at the subscribers it failed for, they're very diverse. IE: they're not all from gmail or hotmail, but many providers. After lowering it to 10x5 it didn't take long for it to start giving errors, and then the errors occurred sporadically throughout:
So from 8:58 to 9:18 it couldn't have even sent that many messages at 10x5. |
I found this https://stackoverflow.com/questions/49111453/sending-email-with-aws-ses-via-smtp-error-421 which says it might be solved by changing the port. Here's another discussion on that: TLS port 465 vs STARTTLS port 587 I switched to STARTTLS 587 and got the exact same errors. |
@knadh An Amazon expert replied: https://repost.aws/questions/QULOBzwPLMS2GkrUgOjWNshQ/amazon-ses-remote-error-tls-user-canceled-421-connection-closed-by-server-too-many-messages-in-one-session
|
Hetzner says it's not a limitation on their end. So the solution seems to be increasing the default "retries" from 2 to 4 under Does listmonk have a progressive delay? If not, that would be the solution no? |
Version:
Description of the bug and steps to reproduce:
Getting TLS error after a specific time interval when logged in the application.
Screenshots:
The text was updated successfully, but these errors were encountered: