SDK Connection Error
APIConnectionError · Request failed after retries · timeouts · DNS / connection
refused. The SDK can't reach the API.
-
Confirm the machine has internet and isn't behind a blocking proxy / VPN / firewall.
-
Check the base URL:
import osprint(os.getenv("CUSTODIAN_SDK_BASE_URL")) # None = using the defaultprint(bool(os.getenv("CUSTODIAN_SDK_API_KEY"))) # don't print the key itselfconsole.log(process.env.CUSTODIAN_SDK_BASE_URL, Boolean(process.env.CUSTODIAN_SDK_API_KEY)); -
Restart the process after changing env vars.
-
Try from another network. If it fails everywhere, contact support.