Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Cloud Endpoint 404 after deployment

Now that Google Cloud Endpoints have been opened up to all developers, I have created a Google Cloud Endpoint which works run a run locally in Eclipse debugging. But when I deploy, the live endpoint just returns an HTTP 404. My project's JSP pages run both locally and deployed. It's just the endpoints the don't work once deployed.

Anybody got any idea what I need to do to deploy cloud endpoints?

like image 513
Dewiniaeth Avatar asked Feb 21 '13 19:02

Dewiniaeth


People also ask

How long does Gcloud app deploy take?

This is required because Cloud Build build steps and builds have a default timeout of 10 minutes and App Engine deployments could take longer than that to complete. Specifying a longer timeout will make sure that the build doesn't timeout if gcloud app deploy takes longer than 10 minutes to complete.

Is Google cloud hosting free forever?

The pricing model for Google Cloud Platform is based on the number of cores, memory, and instances that a user uses. PRO TIP: There is no such thing as a “free forever” plan with Google Cloud. All products and services have a set price that will be charged on a regular basis.


1 Answers

I discovered that even though I only have one version (v1) deployed and that version was indicated as the "default" version in the app engine management console, I still had to "set" v1 as default before the API was accessible.

like image 162
Dewiniaeth Avatar answered Oct 21 '22 09:10

Dewiniaeth