You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/01/26 01:46:46 UTC

[GitHub] [airflow] josh-fell edited a comment on issue #21110: Connecting Airflow to Azure data factory fails giving a red banner but doesn't give the reason.

josh-fell edited a comment on issue #21110:
URL: https://github.com/apache/airflow/issues/21110#issuecomment-1021776570


   I can't necessarily speak to why there is an empty red banner but I can see two things going on:
   1. The "Test" button is inactive so you actually can't test the connection. Typically you should see "UNAUTHORIZED" in the red banner and the tooltip below when you hover over the "Test" button:
   ![image](https://user-images.githubusercontent.com/48934154/151089020-4ea6f3a4-dfe5-4431-a49a-4d21d4bb3f8a.png)
   
   2. The Azure Data Factory connection does not have a `test_connection()` method implemented so even if you did enable the Airflow REST API, you still wouldn't be able to test the connection.  Here is documentation on [testing connections from the UI](https://airflow.apache.org/docs/apache-airflow/stable/howto/connection.html#test-connections).
   
   FYI there has been an enhancement to also dynamically deactivate the "Test" button if the associated hook/connection type does not have a `test_connection()` method available via PR #19792 but it has not been released yet.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org