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
What passes:
docker run -d -p 8080:8080 --name airflow_container apache/airflow:2.10.5 airflow standalone
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
- I agree to follow this project’s Code of Conduct
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 15 (15 by maintainers)
@Dev-iL Fixed just after rc2 by https://github.com/apache/airflow/pull/49106 and https://github.com/apache/airflow/pull/49118
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:8080sort 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 withhttp://hostname:8080orhttp://hostname:8080/airflowanymore, 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/logoutwhich doesn’t exist it should have done ahttps://mycompany.com/airflow/api/v2/auth/logout. The/airflowis being stripped out somewhere during the logout url calculationIm 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