Questions tagged [google-app-engine]

Google App Engine is a cloud computing technology for hosting web applications in Google-managed data centers. Google App Engine is a Platform as a Service (PaaS) offering for Java, Python, Go, Node.js, and PHP in its standard environment. Runtimes for a few other languages as well as docker-based custom runtimes are supported in its flexible environment.

Filter by
Sorted by
Tagged with
0 votes
2 answers
49 views

Not sure how to use Application Default Credentials

I am currently working on a Flask project and I want to host it on Google Cloud App Engine. Since I want to store sessions, I came across the service named FireStore. To use that service, I need to ...
U13-Forward's user avatar
  • 69.3k
0 votes
0 answers
26 views

Google App Engine Error importing Openai Python library

I want to deploy a flask app to google app engine. The app deploys but when i import the openai library an error server error occurs. If I comment out the import of openai the html site is displayed ...
Sven Pultar's user avatar
0 votes
1 answer
36 views

How to create a new version of an app in Google App Engine?

I have deployed a React app using Google app engine. I deployed through the cloudshell CLI by cloning my github repo. I have made a few changes and am trying to figure out how to deploy the new ...
dannybellboy's user avatar
0 votes
0 answers
8 views

MongoDB connection with Spring Boot MongoTemplate gets interrupted by DNS change

The app starts just fine when doing so locally but it seems that deployment of the app in GCP App Engine causes the MongoDB connection string to be resolved in some manner that interrupts the process ...
Carlos Torres Orona's user avatar
0 votes
0 answers
28 views

GCP App Engine: Handling signal: term + Worker exiting after each request

I'm deploying a small flask app on GCP App Engine but it seems gunicorn is shutting down immediately after each request. I'm using a user session and a connection to an API (atproto), but I can't stay ...
asmoth's user avatar
  • 98
-2 votes
0 answers
20 views

Google App Engine(Flexible Environment)--Php 8.2 Not Working

