Troubleshooting Overview

This page provides general troubleshooting information and provides links to other pages for additional information.

Errors when deploying the Endpoints configuration

If you got an error message from the gcloud endpoints services deploy command, see Troubleshooting Endpoints Configuration Deployment for information on troubleshooting the error.

Errors when deploying your API backend

The deployment of your API and the Extensible Service Proxy (ESP) to a GCP backend is platform dependent. See the following troubleshooting guides for more information:

Response errors

When you send a request to your API and receive an error response, see Troubleshooting Response Errors for information on troubleshooting the error.

Checking debug information

Running the gcloud command-line tool with debug verbosity will help with debugging.

gcloud --verbosity=debug COMMAND

This will make the gcloud command-line tool print a verbose log of the error. Depending on the command being run, the output can include request and response information from the server.

Enabling a Service

You can check whether a service is enabled using gcloud.

gcloud services list

To display configuration for a particular service, use the following command:

gcloud endpoints services describe SERVICE_NAME

Proxy OAuth fails yet requests pass

Make sure there is an authentication section that has your OAuth definition in your gRPC API configuration file. An example configuration file is available in the Bookstore sample on GitHub.

Monitoring

Locating Cloud Endpoints Logs

  1. Go to the Stackdriver > Logging page in the GCP Console:

    Go to the Logs Viewer page

  2. Select the service for which you want logs.

  3. Select endpoints_log.

For more information, see Monitoring your API.

Locating Traces

  1. Go to the Stackdriver > Trace page in the GCP Console:

    Go to the Trace page

  2. Select the trace you want to view.

Send feedback about...

Cloud Endpoints with gRPC