Comments (5)
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.
In either case - it would be good to ask @xdecock (SwiftMailer author) how to solve it, if that's possible.
A different (possibly, better?) solution would be to close SMTP connection at the end of job processing - see Coding For Daemon Queue Workers, by calling $transport->stop()
- in such case, you don't need my package at all. If you'll try that, and problem persists - I would definately search for a problem in server itself.
from laravel-swiftmailer.
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
from laravel-swiftmailer.
Hi @xdecock , @YOzaz,
I am running PHP 5.5.9 on ubuntu server 14.04 LTS.
Here is the log:
https://gist.github.com/jithujose/1ea9543f1a10e81d3a12
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,
JJ
from laravel-swiftmailer.
yes, the 1+ hour will cause ssl session renegotiation in the best case,
connection RST more probably, and is probably your issue.
On Thu, Sep 3, 2015 at 12:33 PM, Jithu Jose [email protected]
wrote:
Hi @xdecock https://github.com/xdecock , @YOzaz
https://github.com/YOzaz,
I am running PHP 5.5.9 on ubuntu server 14.04 LTS.Here is the log:
https://gist.github.com/jithujose/1ea9543f1a10e81d3a12Unfortunately 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,
JJ—
Reply to this email directly or view it on GitHub
#1 (comment)
.
Xavier De Cock
GPG Fingerprint: 93CA EE3F 9F57 5BE1 AE4A 794D 3C74 CA9E E7A5 0C1B
GPG Id: 0xE7A50C1B
from laravel-swiftmailer.
Goes out of the package scope, specific to SSL certificate validation.
from laravel-swiftmailer.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-swiftmailer.