0

I am using Airflow 3.x for a personal task and faced this error

Failure caused by [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1010) source=task.stdout

What I want to do is send an email after the DAG runs.

I made an email connection in airflow UI: Port: 587 Host: smtp.gmail.com

In the “Extra” field of the Airflow Email connection, I added the following JSON

{
"smtp_ssl": false
}

and used google App Password to generate a password for the connection

and added this line to my .env file:

AIRFLOW__EMAIL__EMAIL_BACKEND=airflow.utils.email.send_email_smtp
New contributor
graybud is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.