When setting up the AAI-airflow-connector to integrate with Apache Airflow, the following message is seen in the aai-airflow-connector.log:
WARN [WebClientApiCaller] <AirflowSchedulerName>: Non-OK response (401) from AAI server server with message: {"message":"Incorrect username, password or domain","stackTrace":"","exceptionClass":"","exceptionMessage":""}
AAI
Apache Airflow
Unsupported authentication type used in Apache Airflow configuration.
AAI Airflow supports either Basic Authentication or OAuth2 authentication as shown in the AAI web UI when adding or configuring the scheduler.
Please refer to the Apache Airflow documentation for how to configure the airflow.cfg file to use basic authentication.
https://airflow.apache.org/docs/apache-airflow/2.5.0/security/api.html
Once the configuration is correct on the Apache Airflow side, you can restart the AAI-airflow-connector service by running:
systemctl restart AAI-airflow-connector
Then check the <Install Dir>/logs/aai-airflow-connector.log to verify that communication is successful.
For more information about configuring the Airflow Connector please refer the the AAI Documentation.