Questions tagged [google-appengine-node]

63 questions
10
votes
2 answers

How to use private, self hosted NPM package with Google App Engine node, standard environment

I have an NPM package hosted on a private Bitbucket git repo (not in the official NPM registry). I have this in my package.json, under the "dependencies" key: "a-private-package" git+ssh://git@bitbucket.org:myusername/a-private-package.git It works…
zino
  • 1,222
  • 2
  • 17
  • 47
8
votes
1 answer

Google App Engine deployment debug "Error Response: [4] Timed out waiting for the app infrastructure to become healthy"

In short: We have web app running at Google App Engine Nodejs runtime, flex environment. Starting 5 days ago all our deployments started to fail with the reason: ERROR: (gcloud.app.deploy) Error Response: [4] Timed out waiting for the app…
7
votes
2 answers

Rolling restarts are causing are app engine app to go offline. Is there a way to change the config to prevent that from happening?

About once a week our flexible app engine node app goes offline and the following line appears in the logs: Restarting batch of VMs for version 20181008t134234 as part of rolling restart. We have our app set to automatic scaling with the following…
6
votes
3 answers

Deployed a Next.js application to App Engine Standard [Nodejs] and got a 500 error

I deployed to app engine with nodejs8 runtime and got a 500. Im deploying a next.js application, and upon reviewing StackDriver I get. It appears .next might be getting ignored. The error is as follows: throw new Error("Could not find a valid build…
daviddavis
  • 263
  • 1
  • 4
  • 12
5
votes
1 answer

AppEngine - What's the timeout for Node cloud tasks handlers?

I have an application that does some work in background, using default Cloud Tasks for scheduling/executing the process. I would like the job to be able to run for a few minutes, or at least understand what the actual limitations are and what I can…
Konrad Garus
  • 53,145
  • 43
  • 157
  • 230
5
votes
0 answers

Google AppEngine createUploadUrl in node

In PHP, it is really easy to create an upload url with an endpoint that get's hit after the file is uploaded. Documentation Here $options = ['gs_bucket_name' => $my_bucket]; $upload_url = CloudStorageTools::createUploadUrl('/upload/handler',…
4
votes
1 answer

TypeScript project failing to deploy to App Engine targeting Node 12 or 14, but works with Node 10

I have a TypeScript project that has been deployed several times without any problems to Google App Engine, Standard environment, running Node 10. However, when I try to update the App Engine project to either Node 12 or 14 (by editing the…
4
votes
1 answer

Upload large files to Google Cloud Storage using Google App Engine

I would like to upload files up to 1GB to Google Cloud Storage. I'm using Google App Engine Flexible. From what I understand, GAE has a 32MB limit on file uploads, which means I have to either upload directly to GCS or break the file into…
4
votes
2 answers

Google Cloud Platform App Engine Node Flexible Instance Ruby sitting at 50% RAM usage

There's a ruby process that always sits at 50% RAM utilization regardless of how much RAM the instance is allocated. I'm running Node in a flex environment with a simple express app that connects to a Cloud SQL instance through sequelize. I've tried…
3
votes
0 answers

Google cloud app engine flex environment deployment failure (NestJS) - Error code 13 (Internal Error Occurred)

I've done a lot of researching on this error and found some posts here and on github but none of the resolutions they suggest are working for me. I'm receiving a pretty ambiguous error when trying to deploy my application to a flex environment on…
3
votes
1 answer

Is F4_1G belong to the google app engine free Tier?

Based on the GCP document Free Tier usage limits App Engine has 28 hours per day of "F" Instancees. I wonder does F4_1G type also belong to the free tier of 28 hours per day? F1 and F4_1G is so different Instance classes
3
votes
1 answer

Use private npm registry for Google App Engine Standard

For all the other stackoverflow questions, it seems like people are asking either about a private npm git repository or about a different technology stack. I'm pretty sure I can use a private npm registry with GAE Flexible, but I was wondering if it…
3
votes
1 answer

GCP App Engine: Random pending requests for static assets (css / images)

I have a next.js application up and runing for a few months on gcp app engine in node standard environment. The last deployment was done around 2 weeks ago and website was loading just fine until this week. Here are the detected anomalies: css…
2
votes
2 answers

How to share a Google Cloud SQL instance between two projects using private IP?

I have two projects in GCP, both are running App Engine Flexible environments with Node.js. One of the projects has an Cloud SQL instance attached, running with Private IPs. I want the App Engine in the other project to be able to use this Cloud SQL…
2
votes
1 answer

Stabilizing express session on AppEngine Node.js Standard environment

I have implemented session mechanism in my app on GAE node.js standard environment using express-session without store value. Though it works without problems on localhost, session seems to be terminated regardless of how cookie.maxAge is configured…
1
2 3 4 5