Skip to content

[Mailer] SMTP transport with AWS SES: "Timeout waiting for data from client" #39044

Closed
@arjanfrans

Description

@arjanfrans

Symfony version(s) affected: 4.4.16, 5.2

Description
Our system sends e-mails asynchronously using the Messenger component. Two messenger consumers are running in the background with Supervisor. We use Doctrine for our message transport and AWS SES over SMTP for e-mails. On our production system we are seeing the following error occur. This issue was already described here: #36301. A PR was merged, but we are still seeing this problem.

Symfony\Component\Mailer\Exception\TransportException

Expected response code "250" but got code "451", with message "451 4.4.2 Timeout waiting for data from client.".

After the messages fail for the first time, they will get retried. Eventually after one or two retries they do get send successfully.

How to reproduce
See #36301

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions