google-app-engine

are updated health checks causing App Engine deployment to fail?

不羁岁月 提交于 2020-08-01 06:27:25
问题 we updated our google app engine health checks from the legacy version to the new version using and now our deployments are failing. Nothing else on the project has changed. We tested the default settings and then extended checks just in case. This is the error: ERROR: (gcloud.app.deploy) Error Response: [4] Your deployment has failed to become healthy in the allotted time and therefore was rolled back. If you believe this was an error, try adjusting the 'app_start_timeout_sec' setting in the

are updated health checks causing App Engine deployment to fail?

自作多情 提交于 2020-08-01 06:27:19
问题 we updated our google app engine health checks from the legacy version to the new version using and now our deployments are failing. Nothing else on the project has changed. We tested the default settings and then extended checks just in case. This is the error: ERROR: (gcloud.app.deploy) Error Response: [4] Your deployment has failed to become healthy in the allotted time and therefore was rolled back. If you believe this was an error, try adjusting the 'app_start_timeout_sec' setting in the

Firestore Deadline Exceeded Node

五迷三道 提交于 2020-07-30 10:22:29
问题 I would like to load collection that is ~30k records. I.e load it via. const db = admin.firestore(); let documentsArray: Array<{}> = []; db.collection(collection) .get() .then(snap => { snap.forEach(doc => { documentsArray.push(doc); }); }) .catch(err => console.log(err)); This will always throw Deadline Exceeded error. I have searched for some sorts of mechanism that will allow me to paginate trough it but I find it unbelievable not to be able to query for not that big amount in one go. I

Firestore Deadline Exceeded Node

孤街醉人 提交于 2020-07-30 10:21:12
问题 I would like to load collection that is ~30k records. I.e load it via. const db = admin.firestore(); let documentsArray: Array<{}> = []; db.collection(collection) .get() .then(snap => { snap.forEach(doc => { documentsArray.push(doc); }); }) .catch(err => console.log(err)); This will always throw Deadline Exceeded error. I have searched for some sorts of mechanism that will allow me to paginate trough it but I find it unbelievable not to be able to query for not that big amount in one go. I

Firestore Deadline Exceeded Node

旧巷老猫 提交于 2020-07-30 10:19:11
问题 I would like to load collection that is ~30k records. I.e load it via. const db = admin.firestore(); let documentsArray: Array<{}> = []; db.collection(collection) .get() .then(snap => { snap.forEach(doc => { documentsArray.push(doc); }); }) .catch(err => console.log(err)); This will always throw Deadline Exceeded error. I have searched for some sorts of mechanism that will allow me to paginate trough it but I find it unbelievable not to be able to query for not that big amount in one go. I

Difference between “drive.metadata.readonly” and “drive.readonly.metadata”

↘锁芯ラ 提交于 2020-07-22 21:31:06
问题 I want to ask what is the difference between DriveScopes.DRIVE_METADATA_READONLY and https://www.googleapis.com/auth/drive.readonly.metadata ? In other words, what is the difference between these two forms: https://www.googleapis.com/auth/drive.metadata.readonly //DriveScopes.DRIVE_METADATA_READONLY https://www.googleapis.com/auth/drive.readonly.metadata When I was using service account for working with Drive API it takes me a long time to figure out, why my app was throwing unauthorized

How to connect Google Cloud SQL via Google App engine Flex to botnet core app?

☆樱花仙子☆ 提交于 2020-07-22 05:16:09
问题 I have a .NET Core 2.2 app using a PostgreSQL DB. Now I want to deploy it on Google Cloud App Engine Flex and Google Cloud SQL PostgreSQL. I tried the official way and found this, where I found that you have to use $ gcloud beta app deploy instead of $ gcloud app deploy My app.yaml configuration file: env: flex runtime: aspnetcore beta_settings: cloud_sql_instances: "<SQL-NAME>=tcp:<PORT>" The issue is that I get this error: Trying to connect to Host=127.0.0.1;Port=XXX;Username=XXX;Password

Granting directory level permissions for Google Cloud Storage REST APIs

旧时模样 提交于 2020-07-21 02:44:25
问题 My aim is to be able to call the Google Storage REST APIs with an OAuth token granting an authenticated Google user the read/write permissions on a directory called "directoryName" inside my storage bucket. So, far I have successfully managed to use the Storage APIs after adding the user to the ACL for the bucket. However, I do not want to grant the user the READ or WRITE permissions on the complete bucket but just on the user's directory inside the bucket e.g. bucket/directoryName. e.g. I

Google Cloud Deployment - User disabled

人盡茶涼 提交于 2020-07-20 23:52:29
问题 Following this instruction, I try to deploy a front end app to Google Cloud. On the last step, I get the following error for the command "gcloud app deploy" (gcloud.app.deploy) Unable to deploy to application [my-app] with status [USER_DISABLED]: Deploying to stopped apps is not allowed. I take a look at my Google Cloud account and can't find the disabled status. Where shall I look to solve this problem? 回答1: You should be able to re-enable your application by going to App Engine -> Settings

Google Cloud Deployment - User disabled

柔情痞子 提交于 2020-07-20 23:50:54
问题 Following this instruction, I try to deploy a front end app to Google Cloud. On the last step, I get the following error for the command "gcloud app deploy" (gcloud.app.deploy) Unable to deploy to application [my-app] with status [USER_DISABLED]: Deploying to stopped apps is not allowed. I take a look at my Google Cloud account and can't find the disabled status. Where shall I look to solve this problem? 回答1: You should be able to re-enable your application by going to App Engine -> Settings