airflow: Webserver URL returns blank page for airflow standalone for 3.0.0rc1

Apache Airflow version

3.0.0

If “Other Airflow 2 version” selected, which one?

No response

What happened?

Airflow URL returns blank page when running airflow standalone with 3.0.0rc1

What fails:

docker run -d -p 8080:8080 --name airflow_container apache/airflow:3.0.0.rc1.post4 airflow standalone

Image

What passes:

docker run -d -p 8080:8080 --name airflow_container apache/airflow:2.10.5 airflow standalone

Image

What you think should happen instead?

No response

How to reproduce

docker run -d -p 8080:8080 --name airflow_container apache/airflow:3.0.0.rc1.post4 airflow standalone

Then open the browser http://0.0.0.0:8080

Operating System

Ubuntu 24.04

Versions of Apache Airflow Providers

No response

Deployment

Other Docker-based deployment

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

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 15 (15 by maintainers)

Most upvoted comments

Yeah, that base URL gets stamped in to the URL we use for the fetching the assets. That’s what we should change,so that by default it’s relative to the current URL or determined from the request.

Goal should be that the web UI works out of the box if run locally, or If run in a docker image (not breeze which sets up lots of extras already, just a plain docker run -p 8080:8080 sort of thing)

@Dev-iL , I had set my base_url to https://mycompany.com/airflow/ and things are working smoothly (running 3.0.0rc4) . One thing I noticed is I’m unable to access airflow with http://hostname:8080 or http://hostname:8080/airflow anymore, both of them redirect me to the base_url. Its not a blocker for me personally.

The other thing I noticed was when I logout, it redirects me to https://mycompany.com/api/v2/auth/logout which doesn’t exist it should have done a https://mycompany.com/airflow/api/v2/auth/logout. The /airflow is being stripped out somewhere during the logout url calculation

Im seeing the infinite redirection on 3.0.0rc2 as well. Glad to see its fixed, do I need to wait for 3.0.0rc3 to test or would there be an intermediate release sooner? @ashb

Im also seeing the follwing #49229