ReactJS deployment failed on Google App Engine - node.js

I'm trying to deploy my simple ReactJS project on Google App Engine. But I don't know why deployment is failed on Google App Engine regarding following documentation of Google. https://cloud.google.com/nodejs/getting-started/hello-world
Error logs when I encountered.
The push refers to a repository [us.gcr.io/react-ppshein/appengine/default.20160905t090720] (len: 1)
ec870881572a: Preparing
Post https://us.gcr.io/v2/react-ppshein/appengine/default.20160905t090720/blobs/uploads/: token auth attempt for registry: https://us.gcr.io/v2/token?account=_token&scope=repository%3Areact-ppshein%2Fappengine%2Fdefault.20160905t090720%3Apush%2Cpull&service=us.gcr.io request failed with status: 403 Forbidden
ERROR
ERROR: error pushing image "us.gcr.io/react-ppshein/appengine/default.20160905t090720:latest": exit status 1
ERROR: (gcloud.app.deploy) Error Response: [2] Build failed; check build logs for details

Related

gcloud app deploy is failing with Failed to create cloud build: Permission denied on 'locations/xyz' (or it may not exist)

I have a 2.x python app and some 3.x python app which are running on google app engine.
Recently, I had updated the 2.x app without any issue. Now, when I'm trying to deploy an update for a 3.x python app, I'm getting an error "Error Response: [7] Failed to create cloud build: Permission denied on"
Services to deploy:
descriptor: [C:\Users\artha\Documents\gae billApp\CbicNtfnAndAutoMailer\app.yaml]
source: [C:\Users\artha\Documents\gae billApp\CbicNtfnAndAutoMailer]
target project: [cbicntfnandautomailer]
target service: [default]
target version: [1]
target url: [https://cbicntfnandautomailer.appspot.com]
target service account: [App Engine default service account]
Do you want to continue (Y/n)? Y
Beginning deployment of service [default]...
#============================================================#
#= Uploading 0 files to Google Cloud Storage =#
#============================================================#
File upload done.
Updating service [default]...failed.
ERROR: (gcloud.app.deploy) Error Response: [7] Failed to create cloud build: Permission denied on 'locations/asia-south1' (or it may not exist)..
Previously, I did not face any issue.
gcloud app describe shows me
authDomain: gmail.com
codeBucket: staging.cbicntfnandautomailer.appspot.com
databaseType: CLOUD_DATASTORE_COMPATIBILITY
defaultBucket: cbicntfnandautomailer.appspot.com
defaultHostname: cbicntfnandautomailer.appspot.com
featureSettings:
splitHealthChecks: true
useContainerOptimizedOs: true
gcrDomain: asia.gcr.io
id: cbicntfnandautomailer
locationId: asia-south1
name: apps/cbicntfnandautomailer
serviceAccount: cbicntfnandautomailer#appspot.gserviceaccount.com
servingStatus: SERVING
I have also tried disabling and re-enabling cloud build, but to no avail...
Can you please advice how to resolve the issue, thanks!!!
EDIT: As a workaround, created a seperate project and deployed there to resolve the issue, but the root cause still remains unknown!!
Check if you reached the limit of build-triggers allowed per region:
Cloud build limits

Failed to deploy web package to App Service. Code 401

I've deployed my little django app, but can't deploy it continously. Every time I see this error message, while deploying from GitHub. I am using student account, so mb that could be a reason?😣
Run azure/webapps-deploy#v2
Package deployment using ZIP Deploy initiated.
Error: Failed to deploy web package to App Service.
Error: Deployment Failed with Error: Error: Failed to deploy web package to App Service.
Unauthorized (CODE: 401)

Azure Static WebApps Deployment Failure Reason: Failure during content distribution

I have setup a new Static WebApps on Azure and connect it to my github repo. The project is in Next.js. When I am checking the Actions tab, I can see that the build succeeds but the deployment fails with the error:
Uploading build artifacts.
Finished Upload. Polling on deployment.
Status: InProgress. Time: 2.1680286(s)
Status: InProgress. Time: 17.5285027(s)
Status: Failed. Time: 32.7463924(s)
Deployment Failed :(
Deployment Failure Reason: Failure during content distribution
Exiting
Any ideas on what I might be going on and how to fix it?

Build failed: No module named virtualenv

I have a Python 3.7 GCP App Engine project. Everything works well normally. For the past hour, however, I have not been able to deploy a new version of my app. I keep the same kind of Internal error. What can I do to resolve this? According to the VCS used, I have not changed anything since the last commit.
The command I run is the same as always: gcloud app deploy app.yaml --project=my-project-name
Here is the output:
Beginning deployment of service [default]...
#============================================================#
#= Uploading 1 file to Google Cloud Storage =#
#============================================================#
File upload done.
Updating service [default]
...
............................failed. ERROR: (gcloud.app.deploy) Error
Response: [9] Cloud build 111fffff-1111-2222-cbaf-edcba154321f status:
FAILURE. Error ID: 6C9DE5CE. Error type: InternalError. Error message:
create_virtualenv had stderr output: /opt/python3.7/bin/python3.7:
No module named virtualenv
error: create_virtualenv returned code: 1.

App Engine deploy fails (Managed VM nodejs)

App Engine deploy fails with this error
Copying files to Google Cloud Storage...
Synchronizing files to [gs://staging.john-slowmo-droid-1116.appspot.com/].
Updating module [default]...failed.
ERROR: (gcloud.preview.app.deploy) Error Response: [400] Invalid character in filename: node_modules/es5-ext/array/#/##iterator/implement.js
This behavior did not happen before the second to latest gcloud update. Tried in gcloud sdk 0.9.86 and 0.9.87.

Resources