You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/05/09 00:26:24 UTC

[GitHub] [airflow] zsmeijin commented on issue #8676: Task exited with return code 1 without any warning/error message after reboot server and restart service

zsmeijin commented on issue #8676:
URL: https://github.com/apache/airflow/issues/8676#issuecomment-626074212


   I finally figure out how to reproduce this bug.
   
   If you config email in airflow.cfg and your dag contains email operator or use smtp serivce, and there's something wrong with the smtp service itself (I still need some time to figure it out) or the config (maybe it is because my stmp_user is 'airflow' since I use my own smtp service), the first task of your dag will 100% exited with return code 1 without any error information, in my case the first task is merely a python operator. When I use hotmail as my stmp server, everything is fine.
   
   Although I think it's my bad to mess up smtp service, there should be some reasonable hints, actually it takes me a whole week to debug this, I have to reset everything in my airflow environment and slowly change configuration to see when does this bug happens.
   
   Hope this information is helpful


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org