You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interesting ... When I run Airflow using Breeze (breeze start-airflow --skip-asset-compilation --backend postgres), I can successfully get the list of DAGs by calling the API http://localhost:28080/api/v1/dags in Postman using Basic auth
Hmm. let me try again. Maybe that was something I made mistake about (though I did it a the time I verified Python client and this is where I found it).
Apache Airflow version
main (development)
If "Other Airflow 2 version" selected, which one?
No response
What happened?
Looks like API authentication does not work with
main
version of airflow inbreeze
. The API calls are refused with 401 HTTP authentication error.What you think should happen instead?
The client should authenticate with basic_auth.
How to reproduce
When you test Python client with https://github.com/apache/airflow-client-python/blob/main/dev/test_python_client.py (and earlier configure the webserver with:
the webserver refuses the connection with:
This is the same for
apache-airflow-client==2.7.3
andapache-airflow-client==2.8.0
.When you use
--use-airflow-version==2.8.0
, it works just fine, so the problem seems to be coming from some recent changes in main.Operating System
Breeze CI image (debian-bookworm)
Versions of Apache Airflow Providers
main version
Deployment
Other
Deployment details
Breeze
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: