Google App Engine / VM Cloud Managed Endpoints

We are currently working on App Engine (Java) and want to test the new managed virtual machines that Google is doing in beta testing.

Everything builds, but I can't get any of the endpoints to work.

When I create, an error is returned:

SEVERE: Endpoint configuration not updated. The application returned an error while trying to Google Cloud Endpoints server with it.

In the admin logs, I see that he tried, but the error is returned:

Failed to update API configuration

Discovery documents are generated locally, but there is nothing in the logs. I see a POST for getApiConfigs, but no details about the crash.

Hope someone else ran into the same problem and can help?

Essentially, my question is, what do I need to do to get the cloud endpoints running on a managed VM for App Engine?

thank

0
source share
1 answer

Have you checked your logs at https://console.cloud.google.com/logs/viewer ? I had the same problem, and after checking the logs, I realized that I have two classes with the same name and API version, but one had a namespace and the other did not.

All API classes with the same API name and version must have the same API configuration.

I just found that the namespace will be the same for both APIs and it worked.

0

All Articles