Questions tagged [google-appengine-node]

63 questions
1
vote
0 answers

Yarn install fails after previously working

Just yesterday I started getting this error when trying to deploy my app to App Engine. Anyone else experiencing this? This was working as of yesterday. Might be related to this https://github.com/yarnpkg/yarn/issues/3277 Step 1 : FROM…
beardo34
  • 58
  • 1
  • 1
  • 7
0
votes
1 answer

Why do a FLEX GAE's logs say "Failed to run google_optimize_local_ssd script: exec: google_optimize_local_ssd: executable file not found in $PATH"?

The GAE redeploys each time this happens. Some days it happens more than others, but today it has happened every hour Update: it is now happening every 30 mins. This error is causing multiple new instances to run creating unnecessary billing. I…
JAnton
  • 1,095
  • 8
  • 16
0
votes
1 answer

gcloud app deploy dispatch.yaml - 404 error?

I have a dispatch.yaml that has been working forever. I just tried to update it and redeploy with gcloud app deploy dispatch.yaml The response I get is Configurations to update: descriptor: [/home/xxxxxxx/dispatch.yaml] type: …
DaveW
  • 348
  • 4
  • 13
0
votes
1 answer

gcloud app engine instances being inactive after a while

This is the app.yaml I define runtime: nodejs16 env: flex service: default env_variables: MONGO_USER: 'xxxxxx' MONGO_PASS: 'xxxxxxxxxx' automatic_scaling: min_num_instances: 3 This is the final configuration ,ignoring my config after…
0
votes
0 answers

Static JS files with Google App Engine / Node.js standard environment from node_modules folder

I have read Google's documentation and a number of similar questions, and am not having any success adapting the answers to my issue. I am working with Google App Engine in a Node.js Standard Environment and already have much of my app working and…
0
votes
1 answer

GaxiosError: Internal error Google App Engine

Every week my Google App Engine throws an error: GaxiosError: Internal error .Gaxios._request ( /workspace/node_modules/gaxios/build/src/gaxios.js:129 ) It happens once or twice per week, and takes my application (NodeJS) down for ~8 minutes. Then…
0
votes
2 answers

App Engine not caching static content despite expiration set in app.yaml

I am using Google App Engine Standard Environment for a node.js app. I have a folder named public for my static files. This contains files such as chunk-XIAWB55V.js. I want these files to be heavily cached as the hashed filename will change if the…
0
votes
1 answer

Why is Google App Engine throwing access forbidden errors?

Could really use some help here. I have a GAE NodeJS app in the standard environment. Until a few days ago (09/23) it was running just fine, it would respond to requests as expected, etc. Today, the app responds with 403's when I try to make any…
0
votes
1 answer

Nuxt.js on Google App Engine- 2 projects, one in root and another in directory

I have 2 nuxt projects- I want to run one at root directory- www.example.com, and another at www.example.com/admin on App Engine Any ideas on how to setup the same?
0
votes
0 answers

Connect Google Cloud SQL with Serverless VPC access issue

I have Google App Engine project and when I try to connect to Google Cloud SQL through Serverless VPC access I got such error ConnectionError: Failed to connect to 11.11.111.1:1433 - unable to verify the first certificate If you have any suggestion…
0
votes
1 answer

Build with both local, yarn workspace dependencies and production env (e.g. App Engine) env vars?

I've been working on deploying a full-stack application via Google App Engine. If I try to let App Engine build from source, Google's buildpacks obviously doesn't know what to do with my Yarn workspace dependency URLs. So for the client, I just…
0
votes
0 answers

Why does my Google App Engine preinstall script fail due to Ubuntu (security.ubuntu.com) returning 404?

Goal: I am trying to make puppeteer run on GAE flex instance. Intermediate Goal (and source of problem): installing dependencies during a GAE flex instance gcloud app deploy Add. Info: I had puppeteer previously running on a standard env, but now I…
0
votes
1 answer

Google App Engine - force Content-Length instead

I am trying to "force" app engine to serve Content-Length instead of Transfer-Encoding but I can't figure it out. I have a Node Express app running on flex engine.
Andrej
  • 23
  • 3
0
votes
3 answers

Why are idle instances not being shut down when there is no traffic?

Some weeks ago my app on App Engine just started to increase the number of idle instances to an unreasonable high amount, even when there is close to zero traffic. This of course impacts my bill which is skyrocketing. My app is simple Node.js…
0
votes
1 answer

Limit GCP App Engine to use only 1 unit of app engine flex core

I am new to GCP app engine -- I have a node.js app running on app engine flex. Currently Google is charging me over 3500 hours of flex instance core hours per month. They tell me I am using multiple instances that is why the large number of hours.…