(gcloud.app.deploy) Error Response: [13] An internal error occurred

2,934 views
Skip to first unread message

Stephen Cawood

unread,
Aug 21, 2017, 5:32:07 PM8/21/17
to Google App Engine

I've been deploying an Angular 4 app engine service for weeks and yesterday it suddenly stopped deploying. Even in the log, the error message is not helpful. I've used --verbosity--debug and checked the log, how can I find out what's wrong? I've also updated the NPM components and gcloud components. Thanks


Updating service [default]...\DEBUG: Operation [apps/projectname-999999/operations/48dda4a4-9f4b-4144-8085-9c1aff] complete. Result: {

    "metadata": {

        "target": "apps/projectname-999999/services/default/versions/201705635", 

        "method": "google.appengine.v1.Versions.CreateVersion", 

        "user": "user...@gmail.com", 

        "insertTime": "2017-08-21T20:56:41.587Z", 

        "ephemeralMessage": "Copying 97 application files and 48 static files.", 

        "endTime": "2017-08-21T20:56:45.511Z", 

        "@type": "type.googleapis.com/google.appengine.v1.OperationMetadataV1"

    }, 

    "done": true, 

    "name": "apps/projectname-999999/operations/48dda4a4-9f4b-4144-8085-9c1aff3", 

    "error": {

        "message": "An internal error occurred.", 

        "code": 13

    }

}

Updating service [default]...failed.                                                                               

DEBUG: (gcloud.app.deploy) Error Response: [13] An internal error occurred.

Traceback (most recent call last):

  File "/Users/username/GitHub/google-cloud-sdk/lib/googlecloudsdk/calliope/cli.py", line 787, in Execute

    resources = args.calliope_command.Run(cli=self, args=args)

Kenworth (Google Cloud Platform)

unread,
Aug 21, 2017, 7:37:49 PM8/21/17
to Google App Engine
It appears that you may be experiencing the same "code=13" issue as this Google Groups thread or this Public Issue Tracker case. A possible workaround is to deploy using "appcfg.py". If your issue persists, I highly recommend reporting the issue on our Public Issue Tracker so proper attention can be given to it.

Stephen Cawood

unread,
Aug 22, 2017, 4:40:05 PM8/22/17
to Google App Engine
Thanks. I was finally able to resolve it. macOS had created an "Icon?" file in my assets folder and that file was breaking the deployment.

magoarcano

unread,
Jan 31, 2018, 3:15:40 PM1/31/18
to Google App Engine
Thanks! I had the very same problem. I don't know how that Icon file have been created. Maybe Dropbox did it.

Amit Nair

unread,
Feb 3, 2018, 1:57:10 PM2/3/18
to Google App Engine
THanks a lot. Removing the Icon files fixed it.

Used below command to delete the files.
find . -name 'Icon?' -type f -delete

Adriano Fonseca

unread,
Mar 13, 2018, 7:22:06 PM3/13/18
to Google App Engine
This post was a life saver, after many hours trying to find the problem! Thank you!!!

I leave more info, in case another person search by this :

The error I got when trying to deploy using appcfg.py was :

Error 400: --- begin server output ---

<h3>Client Error</h3><p>The request is invalid for an unspecified reason.</p>

--- end server output ---


And when trying to deploy using gcloud was :

File upload done.

Updating service [default]...failed.                                                                                     

ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred.


After triple checking my .yaml files and configs, I tried pretty much everything available online, but in my case it was the "Icon" file in a project directory!
I don't know how it got there, but after I searched and deleted the "Icon" file found, the issue was solved!

Thank you,
Adriano

bhanoji rao

unread,
Jul 1, 2020, 11:52:03 AM7/1/20
to Google App Engine
Hi Amit,

This is Bhanoji

when Iam trying to deploy my springboot application in to appengine .  Iam getting below error snapshot . Iam using the latest sdk version and latest app-engine version 2.2.0. could you please help me with this issue and also please find the below environment  details


configuration details:
windows: 8.1
eclipse Ide: latest version june2020
java: 1.8
maven: 3.6.0
springboot: 2.3.1
app-engine: 2.2.0




Thanks & Regards,
Bhanoji
Reply all
Reply to author
Forward
0 new messages