Calling Developers!
We are reenergizing our code contribution process! Learn More

What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hey guys, did someone experience an issue with sometime not delivered mails via AWS? AWS seems to ti

Options
michael.schmetter
michael.schmetter Posts: 119 🧑🏻‍🚀 - Cadet

Hey guys,
did someone experience an issue with sometime not delivered mails via AWS?
AWS seems to timeout during sending mails (sometimes):

[2022-11-28T18:41:13.247335+00:00] Zed.CRITICAL: Swift_TransportException - Expected response code 250 but got code "451", with message "451 4.4.2 Timeout waiting for data from client.
" in "/data/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php::459" {"exception":"[object] (Swift_TransportException(code: 451): Expected response code 250 but got code \"451\", with message \"451 4.4.2 Timeout waiting for data from client.
\" at /data/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:459)

Comments

  • U03QLJ6GDSM
    U03QLJ6GDSM Posts: 2 🧑🏻‍🚀 - Cadet
    Options

    Hi, we had the same problem with e-mail sending in the OMS. We have e-mail sending at multiple steps, and if it took a bit longer to process a step, we got the same error message. We found out, that the SwiftMailer uses the same connection in-between the steps and AWS closes connection after ~10 seconds. We solved that by closing the connection after every e-mail sending.