GAE Standard with Go: "The request failed because the instance failed the readiness check."

GAE Standard Environment with Go: App will not start.

The app was working and now its not. Dead in the water with no clues as to why, as far as I can see.

From the logs this is the error: “The request failed because the instance failed the readiness check.”

This is not due to a new deployment.

There is no mention of this error in the troubleshooting guide:

https://cloud.google.com/appengine/docs/standard/troubleshooting

I can not find any help on this problem.

Please, how do I go about finding the cause of this error?

I guess the lack of response means that there is no way to troubleshoot this problem?

Do Google employees monitor this forum?

Hi, I’ve faced almost same issue that app terminated. But in my case, I deployed a updated app that includes modified go.mod/go.sum with updated protobuf module - google.golang.org/protobuf - Go Packages. Protbuf lib causes ‘panic: proto: message appengine.AppIdentityServiceError is already registered’ that led ‘The request failed because the instance failed the readiness check.’ error.

Error log contains 'See (URL Removed by Staff) so I fixed for now add following directive in app.yaml file:

env_variables:
  GOLANG_PROTOBUF_REGISTRATION_CONFLICT: "warn"

This outputs many warning like follows when booted up, but app working.

WARNING: proto: file “google.golang.org/appengine/internal/datastore/datastore_v3.proto” has a name conflict over appengine.AddActionsRequest
See https://protobuf.dev/reference/go/faq#namespace-conflict
WARNING: proto: file “google.golang.org/appengine/internal/datastore/datastore_v3.proto” has a name conflict over appengine.CompositeIndices
See https://protobuf.dev/reference/go/faq#namespace-conflict