diff --git a/app/admin_api.py b/app/admin_api.py index 49eb459..b565ba4 100644 --- a/app/admin_api.py +++ b/app/admin_api.py @@ -502,9 +502,12 @@ def check_bidirectional_status(site_id: str): admin_url = peer.endpoint.rstrip("/") + "/admin/sites" resp = requests.get( admin_url, - auth=(connection.access_key, connection.secret_key), timeout=10, - headers={"Accept": "application/json"}, + headers={ + "Accept": "application/json", + "X-Access-Key": connection.access_key, + "X-Secret-Key": connection.secret_key, + }, ) if resp.status_code == 200: diff --git a/app/ui.py b/app/ui.py index 1e060a5..5297c24 100644 --- a/app/ui.py +++ b/app/ui.py @@ -3035,9 +3035,12 @@ def check_peer_bidirectional_status(site_id: str): admin_url = peer.endpoint.rstrip("/") + "/admin/sites" resp = requests.get( admin_url, - auth=(connection.access_key, connection.secret_key), timeout=10, - headers={"Accept": "application/json"}, + headers={ + "Accept": "application/json", + "X-Access-Key": connection.access_key, + "X-Secret-Key": connection.secret_key, + }, ) if resp.status_code == 200: diff --git a/templates/replication_wizard.html b/templates/replication_wizard.html index f4b2057..8333fc5 100644 --- a/templates/replication_wizard.html +++ b/templates/replication_wizard.html @@ -28,7 +28,7 @@