google-app-engine-python Questions

1

I seem to have a memory leak in my Google App Engine app but I cannot figure out why. After narrowing down the lines of code responsible, I have reduced the problem to a simple cron job that run re...

16

Solved

Currently Google App Engine supports both Python & Java. Java support is less mature. However, Java seems to have a longer list of libraries and especially support for Java bytecode regardless ...

3

Solved

HTTP requests for a /healthz route on an app deployed on Google App Engine don't seem to reach the /healthz endpoint within the app. Instead, a 404 page is served, apparently from the GCP infrastr...

4

Solved

In the AppEngine developer appserver I am getting an error like this: SSLCertificateError: Invalid and/or missing SSL certificate for URL ... when I am making a fetch like this to an https serve...

2

Solved

I've got a local Python application configured with runtime: python in it's app.yaml file. When starting the local development server with dev_appserver.py app.yaml all is fine. Since GAE's ...

5

Solved

We are using command prompt c:\gcloud app deploy app.yaml, but get the following error: Running "python3 -m pip install --requirement requirements.txt --upgrade --upgrade-strategy only-if-need...
Lightyear asked 6/1, 2022 at 4:0

2

Solved

I'm starting to learn Google App Engine, and have written a basic main.py file with a Flask application, which works fine. Here's the first few lines of code: from flask import Flask, jsonify app ...
Krein asked 9/5, 2021 at 23:1

3

Solved

I am using Django REST Framework to deploy on Google App Engine and my requirements.txt file is as follows: asn1crypto==0.24.0 astroid==2.1.0 boto3==1.9.55 botocore==1.12.55 certifi==2018.8.13 cff...

4

Solved

I am trying to deploy appengine flex python app but getting the following in Stackdriver log stderr after deployment File "/env/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 578, ...

3

I have been using Google App Engine Standard Environment(Python 2.7) since some days now. It provides a good local development server, providing Task queues, datastore and other services locally. ...

1

Solved

The recommended path for upgrading a Python 2 AppEngine app to the new runtime is to switch datastore code to Google Cloud NDB. However, I can't find anything about unit testing code that uses Clou...

3

Solved

Versions Python : 2.7.14 six : 1.9.0 & 1.11.0(tried on both) OS : mac(10.13.3) & ubuntu(16.04) [tried on both] Error from six.moves import http_client ImportError: No module nam...

2

In the endpoints method, how to access request header information?
Conversazione asked 28/2, 2017 at 22:35

3

Solved

I'm trying to connect to Cloud SQL from a Python application (using PyMySQL 0.7.9) running on top of Google App Engine. My connection string looks like this (credentials are fake of course): pymy...

2

I'm working on a GAE application which largely consists of static content. I've configured the following handlers: - url: /content/(.*\..*) static_files: static/content/\1 upload: static/content...
Yarbrough asked 6/5, 2016 at 23:5

1

Is it necessary to validate signed headers from IAP in the AppEngine Standard Python 3.7 runtime? The IAP documentation is silent on specifics for the Python 3.7 runtime. The IAP documentation sa...
Raneeraney asked 6/9, 2018 at 14:4

3

Solved

When I run gcloud app deploy app.yaml which files actually get uploaded? The project folder contains folders and files such as .git, .git_ignore, Makefile or venv that are irrelevant for the de...
Lowering asked 26/9, 2017 at 19:21

2

Solved

I'm evaluating using Google Cloud and Google App Engine for our company's new product. I'm trying to adapt this tutorial to use Postgres instead of MySQL: https://cloud.google.com/python/django/fl...

1

Solved

I have a single function running on Google App Engine Flexible as part of an API call. The structure is something like this import externalmod ... ... @app.route('/calc_here') def calc: answer = ...
Herophilus asked 3/6, 2018 at 15:5

1

I'm using Appengine cron job to schedule cloud function and when I deploy and try to run a job, getting below error. Any idea what could be wrong here? Followed steps from [here][1] (/base/alloc/t...

2

In my app (Google App Engine Standard Python 2.7) I have some flags in global variables that are initialized (read values from memcache/Datastore) when the instance start (at the first request). Th...
Antionetteantioxidant asked 26/7, 2017 at 16:10

1

Solved

Over the past couple days, this has started cropping up whenever I run dev_appserver.py: from google.appengine.tools.devappserver2.python import sandbox ImportError: cannot import name sandbox S...
Horary asked 4/11, 2017 at 15:51

4

Ok I'm following along with the Become A Technical Marketer course and I'm trying to learn how to manage Google Spreadsheets with GSpread. I've followed along with the documentation at http://gspre...

1

I can get a short integer instance_id for a running process by calling modules.get_current_instance_id(), but this returns an integer index into the list of instances for the current version of the...
Dishearten asked 18/2, 2017 at 1:45

1

A major selling point of Google Cloud Datastore is that it provides strong consistency within an entity group. Cloud Datastore ensures that entity lookups by key and ancestor queries always receiv...

© 2022 - 2025 — McMap. All rights reserved.