Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

404 URL page not found - App Engine

Hello all,

When I deploy an endpoint it is set to PROJECT-ID.appspot.com. And when I deploy the App Engine Backend for the endpoint it is deployed to PROJECT-ID.uc.r.appspot.com (us-central region)

So when I try to access the https://PROJECT-ID.appspot.com, it brings me a URL not found in the server. And neither the one with uc.r

Any ideas or any help? I am following the endpoints tutorial.

The tutorial I am following is this one: https://cloud.google.com/endpoints/docs/deploy-api?hl=es-419

Using the repo with all the code: https://github.com/GoogleCloudPlatform/endpoints-quickstart

Hope this can give a better context of what I am doing. Actually I am not missing any step and when the final deployment for App Engine is done, I think the issue is the .us.r added to the target URL of AppEngine and not to the Endpoint.

Thanks again and best regatds.

2 2 807
2 REPLIES 2

I did find out that deploying the tutorial in a fresh new project under same account works. How could I compare or check which configurations are missing or failing in my project?

Hi @alexurenamarin ,

Regarding how to check if anything is 'failing' in your project, you could go over the logs (https://console.cloud.google.com/logs/) for that specific project or even for a given version of the project.

In there, you could also create alerts to get notified (e.g. emailed) when some condition is met. For example, you could create an alert for when a requested page is not found:

Log query

(protoPayload.status=404 OR httpRequest.status=404)

or when an Error happens:

Log query

resource.type="gae_app" severity>=ERROR

Hope that helps.