{"action":"created","issue":{"url":"https://api.github.com/repos/YOzaz/Laravel-SwiftMailer/issues/1","labels_url":"https://api.github.com/repos/YOzaz/Laravel-SwiftMailer/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/YOzaz/Laravel-SwiftMailer/issues/1/comments","events_url":"https://api.github.com/repos/YOzaz/Laravel-SwiftMailer/issues/1/events","html_url":"https://github.com/YOzaz/Laravel-SwiftMailer/issues/1","id":104529890,"number":1,"title":"Laravel 4.2 issue","user":{"login":"jithujose","id":316506,"avatar_url":"https://avatars.githubusercontent.com/u/316506?v=3","gravatar_id":"","url":"https://api.github.com/users/jithujose","html_url":"https://github.com/jithujose","followers_url":"https://api.github.com/users/jithujose/followers","following_url":"https://api.github.com/users/jithujose/following{/other_user}","gists_url":"https://api.github.com/users/jithujose/gists{/gist_id}","starred_url":"https://api.github.com/users/jithujose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jithujose/subscriptions","organizations_url":"https://api.github.com/users/jithujose/orgs","repos_url":"https://api.github.com/users/jithujose/repos","events_url":"https://api.github.com/users/jithujose/events{/privacy}","received_events_url":"https://api.github.com/users/jithujose/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-02T17:11:53Z","updated_at":"2015-09-03T10:36:05Z","closed_at":null,"body":"I am using this package to solve the [laravel issue 4573](https://github.com/laravel/framework/issues/4573).\r\n\r\nUnfortunately 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.\r\n\r\nFull error:\r\n`fwrite(): SSL operation failed with code 1. OpenSSL Error messages:\r\nerror:1409F07F:SSL routines:SSL3_WRITE_PENDING:bad write retry`\r\n\r\nI am calling artisan like this from supervisord worker:\r\n`php artisan queue:work --queue=my_emails_tube --daemon --env=production`\r\n\r\nAny hints? Thank you."},"comment":{"url":"https://api.github.com/repos/YOzaz/Laravel-SwiftMailer/issues/comments/137404560","html_url":"https://github.com/YOzaz/Laravel-SwiftMailer/issues/1#issuecomment-137404560","issue_url":"https://api.github.com/repos/YOzaz/Laravel-SwiftMailer/issues/1","id":137404560,"user":{"login":"xdecock","id":49789,"avatar_url":"https://avatars.githubusercontent.com/u/49789?v=3","gravatar_id":"","url":"https://api.github.com/users/xdecock","html_url":"https://github.com/xdecock","followers_url":"https://api.github.com/users/xdecock/followers","following_url":"https://api.github.com/users/xdecock/following{/other_user}","gists_url":"https://api.github.com/users/xdecock/gists{/gist_id}","starred_url":"https://api.github.com/users/xdecock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xdecock/subscriptions","organizations_url":"https://api.github.com/users/xdecock/orgs","repos_url":"https://api.github.com/users/xdecock/repos","events_url":"https://api.github.com/users/xdecock/events{/privacy}","received_events_url":"https://api.github.com/users/xdecock/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T10:36:05Z","updated_at":"2015-09-03T10:36:05Z","body":"yes, the 1+ hour will cause ssl session renegotiation in the best case,\nconnection RST more probably, and is probably your issue.\n\nOn Thu, Sep 3, 2015 at 12:33 PM, Jithu Jose <notifications@github.com>\nwrote:\n\n> Hi @xdecock <https://github.com/xdecock> , @YOzaz\n> <https://github.com/YOzaz>,\n> I am running PHP 5.5.9 on ubuntu server 14.04 LTS.\n>\n> Here is the log:\n> https://gist.github.com/jithujose/1ea9543f1a10e81d3a12\n>\n> Unfortunately I don't have the process duration but the idle time between\n> mails is normally really long (1+ hours).\n>\n> Anyway I will try to see if by closing the SMTP connection I can solve the\n> issue.\n>\n> Regards,\n> JJ\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/YOzaz/Laravel-SwiftMailer/issues/1#issuecomment-137404214>\n> .\n>\n\n\n\n-- \nXavier De Cock\nGPG Fingerprint: 93CA EE3F 9F57 5BE1 AE4A  794D 3C74 CA9E E7A5 0C1B\nGPG Id: 0xE7A50C1B\n"}}