Skip to content

More concise error message in the api-server log when execution_api_server_url isn't correct #51163

Open

Description

@radumas

Description

When the execution_api_server_url config variable isn't correct, the consequences are:

These don't explicitly identify the root cause.

Use case/motivation

It should be easier to identify when something core in the configuration is misconfigured such that the different components of Airflow can't communicate with each other. This could be evident from:

  • a configuration checker (like airflow config check)
  • On the homepage of the UI? More details when one of the components has a big red X
  • In the api-server log (or the scheduler log?)

Related issues

The symptoms of misconfiguration were first identified here #50191

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. added
    kind:feature
    needs-triage
    on May 28, 2025
  2. added
    area:API
    area:UI
    on May 28, 2025
  3. amoghrajesh commented on Jun 2, 2025

    @amoghrajesh
    Contributor

    I guess we could probably have a means where we could atleast provide a mechanism to ping the execution API server that works without a token from the worker.

  4. amoghrajesh commented on Jun 3, 2025

    @amoghrajesh
    Contributor

    Let me self-assign this for now. I will come back at it at a later point in time (maybe for 3.0.3 or 3.1)

  5. self-assigned this
    on Jun 3, 2025
  6. added
    area:task-execution-interface-aip72
    and removed
    needs-triage
    on Jun 3, 2025
  7. added this to the Airflow 3.1.0 milestone on Jun 3, 2025
  8. pierrejeambrun commented on Aug 21, 2025

    @pierrejeambrun
    Member

    @amoghrajesh Do you think you'll be able to get this in 3.1.0 or do we want to change milestone to 3.1+ considering other priorities?

  9. amoghrajesh commented on Aug 21, 2025

    @amoghrajesh
    Contributor

    @pierrejeambrun thanks for the bump. Won't be able to make 3.1, moving to 3.1+

  10. amoghrajesh commented on Mar 25, 2026

    @amoghrajesh
    Contributor

    Since this has not yet been picked up and we are approaching the 3.2 release, I am moving it to the 3.3 milestone.

  11. removed their assignment
    on Mar 26, 2026
  12. removed
    area:UI
    on Oct 1, 2026
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:APIarea:task-execution-interface-aip72kind:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions