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
To give more explanation here, running command using conn_uri sets the connection, but type becomes "https" (although accepted value is "http"), and host becomes 172.0.0.1 instead of "https://172.0.0.1"
Setting up Airflow connection using connection endpoint does not work for "http" type with a https url and a port. We tried using following commands:
curl -s "$HOST/admin/rest_api/api?api=connections&add=true&conn_id=test_connection" --data-urlencode "conn_uri=https://172.0.0.1:8888" --data-urlencode "conn_extra={"some extras"}"
curl -s "$HOST/admin/rest_api/api?api=connections&add=true&conn_id=test_connection" --data-urlencode "conn_host=https://172.0.0.1" "conn_port=8888" --data-urlencode "conn_extra={"some extras"}"
Specifying connection host, port etc. separately also doesn't work.
The text was updated successfully, but these errors were encountered: