django - Python SSL Error- Error while sending email using Mandrill / Djrill -
i below error while sending mail using djrill.
app_1 | file "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response app_1 | response = wrapped_callback(request, callback_args, *callback_kwargs) app_1 | file "/code/invitations/views.py", line 102, in request_invite app_1 | msg.send() app_1 | file "/usr/local/lib/python2.7/site-packages/django/core/mail/message.py", line 303, in send app_1 | return self.get_connection(fail_silently).send_messages([self]) app_1 | file "/usr/local/lib/python2.7/site-packages/djrill/mail/backends/djrill.py", line 81, in send_messages app_1 | sent = self._send(message) app_1 | file "/usr/local/lib/python2.7/site-packages/djrill/mail/backends/djrill.py", line 132, in _send app_1 | response = requests.post(api_url, data=api_data) app_1 | file "/usr/local/lib/python2.7/site-packages/requests/api.py", line 109, in post app_1 | return request('post', url, data=data, json=json, *kwargs) app_1 | file "/usr/local/lib/python2.7/site-packages/requests/api.py", line 50, in request app_1 | response = session.request(method=method, url=url, *kwargs) app_1 | file "/usr/local/lib/python2.7/site-packages/requests/sessions.py", line 465, in request app_1 | resp = self.send(prep, *send_kwargs) app_1 | file "/usr/local/lib/python2.7/site-packages/requests/sessions.py", line 573, in send app_1 | r = adapter.send(request, *kwargs) app_1 | file "/usr/local/lib/python2.7/site-packages/requests/adapters.py", line 431, in send app_1 | raise sslerror(e, request=request) app_1 | sslerror: [ssl: certificate_verify_failed] certificate verify failed (_ssl.c:581)
i suspect issue python, openssl , not djrill. application runs fine on server @ wits end.
i appreciate in sorting issue out
thanks!
for else running issue, please refer below link:
https://github.com/brack3t/djrill/issues/101
thanks again donspaulding
Comments
Post a Comment