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