-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Laravel 4.2 issue #1
Comments
I'm not an expert in these - but from my understanding, a problem is in OpenSSL, not SwiftMailer? Guys here as suggesting to lower down amount of data being sent - that is, you may be sending too much of stuff at once. |
PHP version? seems like a strange bug, do you have any backtrace to provide? it seems like an openssl odd things, that force write retry to not account the bytes returned as sent. Could be complex to avoid. And, indeed, do you have any timeline? like the duration of the process and the "idle time" between mails? Regards, Xavier |
Hi @xdecock , @YOzaz, Here is the log: Unfortunately I don't have the process duration but the idle time between mails is normally really long (1+ hours). Anyway I will try to see if by closing the SMTP connection I can solve the issue. Regards, |
yes, the 1+ hour will cause ssl session renegotiation in the best case, On Thu, Sep 3, 2015 at 12:33 PM, Jithu Jose notifications@github.com
Xavier De Cock |
Goes out of the package scope, specific to SSL certificate validation. |
I am using this package to solve the laravel issue 4573.
Unfortunately it's not working for me. After some time swiftmailer will start to throw
"bad write retry"
error and I've to keep restarting supervisord to temporarily solve the issue.Full error:
fwrite(): SSL operation failed with code 1. OpenSSL Error messages: error:1409F07F:SSL routines:SSL3_WRITE_PENDING:bad write retry
I am calling artisan like this from supervisord worker:
php artisan queue:work --queue=my_emails_tube --daemon --env=production
Any hints? Thank you.
The text was updated successfully, but these errors were encountered: