Nemanja
03/18/2025, 9:14 AMrequests.post(url='<https://staging.prefect.domain.com/api/work_pools>', json=work_pool_data, auth=HTTPBasicAuth(basic_auth_username, basic_auth_password))
From which I get:
requests.exceptions.ConnectionError: HTTPConnectionPool(host='<http://staging.prefect.domain.com|staging.prefect.domain.com>', port=80): Max retries exceeded with url: /api/work_pools/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5f77632c00>: Failed to establish a new connection: [Errno 111] Connection refused'))
Any ideas why does post request not process over https and redirects to http?