问题
I'm unable to deploy with the App Engine (Java Flexible) and receive only the information in the header, which is not very informative. I've tried to deploy the helloworld-servlet sample app (https://github.com/GoogleCloudPlatform/getting-started-java/tree/master/helloworld-servlet) using the tutorial just to really keep it simple but I still get the same fault.
Here is the laterm, failing, part of the log (with http-logging turned on):
[INFO] GCLOUD: -- headers start --
[INFO] GCLOUD: -content-encoding: gzip
[INFO] GCLOUD: alt-svc: quic=":443"; ma=2592000; v="39,38,37,35"
[INFO] GCLOUD: cache-control: private
[INFO] GCLOUD: content-length: 588
[INFO] GCLOUD: content-location: https://appengine.googleapis.com/v1/apps/ticksterimportexport/operations/921b89d2-7eaa-41a1-87d2-c4be496793a0?alt=json
[INFO] GCLOUD: content-type: application/json; charset=UTF-8
[INFO] GCLOUD: date: Wed, 06 Sep 2017 05:46:41 GMT
[INFO] GCLOUD: server: ESF
[INFO] GCLOUD: status: 200
[INFO] GCLOUD: transfer-encoding: chunked
[INFO] GCLOUD: vary: Origin, X-Origin, Referer
[INFO] GCLOUD: x-content-type-options: nosniff
[INFO] GCLOUD: x-frame-options: SAMEORIGIN
[INFO] GCLOUD: x-xss-protection: 1; mode=block
[INFO] GCLOUD: -- headers end --
[INFO] GCLOUD: -- body start --
[INFO] GCLOUD: {
[INFO] GCLOUD: "name": "apps/ticksterimportexport/operations/921b89d2-7eaa-41a1-87d2-c4be496793a0",
[INFO] GCLOUD: "metadata": {
[INFO] GCLOUD: "@type": "type.googleapis.com/google.appengine.v1.OperationMetadataV1",
[INFO] GCLOUD: "method": "google.appengine.v1.Versions.CreateVersion",
[INFO] GCLOUD: "insertTime": "2017-09-06T05:46:06.731Z",
[INFO] GCLOUD: "user": "produktion@atg.se",
[INFO] GCLOUD: "target": "apps/ticksterimportexport/services/default/versions/20170906t064538",
[INFO] GCLOUD: "ephemeralMessage": "Deployment failed. Attempting to cleanup deployment artifacts."
[INFO] GCLOUD: },
[INFO] GCLOUD: "done": true,
[INFO] GCLOUD: "error": {
[INFO] GCLOUD: "code": 13,
[INFO] GCLOUD: "message": "Unexpected Error. ()"
[INFO] GCLOUD: }
[INFO] GCLOUD: }
[INFO] GCLOUD:
[INFO] GCLOUD: -- body end --
[INFO] GCLOUD: total round trip time (request+response): 0.177 secs
[INFO] GCLOUD: ---- response end ----
[INFO] GCLOUD: ----------------------
[INFO] GCLOUD: failed.
[INFO] GCLOUD: ERROR: (gcloud.app.deploy) Error Response: [13] Unexpected Error. ()
Seems like everything is going well until the point of service startup. If I look in my Control Panel under Container Registry I can see my container images but there are no deployed instances of the service and it is unreachable.
This is the link to my app: https://hello-world-project-179013.appspot.com
I would be very grateful for any input on this matter. Thanks in advance!
来源:https://stackoverflow.com/questions/46070679/gcloud-app-deploy-error-response-13-unexpected-error