question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred during deployment. [Python-edition]

See original GitHub issue

This seems to be the same issue as reported by GoogleCloudPlatform/getting-started-java#281 as well as GoogleCloudPlatform/nodejs-getting-started#153, however since I’m using python runtime I didn’t want to piggyback on the Java and nodejs issues.

We see the internal error intermittently while our CI (Jenkins) attempts to publish the website deployment.

We’re running the latest Google cloud SDK:

 Google Cloud SDK 198.0.0
 bq 2.0.32
 core 2018.04.13
 docker-credential-gcr
 gsutil 4.3

Versions Info:

OS: Debian 9
Python: Python 2.7.13

In terms of reproducing the issue, we’re currently just pushing a static website, so the deployment yaml is fairly straight forward.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:6

github_iconTop GitHub Comments

6reactions
ronlee123commented, Jan 2, 2019

gcloud config set app/use_deprecated_preparation True This is not helping me Gives this error ERROR: (gcloud.config.set) Section [app] has no property [use_deprecated_preparation].

EDIT: Looks like I solved the error. I was passing a wrong parameter in app.yaml

Would you mind further describing on how you solved that error? what was the wrong parameter in app.yaml that you passed? Really appreciate your help.

2reactions
as3eemcommented, May 21, 2020

For nodejs deployment, change app.yaml and make it just include

runtime: nodejs10

and remove env: flex This will make your deployment move from a flexible plan to a standard plan but will do the work. The problem arises due to the unavailability of resources in several locations. They don’t have enough VMs to provide stable flexible deployment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

(gcloud.app.deploy) Error Response: [13] An internal ... - GitHub
When running gcloud app deploy I get the following error. ... Error Response: [13] An internal error occurred during deployment. #153.
Read more >
(gcloud.app.deploy) Error Response: [13] Unexpected Error
Under App Engine > Services I only see default but when I click on that link (opens a new tab), I see "Error:...
Read more >
(gcloud.app.deploy) Error Response: [13] An ... - Google Groups
I've been deploying an Angular 4 app engine service for weeks and yesterday it suddenly stopped deploying. Even in the log, the error...
Read more >
(gcloud.app.deploy) Error Response: [13] An internal error ...
Let's call App Engine as web1 and sql as mysql1 . When I deployed web1 using "gcloud app deploy app.yaml" , the upload...
Read more >
[13] An internal error occurred" while running `gcloud app ...
I'm trying to deploy the appengine/flexible/hello_world in a new GCP project. I cd to this directory, run gcloud app deploy and eventually ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found