ephraimbuddy commented on issue #17054:
URL: https://github.com/apache/airflow/issues/17054#issuecomment-884479709


   > @kaxil @ephraimbuddy
   > Could this be due to some misconfiguration while upgrading from Airflow 
v1.10.12 to v2.1.0?
   > 
   > We were able to trigger a DAG using the experimental api when on v1.10.
   > 
   > On v2.1.0, I tried several commands via the stable API. Some of them 
worked and most of them threw an error.
   > 
   > **Successful:**
   > Get current configuration
   > List connections
   > List DAG runs
   > 
   > **Errored:**
   > Trigger a new DAG run
   > List DAG runs (batch)
   > List DAGs
   > Get basic information about a DAG
   
   In 2.0+, you need to set the auth_backend. This is how you should set it to 
use basic authentication:
   `auth_backend = airflow.api.auth.backend.basic_auth`
   Did you set this?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to