Skip to main content

203000 - Failed to Connect to GCP API

Agent error code #203000 indicates that the agent could not communicate with the Google Cloud Platform Compute Engine API. The request failed before any authentication or resource operation could take place.

This error is distinct from authentication failures (#203001) or timeout errors (#203003). It indicates a general connectivity or API-level failure.

Common causes include:

  • The agent cannot reach compute.googleapis.com (outbound HTTPS on port 443 is blocked)
  • A network firewall, proxy, or DNS issue is preventing the connection
  • The GCP API returned an unexpected HTTP status code (not 401, 403, 404, or timeout-related)
  • The GCP Compute Engine API is experiencing an outage

Steps to Resolve

Check Network Connectivity

  1. Verify the agent host can reach compute.googleapis.com on port 443
  2. Test with: curl -v https://compute.googleapis.com/compute/v1/
  3. If using a proxy, ensure it is correctly configured and allows traffic to GCP API endpoints

Check DNS Resolution

  1. Verify DNS resolves compute.googleapis.com from the agent host
  2. Test with: nslookup compute.googleapis.com or dig compute.googleapis.com

Check GCP API Status

  1. Visit the Google Cloud Status Dashboard to check for ongoing incidents affecting the Compute Engine API

Still Having Issues?

We can help you out, contact us at support@knocknoc.io.