GoogleCloudPlatform / nodejs-getting-started

A tutorial for creating a complete application using Node.js on Google Cloud Platform
https://cloud.google.com/nodejs
Apache License 2.0
808 stars 381 forks source link

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

Closed sampath-houde closed 3 years ago

sampath-houde commented 3 years ago

I am getting this error since 2 days, but I am not able to resolve this.

tmatsuo commented 3 years ago

@sampath-houde Sorry for the trouble. When do you see this error? What guide did you follow? Do you have reproducible code, or steps?

sampath-houde commented 3 years ago

I have connected my repo directly to the gcp. So whenever the code is pushed, it automatically starts the build. I have added the app.yaml and cloudbuild.yaml files.

tmatsuo commented 3 years ago

@sampath-houde Thanks for your comment, but I still don't know how to reproduce your problem.

Can you tell me how to reproduce the same problem? For example, can you share your app.yaml and cloudbuild.yaml? Can you also tell me the URL of the guide you're following?

sampath-houde commented 3 years ago

Hello, Thanks for your reply. Actually one of my previous project has the same format of cloudbuild.yaml and app.yaml and they already running on gcp. But in the current project with same yaml files, internal error has been occurring. I will attach the log file,with all the config files related to the project. And also the project is being built from github.

On Fri, Jul 23, 2021 at 12:44 AM Takashi Matsuo @.***> wrote:

@sampath-houde https://github.com/sampath-houde Thanks for your comment, but I still don't know how to reproduce your problem.

Can you tell me how to reproduce the same problem? For example, can you share your app.yaml and cloudbuild.yaml? Can you also tell me the URL of the guide you're following?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/GoogleCloudPlatform/nodejs-getting-started/issues/461#issuecomment-885167917, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6QOBR7ADQS64WFO7NRUCTTZBU2VANCNFSM5AJJFFQQ .

Starting Step #1 Step #1: Already have image (with digest): gcr.io/cloud-builders/gcloud Step #1: Services to deploy: Step #1: Step #1: descriptor: [/workspace/app.yaml] Step #1: source: [/workspace] Step #1: target project: [lifeskills-backend] Step #1: target service: [default] Step #1: target version: [20210713t153611] Step #1: target url: [https://lifeskills-backend.el.r.appspot.com] Step #1: target service account: [App Engine default service account] Step #1: Step #1: Step #1: Do you want to continue (Y/n)?
Step #1: Beginning deployment of service [default]... Step #1: ╔════════════════════════════════════════════════════════════╗ Step #1: ╠═ Uploading 1 file to Google Cloud Storage ═╣ Step #1: ╚════════════════════════════════════════════════════════════╝ Step #1: File upload done. Step #1: Updating service [default]... Step #1: .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................failed. Step #1: ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred. Finished Step #1 ERROR ERROR: build step 1 "gcr.io/cloud-builders/gcloud" failed: step exited with non-zero status: 1

tmatsuo commented 3 years ago

@sampath-houde

Can you also attach the app.yaml and cloudbuild.yaml?

sampath-houde commented 3 years ago

Thanks for your reply.

Our issue has been resolved. Thank you for your support. Really appreciate it!!

On Tue, 10 Aug, 2021, 12:18 am Takashi Matsuo, @.***> wrote:

@sampath-houde https://github.com/sampath-houde

Can you also attach the app.yaml and cloudbuild.yaml?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/GoogleCloudPlatform/nodejs-getting-started/issues/461#issuecomment-895455638, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6QOBUX6MRJMYUTXXYFWH3T4APGBANCNFSM5AJJFFQQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .