Questions tagged [google-appengine-node]

63 questions
2
votes
2 answers

Can I mix programming languages in a single appengine project?

I have an existing Java Appengine standard project. I'm writing some new functionality using the beta NodeJS standard environment. The two need to share a common Cloud Datastore database. Can a single project host both a Java and Node service? If…
pinoyyid
  • 21,499
  • 14
  • 64
  • 115
2
votes
2 answers

App Engine Node.js: how to link app logs and requests logs

I am using Node.js on App Engine Standard and Flexible. In the logs viewer, is it possible to display application logs nested inside request logs?
Steren
  • 7,311
  • 3
  • 31
  • 51
2
votes
0 answers

Node Google App Engine is not working error : Server Error Please try again in 30 seconds

My node app that's on google app engine was working fine and then suddenly after another deployment, it started bringing this error: Error: Server Error The server encountered a temporary error and could not complete your request. Please try…
1
vote
0 answers

App Engine Standard / Expressjs / app.yaml - serving static files - files aren't found?

I have a node/express app on App Engine Standard. If I serve the static files using express.static everything works as expected. Now, I want to reduce the overhead on the app by serving of static files as described…
DaveW
  • 348
  • 4
  • 13
1
vote
2 answers

Google Cloud Debugger not working on Node.js

My Node.js API service is hosted on google cloud App Engine running in a standard environment. I have followed all the steps but the following message is being thrown by the debug agent: @google-cloud/debug-agent Failed to re-register debuggee…
1
vote
0 answers

"yarn: not found" in Google App Engine Standard Environment

I am migrating an existing GAE Flex application to GAE Standard, and the app won't start. The gcloud app deploy command succeeds, but the webserver process fails on calls to yarn: [start] 2021/04/23 16:40:57.592718 No entrypoint specified, using…
Nikolay Shebanov
  • 1,363
  • 19
  • 33
1
vote
1 answer

Google Appengine 504 gateway errors

My frontend client written in Angular 8, occasionally throws a 504 Gateway error for my api requests. My API is hosted in AppEngine Standard env, with a min of 5 instances always active. Backend API written in nodejs + express. Since its a 504…
z k
  • 11
  • 1
1
vote
1 answer

How to deploy gRPC on App engine standard?

I'm wondering if a gRPC server can be deployed on AppEngine Standard? There are a few old threads mentioned it only works on AppEngine Flexible. Does anyone know if this is still the case? The app is in NodeJS if that makes a difference... Cheers!
1
vote
0 answers

Is there a way to detect if version is non-default in AppEngine?

I have implemented some express middleware on my node application to detect if the host does not match the canonical domain and 301 redirects accordingly. The app.yaml is set to secure:always, so this mostly redirects naked (missing www) and aliased…
1
vote
2 answers

Failed Deployment in App Engine Google Cloud

I am deploying my nodejs application in google cloud app engine but it is giving error This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may…
1
vote
1 answer

Outgoing HTTP Request Location on Google App Engine

I have an API made with NodeJS (NodeJS v10 + Express v4.16 + Node-Fetch v2.3) and into this API, I have one endpoint that need to consume content from a third-party API/Service via HTTP Request (POST) The problem is: This third-party API only…
1
vote
0 answers

How do I "correctly configure" the Stackdriver Debugger for my Node.js App Engine service in Google Cloud platform?

So I've deployed a simple Node.js app on Google App Engine Standard Environment and when I navigate to the Debug section of my serivce/app I get this message: "Stackdriver Debugger is not correctly configured for your project." When I click on the…
1
vote
1 answer

App Engine Standard Nodejs8 ignore memory_gb in resources

I'm trying to deploy a Nodejs8, memory intense app on Google App Engine Standard. This is my app.yaml: runtime: nodejs8 resources: cpu: 1 memory_gb: 6 disk_size_gb: 10 This is my deploy command: gcloud app deploy --project=my-project…
MeLight
  • 5,454
  • 4
  • 43
  • 67
1
vote
2 answers

Errors in vm.syslog and Memory Usage constantly increasing on NodeJS AppEngine

I am having a problem on some of my AppEngine projects, since a few days I started to I see a lot of errors (which I noticed they might happen when an health check arrives) in my vm.syslog logs from Stackdriver Logging. In the specific these…
1
vote
1 answer

Deployment of Nodejs Code with Google Cloud

I am trying to deploy my webapp code built on NODE JS. I deployed a simple application hello-world from https://github.com/GoogleCloudPlatform/nodejs-docs-samples/tree/master/appengine/hello-world and it worked. Attached is my project structure.…