`Hi, I Deployed my application in GAE Flexible Environment Php 8.2 as per google document.My deployment Finished Successfully, But Jquery,CSS ,Images whatever I included in my application that not ...
Safiyullah Mohideen's user avatar
0 votes
0 answers
17 views

Spring application on Google App Engine fails to initiate due to Cloud Datastore misconfiguration

I want to use a Google Cloud Datastore in my Spring application. I have followed the instructions from this tutorial. I have the following repository: public interface LevelRepository extends ...
Ariel Malka's user avatar
  • 15.7k
1 vote
1 answer
28 views

Django app on Google App Engine not connecting to Google Cloud SQL

I've encountered an issue when deploying my Django application on Google App Engine and trying to connect it to Google Cloud SQL. The application works perfectly on my local system, but when deployed, ...
Ayush Agarwalla's user avatar
0 votes
3 answers
27 views

shutting down GCP basic scaled app engine every day at a certain time

my company has a small B1 basic scaled node js server on app engine, the server is used to log employee clock ins and outs everyday. My firm recently upgraded to a newer fingerprint timesheet scanner, ...
Oirampok's user avatar
  • 567
0 votes
1 answer
37 views

Error when deploy NodeJS app to App Engine. Cannot read property "something" of undefined

Today, I get an error when deploy NodeJS app to App Engine (GCP) : can not read property 'bcryptjs' of undefined. NodeJS version is 18.6.0 in my computer and version in app.yaml is nodejs14. I get ...
ThangXD Software's user avatar
3 votes
2 answers
78 views

Is there a fix for the ClassNotFoundException happening on startup on Google App Engine standard?

I have a Java 11 app using legacy bundled services that was deploying fine until yesterday. Seemingly with no changes whatsoever, the app now encounters an exception on startup and fails to start ...
Jason's user avatar
  • 181
0 votes
0 answers
27 views

blobstore in GAE in a cross-project scenario does not return blob_info

I have two projects on google cloud platform. The first, project A, in python 2, uses the standard google appengine runtime. The second, project B, in python 3, uses version 2 of google app engine. It ...
Michael 's user avatar
  • 1,851
-1 votes
0 answers
44 views

Design Question : Large Video Processing with Server-less Architecture

I am working on an application and have a design problem that I've been attempting to address. Problem Description: My application will process videos fast & efficiently without needing to use ...
Surya's user avatar
  • 584
0 votes
1 answer
65 views

Python3 + GAE + FastAPI it's possible?

I am migrating an application from python2.7 to python3.10. And I want to use the FastAPI framework, but I also want to use the legacy Google app engine services https://cloud.google.com/appengine/...
Matheus Theu's user avatar
0 votes
1 answer
38 views

Callbacks in flask app don't work when deployed on Google Cloud

I have a Flask app that uses an input form (GET method) to run some random simulation. The simulation results are stored in a global variable within the flask app, and then some initial plotly graphs ...
msfrn's user avatar
  • 59
-1 votes
0 answers
22 views

Java Spring Boot application authentication problems when running on Google App Engine [closed]

I've setup a Spring Boot application, that uses OAuth2.0 as described in https://spring.io/guides/tutorials/spring-boot-oauth2/. After deploying the application to Google App Engine, the users seems ...
Julia Gęborys's user avatar
0 votes
0 answers
36 views

In an app made for Java 8 Standard Env, IntelliJ IDEA errors in appengine-web.xml with 'Element must be declared'

In an app made for the Google App Engine Java 8 Standard Environment, IntelliJ IDEA produces an error in appengine-web.xml, stating that 'Element appengine-web-app must be declared'. This doesn't ...
Boris Brudnoy's user avatar
0 votes
0 answers
27 views

Accessing static content from css file with Google App Engine/Google Cloud Storage

I have a Google Cloud Storage bucket from which my Google App Engine Django application retrieves its static content. This works swimmingly as long as the content is being accessed through staticfiles,...
lundbrundt's user avatar
0 votes
0 answers
45 views

Google Cloud App Engine "php-fpm: error while loading shared libraries: libzip.so.4: cannot open shared object file: No such file or directory"

We have a php application on App Engine and we use Cloud Build to build the app. Today a new version was supposed to be build and deployed, however the build process reported the following error after ...
botzko's user avatar
  • 630
0 votes
1 answer
65 views

Google App Engine: DeadlineExceededError: The overall deadline for responding to the HTTP request was exceeded while reading fetching data

I receive this error: DeadlineExceededError: The overall deadline for responding to the HTTP request was exceeded from Google App Engine (GAE) instance type f and runtime python 2 It probably ...
panos's user avatar
  • 340
0 votes
0 answers
41 views

Python3.9 -Encountering 403 Error When Scraping Next.js WebApp with Python's `requests.get()` on Google App Engine

I'm running into an issue when trying to scrape HTML text from rollercoin.com using Python's requests.get() function. Notably, rollercoin.com is built with Next.js. When running the code locally, I ...
Shani Elkalay's user avatar
0 votes
1 answer
14 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 ...
Luillyfe's user avatar
  • 6,180
-1 votes
0 answers
34 views

Deploying full stack mern application on google app engine

``I want delploy a full stack mern application on google app engine standard environment.I am trying to deploy backend and then frontend When I run the command gcloud app deploy on google cloud sdk ...
Aakash Mahadik's user avatar
1 vote
1 answer
38 views

App engine only running php files from root folder

I have activated Google app engine which will handle my php and html pages. In my root folder, all php files work without problems. For testing purposes, all php pages just have one line of code. <?...
G C's user avatar
  • 21
0 votes
0 answers
55 views

App Engine Python 3 Deferred Generating "Connection pool is full" Warnings

I recently ported my Python 2 App Engine project to Python 3, accessing legacy bundled services. After a couple of months of work, everything seems to be working. Except, when I run a batch job via ...
Dev93's user avatar
  • 668
0 votes
0 answers
12 views

Google App Engine webchat with external SSO

I created a simple webchat using Google app engine and Dialogflow. The functions of webchat are not important here, what is important is that I want to authorize the SSO of my university to use one of ...
Mihov's user avatar
  • 5
0 votes
0 answers
110 views

Signed URLs with App Engine and Google Cloud CDN

We want to used signed URLs to display reports with sensitive data. Why use signed URLs? We don't want a user to copy the URL and send it to someone. We don't want the URL visible, such that the URL ...
Mike Dee's user avatar
  • 548
1 vote
0 answers
76 views

CORS IAP problem between 2 App engine services

I really tried finding the solution in other posts but have been stuck for days.. My setup consists of following: Flask backend running on Google App Engine flexible service Vue.js frontend running ...
codinghurts's user avatar
0 votes
1 answer
37 views

How to prevent Google Engine app to be shutdown when inactive?

I have a Java / Spring app running on the standard environment. When inactive, the app is shut down and the next time someone wants to use it he has to wait for a few seconds. I would like to avoid ...
Ariel Malka's user avatar
  • 15.7k
1 vote
1 answer
35 views

How to keep database content between consecutive runs of a Google App Engine app?

I have a Java / Spring app running on the standard environment. Every time I deploy it to App Engine, the postgres database I'm using is reset. How to prevent that? My application.properties: spring....
Ariel Malka's user avatar
  • 15.7k
0 votes
0 answers
43 views

Google App Engine deploy package.json file with --force option?

I am trying to deploy a Next project to Google Cloud, App Engine. My deployment script I have used before works just fine, however I do have a conflict in my package.json (outdated dependencies). This ...
dvdbrk's user avatar
  • 161
0 votes
1 answer
38 views

Google translate v3 hanging when deployed to App Engine Flex Python

I've built a single wrapper for translating text using google.cloud translate_v3 from google.cloud import translate_v3 as translate from google.cloud.translate_v3 import types from credentials import ...
Magoo's user avatar
  • 2,551
-3 votes
0 answers
26 views

MachineLearningModel error while importing in python [closed]

i have a problem importing machinelearningmodel from BirdBrain while making sound recognition using google teachable machine sound model. ps. i didn't found any anwser in google pps. sorry for my ...
igor's user avatar
  • 1
0 votes
0 answers
20 views

Configuring GCP App Engine with Flask App and Custom Domain

I asked a question previously around getting my flask + GAE app engine app configured with a custom domain here. I'm running into another issue. I am able to get to my service-1 app with my current ...
Will Brandow's user avatar
0 votes
0 answers
21 views

How to verify a Google API App without a Restricted Scope?

I am trying to verify my google OAuth app. I am ONLY using email address for public OAuth sign in to my app. ,I do not use any Google APIS besides oauth with scope:email. My OAuth Consent Screen for ...
MingMan's user avatar
  • 911
0 votes
2 answers
41 views

App Engine Custom Domain Routing (With Python/Flask)

I'm trying to map my App Engine app services to url paths as defined by my dispatch.yaml file. Here's basically what my dispatch.yaml file looks like (file is sitting in the default service root ...
Will Brandow's user avatar
0 votes
1 answer
76 views

Migrate from App Engine to Cloud Run - dispatch.yaml alternative?

I have an AppEngine Standard project that's been running for several years. Now I'm starting to have issues with some of AppEngine's limitations, such as no support for websockets. I've started ...
DaveW's user avatar
  • 358
1 vote
1 answer
48 views

Can I use Python Numba on Google App Engine?

Is it possible to use the Python package Numba in web-apps that are running on Google App Engine? Is it possible to use the caching feature of Numba, so the functions don't have to be JIT-compiled ...
questiondude's user avatar
0 votes
0 answers
13 views

Api deployed in GCP not working: The server encountered an error and could not complete your request

I deployed an API to GCP that s working locally, but I received the following error: Error: Server Error The server encountered an error and could not complete your request. Please try again in 30 ...
san's user avatar
  • 1
0 votes
1 answer
141 views

Why can't gunicorn utilize more workers (google app engine)?

In documentation you can find https://cloud.google.com/appengine/docs/flexible/python/runtime. It says that not having gunicorn.conf.py that sets multiple workers could increase latency since default ...
Aleksa Bajat's user avatar
1 vote
0 answers
67 views

Why is my Svelte web application using a previous version that I have deleted from App Engine?

The exact URLs/endpoints/etc below have been anonymized. I have built a very simple web application with Svelte/Sveltekit as the frontend, and FastAPI as the backend. I am hosting each service on ...
fngarrett's user avatar
0 votes
0 answers
13 views

Retrieve app engine staging bucket name in GCP through terraform

How to retrieve app engine staging bucket name in terraform ? I can retrieve app engine default service account as shown below: data "google_app_engine_default_service_account" "...
Aseem's user avatar
  • 5,886
0 votes
0 answers
60 views

Keep getting errors with gcloud deployment of wordpress

Update: when I changed the user/pass for the database I got an error message on the url. (Telling me it was the wrong one) so changed it back again. It redirects to the wp-admin/install.php as it ...
BeTA iT's user avatar
  • 99
0 votes
1 answer
40 views

How to track App Engine metrics by endpoint?

I'd like to track metrics for my App Engine app segmented by endpoint: views/second by page requests/second by endpoint response times by endpoint I've found metrics that look like they'd be helpful,...
Joel Burget's user avatar
  • 1,328
0 votes
1 answer
76 views

Google App Engine - Node.js Infinity Loading

I have set nodejs app (standard app - like free tier) and deployed it via cloud shell, but when I go to the https://[ID].du.r.appspot.com/ , it loades infinitely. app.js: const express = require('...
Cyan's user avatar
  • 181
0 votes
1 answer
38 views

Implementing GA4 Event Tracking in Java on Google App Engine

I have a requirement to trigger a Google Analytics event from a backend that runs on Google App Engine using Java 8. I attempted the approach mentioned in the official documentation, specifically the ...
Udhaya's user avatar
  • 291
2 votes
2 answers
123 views

Schedule App Engine instance startup behind Cloud Armor policies and Firewall rules

Context I have an App Engine service (standard environment) sitting behind a load balancer. The load balancer is accessed via a static IP address reserved by Google and the ingress settings of the App ...
user142389358902's user avatar
0 votes
1 answer
31 views

Deploying an App Engine application using an archive file [jar/war]

Even though we have access to the google documentation about this topic here, I’ve thought hard to follow all the instructions once we need to have Eclipse installed. To make matters worse, I haven’t ...
Vítor Resende's user avatar
0 votes
1 answer
73 views

Contention error in Datastore with Pessimistic concurrency

I'm using Firestore in Datastore mode in Google Cloud with the Node.js client library. In the Datastore, I have a counter field on an entity that is sometimes needed to be incremented 15-20 times in a ...
András Geiszl's user avatar
0 votes
0 answers
40 views

Java Spring boot app unable to connect to CloudSQL from Google App Engine

I have a spring boot app connecting to the Cloud SQL (MySQL 8) in the same project in the GCP. The app runs fine on the local machine. But the same app is unable to connect to the same database when ...
Adi's user avatar
  • 361

1
2 3 4 5
940