477 questions
0
votes
1
answer
33
views
How to see app engine resource allocation
I'm deploying an app to google app engine (flexible environment). My app.yaml file doesn't specify cpu, memory, or disk space currently. I assume it's using some default.
I want to know what the ...
0
votes
1
answer
149
views
App Engine Flex configuration very slow taking 10+ mins for a simple nodejs app
I am using standard env for 2 other services on app engine and they deploy super fast but the one service using flex takes 10+ minutes despite it being simple, does anyone see any issues with my app....
0
votes
1
answer
52
views
Appengine runtime from java 8 to 11 - Issues in Local & Deployment Run
When I run the code in my local with the command ("clean install package exec:java -Dexec.args="target/appName-1.war") then I am getting below error message>> Fil Not Found: War ...
1
vote
1
answer
384
views
App Engine says "Your runtime version for ruby33 is past End of Support", but it isn't
As written in google documentation here and here
I use the latest runtime of Ruby available in app engine.
Runtime
Environment
Runtime ID
End of support
Deprecated
Decommission
Ruby 3.3
Ubuntu 22.04
...
0
votes
1
answer
85
views
Where is nginx.conf kept on Google App Engine flexible environment?
I am getting nginx.error:
client intended to send too large body
so I'm trying to fix by making changes to nginx.conf. This is in a Google App Engine that uses Django and deploys to the flexible ...
0
votes
0
answers
91
views
Running gcloud app deploy and getting PERMISSION_DENIED 'compute.regions.get', despite having Owner and Compute admin permissions
While running gcloud app deploy app.staging.api.yaml - i am getting PERMISSION_DENIED
(gcloud.app.deploy) PERMISSION_DENIED: Request to https://compute.googleapis.com/compute/v1/projects/projects/...
1
vote
1
answer
61
views
How to configure GCP App Engine to properly shutdown after a period of inactivity
Recently I have deployed an application in a GCP App Engine with flex environment and autoscaling settings. As far as I know, after a period of inactivity, namely, no requests, the instance associated ...
1
vote
1
answer
1k
views
ERROR: (gcloud.app.deploy) Error Response: [4] - App engine flex
I started getting this error all of a sudden when i deploy app engine flex.
The full error i get is the following
googlecloudsdk.api_lib.app.operations_util.OperationError: Error Response: [4] An ...
0
votes
1
answer
71
views
Why is code working fine locally, but takes longer on Google App Engine Flexible Environment?
I have this Node.JS application. I made its docker image from this base: https://hub.docker.com/r/bcgovimages/alpine-node-libreoffice
When I compare the performance by running the image locally and ...
-1
votes
2
answers
114
views
App engine flexible - how to implement distributed sessions
In the flexible environment, App Engine doesn't provide built-in support for distributed sessions like it does in the standard environment with Memcache.
So after migrating to Flex, I am unable to ...
0
votes
1
answer
70
views
AppEngine Flex Deployment Failed - flex_await_healthy ... /bin/sh: gunicorn: not found
I tried to build AppEngine Flex instance using custom-runtime, contains
Python 3.11
Firefox
so, while running pip for installing the dependencies got into a warning that I am running pipas root, ...
0
votes
1
answer
478
views
How to fix APPLICATION_ERROR;google.iam.credentials.v1/CloudGaia.GenerateAccessToken;Account disabled: xxxxxxxx?
I am getting the following error when deploying a service to Flexible app engine. This issue happened out of the blue and I have no clue what this CloudGaia. We checked the Flexbile App engine API and ...
1
vote
2
answers
1k
views
Deploy Nuxt3 to AppEngine Standard or Felxible Environment
I'm having trouble deploying my app, which uses Server-Side Rendering (SSR) in Nuxt3, to Google App Engine. While I managed to deploy it successfully to GCP Cloud Run using a Docker container, it ...
1
vote
1
answer
510
views
Issue with Google App Engine Flexible Environment using Java 11 as Runtime in terraform code
I am trying to configure a Google App Engine Flexible Environment for my Java application, and I want to use Java 11 as the runtime. However, I'm encountering an issue where it seems to be using Java ...
0
votes
1
answer
136
views
App Engine Flex environment Golang: cannot find module for path io/fs
Every time I deployed a basic Go backend application to the App Engine Flexible environment I get the aforementioned issue.
runtime: go
env: flex
endpoints_api_service:
# The following values are ...
0
votes
0
answers
303
views
What should be added on CORS whitelist domains before and after deployment
I have a react frontend and backend server running with node js. i wanted to enable CORS on specific domains to allow APIcalls to the backend. i added for example http://localhost . the front end and ...
0
votes
0
answers
75
views
Unable to deploy the APP in Google Cloud App Engine Lab Task
I tried to working on the following lab session on Google Cloud related the App Engine app
App Engine Lab Session Link
Then in that lab session, I stuck on the Task 3. Deploy your application
When I ...
0
votes
1
answer
72
views
How to define a custom error page on AppEngine flex?
Currently if the server is down or an instance is starting AppEngine flex shows an ugly page with
502 Server Error
Error: Server Error
The server encountered a temporary error and could not complete ...
0
votes
0
answers
146
views
Correlation between node.js and number of cpu cores in GCP App engine flex
We are receiving data from GCP pub/sub to app engine.
However, as traffic increases, unacked messages in pub/sub are increasing. This seems to be due to the overload of the app engine, so I am trying ...
0
votes
1
answer
300
views
AppEngine Flex custom liveness_check path not reaching app endpoint
I've configured a custom liveness_check in my app.yaml. I've confirmed that the endpoint exists, and when I call it directly I receive a 200 response. However, when GoogleHC calls it it receives a 500 ...
0
votes
1
answer
294
views
Autoscale google app engine flexible environment depending on number of unacknowledged PubSub messages
I would like to know if it's possible to scale the number workers depending on the number of unacknowledged pubsub messages.
I have an API service that publishes messages to a queue and then the ...
0
votes
2
answers
366
views
Unable to Upgrade PHP Language 7.3x to 7.4x in Flexible App Engine
Flexible App Engine, says that to specify a PHP language at runtime, it must be specified in the composer as such (https://cloud.google.com/appengine/docs/flexible/php/runtime): GCP
We have the same ...
0
votes
0
answers
384
views
This version has no instances deployed
My application was working till the last day but suddenly it was stopped. when I checked in the app engine in my-service (in the current version) then I found that there is no instance available for ...
0
votes
0
answers
123
views
How to restrict access to goole app engine
I have in the same project 2 flex app engine instances and i want to restrict the access to them. Both are in the same vpc network and both have the same vpc_access_connector.
Currently anybody can ...
0
votes
1
answer
378
views
GCP App Engine Firewall Rules Failing For Custom Domain
My goal is to limit access to my App Engine Service to my home office IP. I have configured the App Engine Firewall with allow rules for both my IPv4 and IPv6 addresses, and set the default rule to ...
0
votes
0
answers
411
views
App Engine flexible restarting from 503 /readiness_check failure
My app.yaml configuration has a custom URL /my_readiness_check for readiness check instead of the default /readiness_check.
I see requests to the custom URL that succeed. Then I see my instance ...
1
vote
0
answers
309
views
Missing cookie key/value from request headers in one iAP enabled App Engine instance but not the other
Context:
2 app engine (flex) node servers:
identical configuration
Both include the 3 commonly used key/values in the request headers
x-goog-authenticated-user-email
x-goog-authenticated-user-id
x-...
1
vote
1
answer
1k
views
Where will I find the source code for Google App Engine Flexible environment?
I want to download the source code in my Python 3 App Engine flexible environment. I see how you can SSH in, or go in from the terminal, to look at source code. But I don't want to turn debug on a ...
0
votes
1
answer
741
views
Spring cloud gateway deployed in GCP App engine flexible causes infinite redirect loop
I have a two services running in GCP app engine; let's say service A and B, and then I deployed a spring cloud gateway service to route external traffic to these two services based on path predicates. ...
0
votes
0
answers
563
views
Enabling CORS for nodejs in gcloud app engine
i need to host a express server in gcp app engine as an api server, everything works fine except CORS. i had used the node cors module and it worked fine in my local machine. but when i deployed the ...
2
votes
1
answer
1k
views
App Engine Flexible deployment fails to become healthy in the allotted time
My flask app deployment via App Engine Flex is timing out and after setting debug=True. I see the following line repeating over and over until it fails. I am not sure however what this is and cannot ...
0
votes
1
answer
736
views
GCloud App Engine (flexible) Default Service Account Scope
I'm trying to connect to a google calendar from service running in GCP App Engine flexible environment using default service account. I have set correct scope required to access the calendar to read ...
0
votes
2
answers
375
views
GoDaddy custom domain Mapped to AppEngine (Flex/Node) 404s when using www
I'm trying to use "www" in the domain http://www.nickjonas.nyc and I'm just getting 404 errors from Google's end. When you go to http://nickjonas.nyc, it works just fine.
Here is what my DNS ...
0
votes
1
answer
629
views
gcloud app deploy Required 'compute.regions.get' permission for Owner Principal
$ gcloud app deploy MY.yaml --image-url gcr.io/vorburger-learn-appengin/image:develop
causes the following error for me:
ERROR: (gcloud.app.deploy) PERMISSION_DENIED: Request to https://compute....
1
vote
2
answers
828
views
Error deploying Google's App Engine flex [nginx example]
I am trying to deploy Google's nginx hello world example via App Engine's flexible env. I'm using the same setup as detailed in the quick start guide, with the exception of network settings added to ...
0
votes
0
answers
164
views
App Engine SSL Certificates shared across projects for admin inside one organization
We added a custom ssl certificate to one of our projects. When going to other projects, I can see the same certificate even though it's not the same project, is it normal? All projects are under the ...
1
vote
3
answers
2k
views
gcloud app deploy cannot find app.yaml if go.mod is in a different directory
I have been unable to deploy my Go app to Google App Engine Flexible for a weeks now, although I don't remember changing anything relevant. The go.mod and go.sum files are in the top directory, while ...
1
vote
0
answers
236
views
App Engine dispatch.yaml doesn't affect service versions without traffic
Hi we are using App engine with many new and legacy java services.
we have 1 new frontend angular app and multiple services in java8
we access the application directly using without custom domains
...
1
vote
2
answers
776
views
Newbe on Go - AppEngine - Deploy
I'm new using App Engine, and I would appreciate if someone can clarify this doubt:
How can I be sure that AppEngine in the cloud have the correct version of go I need to have in the cloud?
I have ...
0
votes
1
answer
928
views
Is there anything against using Cloud Run for a server side GTM [closed]
I have been setting up several server side GTMs for my company in the last months. I have deployed both App Engine Flexible versions, as well as Cloud Run hosted ssGTMs.
I found using Cloud Run easier ...
3
votes
1
answer
980
views
Setting static outbound IP address for App Engine(Flex)
I want to set a static outbound IP address for my App Engine instance, hence I went through this documentation. I followed all the steps but I am not able to see any traffic logged in the Cloud NAT ...
2
votes
0
answers
347
views
Cloudbuild recursively creating multiple builds for app engine deployment on GCP
hope this question helps others struggling to use GCP.
I am trying to automate deployments of my strapi app to Google App Engine using CloudBuild. This is my cloudbuild.yaml:
steps:
- name: 'ubuntu'
...
1
vote
1
answer
355
views
How do I use the latest version of pandas on Google App Engine Flexible
I am using Google App Engine Flexible with a standard Python 3 runtime. I had been using pandas 1.0.5 until now. I want to start using pandas 1.3.4. So I updated requirements.txt and tried deploying ...
4
votes
3
answers
7k
views
Specifying Node.js version for Google Cloud App Engine Flexible
I'm trying to deploy a GCloud App Engine Flexible service. I have a yaml file, in which it has the Node.js runtime and the env specified.
runtime: nodejs
env: flex
As the documentation says "You ...
1
vote
3
answers
722
views
Client intended to send too large body GAE
I keep getting this error "client intended to send too large body: 34386203 bytes" every time I try to upload a batch of files through a nodejs web server hosted on App engine. The files ...
4
votes
2
answers
3k
views
Access GCP Docker image from different project
I have two GCP projects. projectA contains an artifact registry where I store my docker images, projectB is where I want to use such an image to deploy it with app-engine (flexible).
Here's how my ...
1
vote
1
answer
364
views
Converting my Django/Python app from App Engine Standard Environment to Flexible Environment
I am trying to convert my Django/Python app from the Google App Engine Standard Environment to the Flexible environment mainly due to the app becoming slow and was constantly hitting a soft memory ...
0
votes
1
answer
867
views
Unable to Deploy Application to App Engine Flexible Environment with a Shared VPC
I am unable to deploy a Dockerized application to App Engine Flexible Environment (AEF) in a Google Cloud Platform (GCP) project with a provisioned Shared Virtual Private Cloud (XPN).
In other words, ...
0
votes
1
answer
1k
views
Is it Possible to Use ED25519 Instead of RSA When Logging Into a Remote App Engine Instance?
When a Google Cloud SDK (gcloud) user executes:
gcloud app instances ssh \
$AEF_INSTANCE_ID \
--project $GCP_PROJECT_NAME \
--service $AEF_APP_SERVICE_NAME \
--version $AEF_APP_VERSION_NAME
#=>
...
2
votes
1
answer
763
views
Passing arguments to Docker build while deploying AppEngine flex
I'm wondering if it's possible to feed arguments, or environment variables into a Dockerfile used by AppEngine (flex environment).
I'd like to use this command:
COPY ${STAGE}/keycloak-files/realm-...