Skip to content

setting http connection with https url and a port doesn't work #82

@edhipat

Description

@edhipat

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions