Kaleb King
05/28/2024, 10:54 AMMarvin
05/28/2024, 10:54 AMpython
import requests
try:
response = requests.get('<https://your-api-endpoint.com>', verify=False)
print(response.status_code)
except requests.exceptions.SSLError as e:
print(f'SSL error: {e}')
Warning: Disabling SSL verification is generally not recommended for production environments as it makes the connection insecure.
Once you identify the port and inform your IT department, they can configure the firewall or network settings to enable it.
For a more permanent solution, consider installing the correct SSL certificate or configuring your environment to trust the self-signed certificate.Kaleb King
05/28/2024, 10:55 AMMarvin
05/28/2024, 10:56 AM<https://api.prefect.cloud/api/>
and uses the default HTTPS port 443
.
2. Local Prefect Server: The default API URL is typically <http://127.0.0.1:4200/api>
, using port 4200
.
For configuring your Prefect API URL, you can refer to the guide in the Prefect documentation.
If you need further help configuring a local Prefect server or adjusting network settings, please let me know.