Skip to content

Tasks get stuck when using Airflow base url parameter #49725

@inkerinmaa

Description

@inkerinmaa

Apache Airflow version

3.0.0

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

No response

What happened?

Hi. I use docker-compose and want to run Airflow with subpath, like
AIRFLOW__API__BASE_URL: ' http://mycompany.com/airflow'
UI is loading fine, with subpath provided, but when I trigger any dag it stucks in queued state. Worker logs are empty - just info that it is ready
2025-04-24 14:12:55.240510 [info ] celery@00da0db4ba2e ready. [celery.apps.worker]
Then after a while it gets ServerResponseError: Not Found

err = ServerResponseError('Not Found')
response = <Response [404 Not Found]>
ServerResponseError: Not Found

Image

What you think should happen instead?

No response

How to reproduce

Use official docker compose and add AIRFLOW__API__BASE_URL: ' http://mycompany.com/airflow' env variable

Operating System

Debian

Versions of Apache Airflow Providers

No response

Deployment

Docker-Compose

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions