Skip to content

Test connection not working #58567

Closed

Description

@EbrahimKaram

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

Activity

  1. added
    kind:bug
    needs-triage
    on Nov 21, 2025
  2. added
    area:UI
    on Nov 21, 2025
  3. added and removed
    needs-triage
    on Nov 26, 2025
  4. vbottu commented on Nov 26, 2025

    @vbottu
    Contributor

    I am interested in taking a look at it

  5. leminkhoa commented on Nov 27, 2025

    @leminkhoa

    Found same issue.

  6. anshuksi282-ksolves commented on Dec 4, 2025

    @anshuksi282-ksolves
    Contributor

    Hi @ferruzzi I noticed that @vbottu was some interest in working on this issue about a week ago. Since there hasn't been any PR raised or further activity since then, I decided to pick this up to resolve the bug quickly. I hope that's okay!

  7. vbottu commented on Dec 4, 2025

    @vbottu
    Contributor

    @anshuksi282-ksolves i actually started looking at it, if you want to take it that is fine, don't want to duplicate the effort.

  8. potiuk commented on Mar 2, 2026

    @potiuk
    Member

    @vbottu We are unassigning you from this issue as part of our updated assignment policy.

    This is not meant to discourage your contribution — quite the opposite! You are still very welcome to work on this issue and submit a PR for it. Simply comment that you are working on it and open a PR when ready.

    We found that formal assignments were not working well, as they often prevented others from contributing when the assignee was not actively working on the issue.

  9. vbottu commented on Mar 3, 2026

    @vbottu
    Contributor

    @potiuk Somebody raised a PR so I thought it is fixed already. I can take a look tonight

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:UIarea:coregood first issuekind:bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions