google-app-engine

Coinbase API client.getAccount(…) started returning: “Error: unable to get local issuer certificate” [duplicate]

爱⌒轻易说出口 提交于 2020-05-31 03:41:25
问题 This question already has an answer here : UNABLE_TO_GET_ISSUER_CERT_LOCALLY error when calling the Coinbase NODEJS API (1 answer) Closed last month . The issue started late-morning PT, on March 31, 2020. The server making the API call to Coinbase is hosted on Google App Engine with node.js (GCP). The same cert-connectivity problem to Coinbase also happened a few weeks ago, and lasted for about a day. The cert-connectivity problem went away all by itself at that time. No code changes were

No module named 'google.appengine' from within Cloud Shell

点点圈 提交于 2020-05-30 02:35:14
问题 I'm testing Google App Engine and trying to run a simple function to upload files to either the Blobstore or Cloud Storage. I'm typing the Python code directly in the Cloud Shell of my instance. The code is failing when I call: from google.appengine.ext import blobstore I get the error code: Traceback (most recent call last): File "upload_test.py", line 1, in <module> from google.appengine.api import users ImportError: No module named 'google.appengine' Even though the documentation says that

Cannot deploy on App Engine with app engine SDK

主宰稳场 提交于 2020-05-29 06:03:06
问题 I'm using appcfg.py to update my app as usual, and I'm getting an error message. I've tried appcfg.py rollback, and I've waited ten minutes between attempts but I still get the same error message. What should I do? cannot operate on apps/devnpfieldapp2/services/default/versions/1 because an operation is already in progress for 9866bb4e-75de-4a2a-a9f6-891ad7fe724e by 5a972249-5b35-45e0-abd1-ac3554ec425b. 回答1: I recommend to upgrade your Cloud SDK to the latest version by running “gcloud

Reaching quota for ip address in use too fast for App engine

若如初见. 提交于 2020-05-29 05:52:11
问题 I have a webserver running in App Engine and the client is a mobile app. I am seeing that a lot of requests on the mobile are starting to fail once we scaled up to a lot of users. I am not seeing any failures in our logs however. I noticed in our quotas that our ip address in use for Compute Engine API is at its max of 8 (even though we're not running any services on Compute Engine). I am not sure if this is the root cause but it wasn't like this before, I was wondering if there is any advice

Getting error while generating crypto keys using GCloud KMS to access private repo as dependency

不羁的心 提交于 2020-05-29 05:02:58
问题 I'm trying to add encrypted ssh keys to google KMS using this documentation for accessing private repository as a dependency on Google App Engine (Node.JS project). I have successfully generated Cloud KMS KeyRing and CryptoKey but I'm facing an error while encrypting the key. (gcloud.kms.encrypt) PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.useToEncrypt' denied for resource 'projects/test/locations/global/keyRings/my-keyring/cryptoKeys/key'. Need some help to setup this so can I

Getting error while generating crypto keys using GCloud KMS to access private repo as dependency

。_饼干妹妹 提交于 2020-05-29 05:01:14
问题 I'm trying to add encrypted ssh keys to google KMS using this documentation for accessing private repository as a dependency on Google App Engine (Node.JS project). I have successfully generated Cloud KMS KeyRing and CryptoKey but I'm facing an error while encrypting the key. (gcloud.kms.encrypt) PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.useToEncrypt' denied for resource 'projects/test/locations/global/keyRings/my-keyring/cryptoKeys/key'. Need some help to setup this so can I

How to bind one domain/subdomain per service in the Google App Engine?

醉酒当歌 提交于 2020-05-27 04:18:25
问题 I have a lot of trouble finding how to map multiple domains to multiple services in the GAE. Here is the configuration : One application is a Go API, deployed in GAE in the standard environment The second application is an Angular application, also deployed in GAE in the standard environment but as another service. Here are the app.yaml files : Go application app.yaml runtime: go api_version: go1.9 handlers: - url: /.* script: _go_app Angular application app.yaml service: stage runtime:

How to group related request log entries GAE python 3.7 standard env

戏子无情 提交于 2020-05-26 14:26:55
问题 I'm using Google App Engine python 3.7 standard and i'm trying to group related request log entries. According to the Writing Application Logs documentation, I should: Set the trace identifier in the LogEntry trace field of your app log entries. The expected format is projects/[PROJECT_ID]/traces/[TRACE_ID] Where/How should use LogEntry? The Stackdriver Logging documentation doesn't show how it's possible. Am I missing something? Code examples would be much appreciated. [UPDATE] Following

Google App Engine is sending SVG with wrong mime-type

守給你的承諾、 提交于 2020-05-25 04:29:46
问题 I'm using Google App Engine with Python 2.7 and I'm trying to use an svg-file as a sprite-sheet. For some reason this works fine on Win7 and Ubuntu, but not on Vista or Mac (Using the latest Chrome and Firefox in each case). Here it's sent with mime-type "application/octet-stream" and the browsers prompts to download it, instead of displaying it. I tried overriding the mime-type in my app.yaml like this: - url: /img/.*\.svg static_dir: public/img mime_type: image/svg+xml - url: /img static

Google App Engine is sending SVG with wrong mime-type

ⅰ亾dé卋堺 提交于 2020-05-25 04:29:33
问题 I'm using Google App Engine with Python 2.7 and I'm trying to use an svg-file as a sprite-sheet. For some reason this works fine on Win7 and Ubuntu, but not on Vista or Mac (Using the latest Chrome and Firefox in each case). Here it's sent with mime-type "application/octet-stream" and the browsers prompts to download it, instead of displaying it. I tried overriding the mime-type in my app.yaml like this: - url: /img/.*\.svg static_dir: public/img mime_type: image/svg+xml - url: /img static