EbrahimKaram opened a new issue, #56155:
URL: https://github.com/apache/airflow/issues/56155

   ### Apache Airflow version
   
   3.1.0
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   I was doing 
   airflow connections test postgres_default
   
   and I get
   Retrieving connection: 'postgres_default'
   
   Testing...
   
   Connection failed!
   cannot import name 'SUPERVISOR_COMMS' from 
'airflow.sdk.execution_time.task_runner' 
   
(/home/ekaram/airflow/venv/lib/python3.12/site-packages/airflow/sdk/execution_time/task_runner.py)
   
   
   ### What you think should happen instead?
   
   It should try connecting to the database with the parameters set in the 
config system
   
   ### How to reproduce
   
   Create a connection on the UI
   
   Enable Test connections in the config
   
   restart the service
   then do
    airflow connections test "your connection string"
   
   ### Operating System
   
   Ubuntu
   
   ### Versions of Apache Airflow Providers
   
   (venv) ekaram@9TVW494:~/airflow$ pip freeze | grep apache-airflow-providers
   apache-airflow-providers-common-compat==1.7.4
   apache-airflow-providers-common-io==1.6.3
   apache-airflow-providers-common-sql==1.28.1
   apache-airflow-providers-microsoft-mssql==4.3.2
   apache-airflow-providers-postgres==6.3.0
   apache-airflow-providers-smtp==2.2.1
   apache-airflow-providers-standard==1.8.0
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to