{"action":"created","issue":{"url":"https://api.github.com/repos/kennethreitz/requests/issues/3337","repository_url":"https://api.github.com/repos/kennethreitz/requests","labels_url":"https://api.github.com/repos/kennethreitz/requests/issues/3337/labels{/name}","comments_url":"https://api.github.com/repos/kennethreitz/requests/issues/3337/comments","events_url":"https://api.github.com/repos/kennethreitz/requests/issues/3337/events","html_url":"https://github.com/kennethreitz/requests/issues/3337","id":160415540,"number":3337,"title":"SSLError: [Errno bad handshake] (-1, 'Unexpected EOF')","user":{"login":"PabloLefort","id":15658015,"avatar_url":"https://avatars.githubusercontent.com/u/15658015?v=3","gravatar_id":"","url":"https://api.github.com/users/PabloLefort","html_url":"https://github.com/PabloLefort","followers_url":"https://api.github.com/users/PabloLefort/followers","following_url":"https://api.github.com/users/PabloLefort/following{/other_user}","gists_url":"https://api.github.com/users/PabloLefort/gists{/gist_id}","starred_url":"https://api.github.com/users/PabloLefort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PabloLefort/subscriptions","organizations_url":"https://api.github.com/users/PabloLefort/orgs","repos_url":"https://api.github.com/users/PabloLefort/repos","events_url":"https://api.github.com/users/PabloLefort/events{/privacy}","received_events_url":"https://api.github.com/users/PabloLefort/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-15T12:58:03Z","updated_at":"2016-06-15T13:10:42Z","closed_at":null,"body":"Hi, i have a service for send email through SMTP with [Mandrill](https://mandrillapp.com). \r\n```python\r\n# Service\r\nfrom django.core.mail import EmailMessage\r\ne = EmailMessage('test subject', 'test message', 'test@mail.com', ['me@me.com'])\r\ne.send()\r\n```\r\nThrows this exception trace:\r\n```python\r\nTraceback (most recent call last):\r\n  File \"<input>\", line 1, in <module>\r\n  File \"/opt/apps/project/virtualenv/project/lib/python2.7/site-packages/django/core/mail/message.py\", line 286, in send\r\n    return self.get_connection(fail_silently).send_messages([self])\r\n  File \"/opt/apps/project/virtualenv/project/lib/python2.7/site-packages/djrill/mail/backends/djrill.py\", line 68, in send_messages\r\n    sent = self._send(message)\r\n  File \"/opt/apps/project/virtualenv/project/lib/python2.7/site-packages/djrill/mail/backends/djrill.py\", line 107, in _send\r\n    response = requests.post(api_url, data=json.dumps(api_params, cls=JSONDateUTCEncoder))\r\n  File \"/opt/apps/project/virtualenv/project/lib/python2.7/site-packages/requests/api.py\", line 109, in post\r\n    return request('post', url, data=data, json=json, **kwargs)\r\n  File \"/opt/apps/project/virtualenv/project/lib/python2.7/site-packages/requests/api.py\", line 50, in request\r\n    response = session.request(method=method, url=url, **kwargs)\r\n  File \"/opt/apps/project/virtualenv/project/lib/python2.7/site-packages/requests/sessions.py\", line 465, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"/opt/apps/project/virtualenv/project/lib/python2.7/site-packages/requests/sessions.py\", line 573, in send\r\n    r = adapter.send(request, **kwargs)\r\n  File \"/opt/apps/project/virtualenv/project/lib/python2.7/site-packages/requests/adapters.py\", line 431, in send\r\n    raise SSLError(e, request=request)\r\nSSLError: [Errno bad handshake] (-1, 'Unexpected EOF')\r\n```\r\nEnv: Red Hat 4.8.2-13, Python: 2.7.5\r\nLibs:\r\n```\r\nDjango==1.7.4\r\nrequests==2.7.0\r\ndjrill==1.3.0\r\npyOpenSSL==0.14\r\n```\r\nAny suggestions?\r\n\r\nGoing with [this](http://stackoverflow.com/questions/29504955/send-requests-to-twitter-with-requests-requests-exceptions-sslerror-errno) answer did not change anything.\r\n\r\nThanks in advance.\r\n"},"comment":{"url":"https://api.github.com/repos/kennethreitz/requests/issues/comments/226182102","html_url":"https://github.com/kennethreitz/requests/issues/3337#issuecomment-226182102","issue_url":"https://api.github.com/repos/kennethreitz/requests/issues/3337","id":226182102,"user":{"login":"PabloLefort","id":15658015,"avatar_url":"https://avatars.githubusercontent.com/u/15658015?v=3","gravatar_id":"","url":"https://api.github.com/users/PabloLefort","html_url":"https://github.com/PabloLefort","followers_url":"https://api.github.com/users/PabloLefort/followers","following_url":"https://api.github.com/users/PabloLefort/following{/other_user}","gists_url":"https://api.github.com/users/PabloLefort/gists{/gist_id}","starred_url":"https://api.github.com/users/PabloLefort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PabloLefort/subscriptions","organizations_url":"https://api.github.com/users/PabloLefort/orgs","repos_url":"https://api.github.com/users/PabloLefort/repos","events_url":"https://api.github.com/users/PabloLefort/events{/privacy}","received_events_url":"https://api.github.com/users/PabloLefort/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T13:10:42Z","updated_at":"2016-06-15T13:10:42Z","body":"@Lukasa Already installed those libs, alike, running with --upgrade tells `Requirement already up-to-date`"}}
{"actor":{"display_login":"PabloLefort"}}