apache/airflow

Test connection not working

Open

#58567 opened on Nov 21, 2025

View on GitHub
 (6 comments) (1 reaction) (0 assignees)Python (44,809 stars) (16,781 forks)batch import
area:UIarea:coregood first issuekind:bug

Description

Apache Airflow version

3.1.3

If "Other Airflow 2/3 version" selected, which one?

No response

What happened?

This is still an issue on 3.1.3

I have this setup and I get the errors below still

(venv) ekaram@9TVW494:/home/bot/ETL$ airflow connections test Maria_DB_tester Retrieving connection: 'Maria_DB_tester'

Testing...

Connection failed! The conn_id Maria_DB_tester isn't defined

even though that connection is in the list (venv) ekaram@9TVW494:/home/bot/ETL$ airflow connections list --conn-id Maria_DB_tester id | conn_id | conn_type | description | host | schema | login | password | port | is_encrypted | is_extra_encrypted | extra_dejson | get_uri ===+=================+===========+=============+=======================+========+========+==========+======+==============+====================+==============+================================================== 2 | Maria_DB_tester | mysql | None | ProdDb.westernexp.com | None | ekaram | MariaDB | 3306 | True | True | {}

In the UI i only get a red wifi with crossbeam across it

What you think should happen instead?

it should tell me if the connection succeeded or not

How to reproduce

Define a connection string

Try to to test the connection either through the UI or cli. Neither work

Operating System

Distributor ID: Ubuntu Description: Ubuntu 24.04.3 LTS Release: 24.04 Codename: noble

Versions of Apache Airflow Providers

apache 3.1.3

Deployment

Virtualenv installation

Deployment details

No response

Anything else?

I reported this below. I used to get a different error now the error has changed

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Contributor guide