apache/airflow

Test connection not working

Open

#58,567 创建于 2025年11月21日

在 GitHub 查看
 (6 评论) (1 反应) (0 负责人)Python (44,809 star) (16,781 fork)batch import
area:UIarea:coregood first issuekind:bug

描述

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

贡献者指南