Email notification Error (STARTTLS extension not supported by server)

2,087 views
Skip to first unread message

s...@adsnative.com

unread,
Apr 4, 2016, 6:04:06 PM4/4/16
to Luigi
Anyone has experienced this message?

Traceback (most recent call last):
File "/opt/python-luigi/venv/local/lib/python2.7/site-packages/luigi/retcodes.py", line 61, in run_with_retcodes
worker = luigi.interface._run(argv)['worker']
File "/opt/python-luigi/venv/local/lib/python2.7/site-packages/luigi/interface.py", line 238, in _run
return _schedule_and_run([cp.get_task_obj()], worker_scheduler_factory)
File "/opt/python-luigi/venv/local/lib/python2.7/site-packages/luigi/interface.py", line 197, in _schedule_and_run
success &= worker.run()
File "/opt/python-luigi/venv/local/lib/python2.7/site-packages/luigi/worker.py", line 865, in run
self._run_task(task_id)
File "/opt/python-luigi/venv/local/lib/python2.7/site-packages/luigi/worker.py", line 699, in _run_task
p.run()
File "/opt/python-luigi/venv/local/lib/python2.7/site-packages/luigi/worker.py", line 185, in run
self._send_error_notification(raw_error_message)
File "/opt/python-luigi/venv/local/lib/python2.7/site-packages/luigi/worker.py", line 195, in _send_error_notification
notifications.send_error_email(subject, formatted_error_message, self.task.owner_email)
File "/opt/python-luigi/venv/local/lib/python2.7/site-packages/luigi/notifications.py", line 266, in send_error_email
recipients=recipients
File "/opt/python-luigi/venv/local/lib/python2.7/site-packages/luigi/notifications.py", line 236, in send_email
email_sender(config, sender, subject, message, recipients, image_png)
File "/opt/python-luigi/venv/local/lib/python2.7/site-packages/luigi/notifications.py", line 110, in send_email_smtp
smtp.starttls()
File "/usr/lib64/python2.7/smtplib.py", line 644, in starttls
raise SMTPException("STARTTLS extension not supported by server.")

Arash Rouhani Kalleh

unread,
Apr 4, 2016, 10:50:35 PM4/4/16
to s...@adsnative.com, Luigi
Ya, there's an smtp_without_tls option, go (con)figure.

http://luigi.readthedocs.org/en/stable/configuration.html#core

:)



--

--
You received this message because you are subscribed to the Google Groups "Luigi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to luigi-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

adam....@tribalgroup.com

unread,
Apr 5, 2016, 4:11:45 AM4/5/16
to Luigi
You will need the 2.1.0 release tho, which is only days old...
The previous release was non-configurable in this respect.

Adam

s...@adsnative.com

unread,
Apr 5, 2016, 1:29:04 PM4/5/16
to Luigi
Cool it works perfectly!
Reply all
Reply to author
Forward
0 new messages