57 questions from the last 365 days
1
vote
0
answers
51
views
How to get geo location headers (country, region, city) in Cloud Run Gen2 like App Engine headers?
Previously, I was using Cloud Functions (Gen1), and I could access App Engine–specific headers such as:
X-Appengine-Country X-Appengine-Region X-Appengine-City X-Appengine-Citylatlong
These were ...
1
vote
0
answers
47
views
google.appengine.runtime.apiproxy_errors.RPCFailedError Attempted RPC call without active security ticket
I'm receiving the error below with a google app engine search. This error appears to have started recently and is repeatable.
Can I ask for a breadcrumb to help interpret/find root cause?
Was ...
0
votes
0
answers
171
views
Jakarta EE 10 JSP: NoClassDefFoundError: jakarta/servlet/jsp/tagext/Tag when using JSTL
I have a Jakarta 10 application which i deploy to google app engine standard java runtime 21. With the current dependencies JSP has been working well along with jstl tags. This is a snippet of my pom....
0
votes
1
answer
108
views
Does appengine support WebSocketServer?
The google appengine documentation states websockets are supported, but in their example they use socket.io instead of a "regular" WebSocketServer.
my (simplified) nodejs server is super ...
0
votes
1
answer
63
views
Why can't we turn off IAP for just one service in Google Cloud App Engine?
My Plan
I’m deploying a React frontend and a Flask backend on App Engine.
I want to use dispatch.yaml to send traffic from the frontend to the backend and hide the backend URL, so users can’t see or ...
0
votes
1
answer
61
views
Assistance needed in deploying to Google App Engine
I have successfully deployed a spring boot application deployed in google cloud app engine flex environment on May 20, 2025. I tried to deploy same version of the application without any success on ...
0
votes
1
answer
118
views
What options are used to run npm install in Google App Engine
Does anybody know if Google App Engine (GAE) runs the npm install in dev mode even when NODE_ENV is set to production (regardless if it is set by default or explicitly in the app.yaml)? Or the broader ...
-1
votes
1
answer
90
views
NODE_ENV in Google App Engine in TypeScript apps (React)
How does GAE (Google App Engine) treat NODE_ENV on deployment and run with a NodeJS runtime?
Google docs clearly states that some variables are automatically set and cannot overridden except the `...
0
votes
0
answers
71
views
Entity.put error after Python 3 migration for Google Data Store - refactored
I have the code below to update an entity in the Google data store.
I'm now getting an internal error on the model.Collection.put(vhighest)
sync.yaml
service: sync
instance_class: F2
...
1
vote
1
answer
72
views
NDB Python Error returning object has no attribute 'connection_from_host'
I have the code below which is built on top of ndb.
When running I receive the two errors below.
Can I ask for some guidance, specifically what is the connection_from_host referring to?
import flask
...
1
vote
1
answer
71
views
Google App Engine Shim? NDB Middleware receiving an error
I have the following sync service written as a microservice.
Per the google cloud instructions I could add the middleware? shown at the bottom as a type of shim? I don't have a good mental model of ...
0
votes
1
answer
75
views
Sync Job with Google App Engine produces error after python 3 migration
I am deploying this sync service.
I thought that after the python 3 migration adding this prevents such an error.
client = ndb.Client()
I am not sure how to interpet the error. For the controller ...
0
votes
1
answer
142
views
Python Error in NDB after python 3 upgrade
I am working on some code that was recently upgrade from python 2 to python 3 that is part of google app engine.
Can I ask for some assistance tracing this? I do not know if this is because something ...
0
votes
1
answer
21
views
How to deal with GCP GAE's 1000 files per folder limit when deploying nuxt application?
Google App Engine (GAE) enforces a limit of 1,000 static files per directory during deployment. Nuxt's .output/public/_nuxt folder often contains more than 1,000 hashed static assets (JS/CSS chunks, ...
0
votes
1
answer
76
views
Google App Engine Ruby on rails validation
I am trying to put yet another Ruby on rails application on Google App Engine, but this time without success.
I get an error in the cloud build that I just can't decipher
=== Ruby - Appengine ...
0
votes
1
answer
113
views
appengine returns 403 for a file
I have two apps, one is a full stack spring boot app serving Angular files running on a VM, and the second one is app to deploy a spring boot client to the AppEngine environment.
The second one is ...
2
votes
1
answer
94
views
GCP Private VM Instance unable to resolve ghs.googlehosted.com in Private DNS Zone
We have Private VM Instance ( Twingate ) which will hit to our app engine applications ( NodeJS ) through private dns zone. Please note that we have 2 same domain for Private and Public Zones, let's ...
0
votes
1
answer
324
views
Stop Otel from tracing its own internal metric exporting activity
I've implemented Otel for my python app sending telemetry to GCP backend. I'm seeing these trace spans for https://otel-collector-xxx.asia-southeast1.run.app/opentelemetry.proto.collector.metrics.v1....
0
votes
2
answers
68
views
Deploy via Maven to GCP Standard Edition has started to fail - Python missing
I have been using the following cloudbuild.yaml file for a number of years and it has worked perfectly
steps:
- name: "gcr.io/cloud-builders/mvn:appengine"
args: ["-D", &...
1
vote
2
answers
74
views
AppEngine Dispatch rules not applied in order for hostnames?
I have a bunch of AppEngine services in a GCP project.
Let's call them red-service, green-service and default, with the project being myproject.
According to the docs, the standard way to reach a ...
1
vote
1
answer
80
views
FeatureCollection (Error) A mapped function's arguments cannot be used in client-side operations
I am trying to extract random points from a layer in a collection. It is showing this error
"FeatureCollection (Error) A mapped function's arguments cannot be used in client-side operations"
...
-1
votes
1
answer
100
views
Google AppEngine Error "The API call search.IndexDocument() required more quota than is available"
A few hours ago, indexing documents on AppEngine search started failing. Been working for years.
The following error occurs when saving a single document:
Caused by: com.google.appengine.api.search....
0
votes
1
answer
299
views
next.js on GAE: 404 Chunk Load Error – Loading chunk <number> failed
When deploying my next.js application to Google App Engine (Standard Environment), one specific js chunk cannot be loaded but throws a 404 error and makes the app crash. Happens everytime when I load ...
0
votes
1
answer
67
views
Google App Engine - endpoint "GET /_ah/start HTTP/1.1" 500
When updating my application's configuration from scaling to manual, I repeatedly encountered this error in the console: Error: Cannot find module '/workspace/index.js', followed by multiple errors of ...
1
vote
1
answer
152
views
Deployment to App Engine fails only when triggered from GitHub Actions
When trying to deploy to App Engine from GitHub Actions, the process fails with the error:
Error Response: [13] An internal error occurred.
However, running the equivalent commands from my local ...
0
votes
0
answers
45
views
How do I avoid latency in Redis Cache due to different regions?
I recently setup a Redis Essentials (Free) plan (Link. I set it up in US-East region, and I realised that any requests from other regions such as Asia Pacific or Europe, were facing additional ...
0
votes
0
answers
41
views
App Engine Subdomains (CNAME) Not Propagating Properly
I have multiple projects on Google App Engine and manage my domain through a third-party DNS provider. My main domain (A/AAAA records) works fine, but subdomains (CNAME records) like app.domain.com ...
1
vote
1
answer
332
views
Traffic blocked with App Engine TLS 1.2 opt-in
I received this email from Google today:
[Action Advised] Opt-in to allow only secure TLS 1.2+ traffic in your App Engine applications
I have several projects. I tried in a "testing" project ...
0
votes
0
answers
54
views
GOOGLE_APPLICATION_CREDENTIALS is null even after setting env_variables in app.yaml
I am deploying a Flask application to Google App Engine (Standard Environment, Python 3.9).
I am using Firebase Admin SDK to access Firestore, and I have set GOOGLE_APPLICATION_CREDENTIALS in app.yaml ...
0
votes
0
answers
75
views
Cannot Deploy API on GAE Standard: "failed to initialize analyzer" with gcr disabled
I am trying to deploy an API on Google App Engine (GAE) Standard Environment, but I keep encountering the following error:
ERROR: failed to initialize analyzer: validating registry read access: ensure ...
0
votes
1
answer
142
views
Is Google Artifact Registry required for an NodeJS AppEngine Standard Deployment?
I have a Google App Engine app. It is a "Standard" (vs "Flexible"), it is NodeJS, the first few lines of the config are:
runtime: nodejs20
env: standard
instance_class: F2
...
...
0
votes
0
answers
33
views
Why does GCP App Engine Flex not read the active Spring profile application properties yaml file?
I have many application-<environment>.yaml files in my resources folder. I would like to only include the default and active profile files in my builds for deployment. I have this in my build....
0
votes
1
answer
60
views
How do I keeping idle app running in Google Cloud
I have a node.js app which is serving data from a Google Sheet to Slack on request (via slash commands). The app reads the sheet into memory at start-up and once a day and then serves the slack ...
0
votes
0
answers
39
views
How do I set up app engine and gwt maven plugins for local development when using app engine legacy bundled services?
I'm trying to set up an older project that was using eclipse plugins for app engine and gwt. These plugins won't work moving foward and I'm now looking to set this up using eclipse and maven plugins ...
0
votes
1
answer
141
views
Update Strategy When Using Auto Scaling with MIG on GCP
I'm new with GCP and I've been reading some articles online on how to create Auto Scaling on GCP. I found this StackOverflow answer that answered all my questions on how to setup Auto Scaling with MIG ...
-1
votes
1
answer
209
views
PERMISSION_DENIED Error When Creating a Queue with Google Cloud Tasks
I'm developing a Node.js application and trying to create a queue using Google Cloud Tasks, but I encounter the following error:
Error: 7 PERMISSION_DENIED: The principal (user or service account) ...
2
votes
0
answers
201
views
Memory problems using google-genai python library in Google Cloud App Engine
I have a python application deployed in Google Cloud App Engine. When I deploy including google-genai in requirements.txt and doing "import google.genai as genai" in my code, the application ...
0
votes
0
answers
71
views
Deployment error on Google App Engine: "error: con.connect is not a function"
I'm new on Strapi Cloud and Google Cloud. I have tried to deploy my Strapi Cloud app by using Google App Engine, and I followed a website/videos (https://kevinblanco.dev/strapi-cms-on-google-cloud-...
0
votes
0
answers
36
views
(typo, closed) flask-mail google SSL " smtplib.SMTPServerDisconnected: Connection unexpectedly closed "
So, now that I added SSL instead of TLS there's at least some progress, but it still doesn't work.
I click the button, it processes for a 5-10 seconds and I get the error that connection unexpectedly ...
3
votes
1
answer
205
views
Google Cloud Error reporting slow to respond to errors
I'm using Google App Engine on Google Cloud to run a Flask app. It used to be that whenever an error appeared on the production server I would receive an email from Google Console that an error ...
2
votes
1
answer
440
views
Migration from Container Registry to Artifact Registry for App Engine Standard Deployments
I am currently using Google App Engine Standard and deploying a Java application via Gradle task appengineDeploy.
At the moment, my deployments are being routed through Container Registry, but I would ...
1
vote
1
answer
65
views
How to connect Google App Engine in Cloud SQL (MySQL 8.0) instance using Cloud IAM
I'm trying to connect my .NET app(MySqlConnector 2.4.0) running in App Engine to my MySQL instance running in Cloud SQL using Cloud IAM. I'm using the App Engine default service account for the IAM ...
0
votes
0
answers
15
views
My django app cannot retrieve my environment variables from secret manager
I'm trying to host my Django app on the Google app engine. I tested the app locally using a .env file for the environmental variables, but when I moved the variables to the secret manager, the app ...
0
votes
0
answers
35
views
How to manage environment variables for my Node.js app deployed on Google App Engine via GitHub Actions?
I have a Node.js API running on express, that I deploy to Google App Engine (GAE) using GitHub Actions. Currently, I use a .env file for managing environment variables locally, but I want to securely ...
0
votes
1
answer
62
views
Google Cloud Endpoints - Failed to load service
Something very strange has just started happening. Our API on Google Cloud Endpoints won't startup. This happened just after trying to deploy to a new test environment. Now we can't deploy to the ...
0
votes
2
answers
138
views
Not able to connect mysql with SSL enforced to app engine without connecting first in cloud shell
I have created mysql instance v-8.4 in gcp with ssl. But it is not able to connect to app engine. When I connect to mysql using command line in google cloud shell, after that it connects with app ...
0
votes
0
answers
231
views
google cloud datastore emulator fails to start
Up until now, I was using the following command for testing a GAE application on my local dev env:
e:
cd E:\myProj\myWebApp
"E:\Google\Cloud SDK\google-cloud-sdk\bin\java_dev_appserver.cmd" -...
0
votes
0
answers
25
views
Why is App Engine not reading Symfony routes
When deploying to Docker, routes work fine but when I deploy to gcloud App Engine, clicking on the submit button returns to /search (the search bar route), anybody knows why?
<div class="...
0
votes
1
answer
33
views
Blank screen after Deploying React app on G-Cloud
app.yaml:
runtime: nodejs20
env_variables:
REACT_APP_BASE_URL: https://api-dot-gd-goenka-school.uc.r.appspot.com/
handlers:
- url: /static
static_dir: build
- url: /(.+)
static_files: ...
0
votes
0
answers
27
views
GCP Deployment Throwing internal error from Github CI/CD Pipeline
I have a GitHub Actions workflow setup to deploy to my GCP App Engine when ever changes are pushed to my production branch. This is the YML file for the workflow:
name: Deploy to App Engine
on:
...