Replies: 3 comments 10 replies
-
Something must have changed in your deployment. Look at whoever manage your deployment, For sure nothing that could happen without any change. |
Beta Was this translation helpful? Give feedback.
-
Hello, I did have the same problem. In my case it was due to fernetKey is different between pods specially when they are re-deployed (I am using Airflow 2.2.4 deployed on EKS using Helm charts). As a result decrypting connections data from metadata base was not possible. |
Beta Was this translation helpful? Give feedback.
-
Heads up this issue will be thrown if you accidentally create a ie. task_number1 = PythonOperator(
task_id="task_name_for_task_number1",
python_callable=my_function(), # this bit
provide_context=True,
dag=dag,
) using I had this connection error thrown due to this, since the function included a Bq Hook which had a connection id I needed to reference from the dag. correct would be: task_number1 = PythonOperator(
task_id="task_name_for_task_number1",
python_callable=my_function, # this bit with the removal of ()
provide_context=True,
dag=dag,
) Hopefully this helps someone who's seeing this weird error raise. tbh airflow should probably have a check within the PythonOperator to expect a function, not an executed function. |
Beta Was this translation helpful? Give feedback.
-
Hi! I have my connections defined in Admin > Connections -- Since 2 days I receive the error: "AirflowNotFoundException(f"The conn_id
{conn_id}
isn't defined")", even though nothing changed in my connections nor in my dags. It is all the same as tw0 days ago, only that I now get this error.I am running Airflow 2.2.1 on linux.
Beta Was this translation helpful? Give feedback.
All reactions