Reputation: 1535
I'm deploying a new DotNet app to Google Cloud App Engine and it gets all the way through the build process but then it's failing on this version check for some mystery reason. Here's the error:
ERROR: build step 0 "gcr.io/cloud-builders/gcloud" failed: exit status 1
ERROR
ERROR: (gcloud.app.deploy) INTERNAL: Internal error encountered.
>
}
}
"status": "INTERNAL"
"message": "Internal error encountered.",
"code": 500,
"error": {
BadStatusCodeError: HttpError accessing <https://appengine.googleapis.com/v1/apps/<project-id>/services/api/versions?alt=json>: response: <{'status': '500', 'content-length': '109', 'x-xss-protection': '0', 'x-content-type-options': 'nosniff', 'transfer-encoding': 'chunked', 'vary': 'Origin, X-Origin, Referer', 'server': 'ESF', '-content-encoding': 'gzip', 'cache-control': 'private', 'date': 'Fri, 06 Dec 2019 02:53:27 GMT', 'x-frame-options': 'SAMEORIGIN', 'content-type': 'application/json; charset=UTF-8'}>
Any thoughts on what is causing this?
Upvotes: 1
Views: 249
Reputation: 1535
If you run into this issue the problem may be that your Dockerfile is pointing to the wrong entry point. Correcting it solved the problem for me, hopefully it does for anyone else who finds themselves in front of this error.
Upvotes: 1