Questions tagged [google-appengine-node]
63 questions
0
votes
1 answer
Do GC App Engine deployments of class B1 go idle, even if they have min of 1 instance?
I have the following configuration in my app.yaml
runtime: nodejs10
manual_scaling:
instances: 1
instance_class: B1
With this configuration, will my instance go idle even if it does not receive requests?
My node app is not really a https-server.…

Santiago
- 3
- 1
- 2
0
votes
1 answer
GAE - Having environment variables play nice with node.js apps
It seems like the environment variables in app.yaml are rendered in Python-like strings, where booleans like true become True and empty variables becomes None. Anyone have ideas on how to make it play nice with javascript without doing explicit…

ahong
- 1,041
- 2
- 10
- 22
0
votes
2 answers
App Engine: Does "gcp-build" run once per version or for each instance?
The docs say:
At deployment, before starting your application, you can perform a custom build step by adding a gcp-build script in your package.json file.
"At deployment" makes me think it runs it when you run gcloud app deploy - but some of the…

Kenmore
- 1,525
- 3
- 16
- 39
0
votes
2 answers
updating a deployment - uploaded images gets deleted after redeployment to google cloud
So I have a node js web app, this web app has a folder to store images uploaded by users from a mobile app. How I upload the image to the folder is by using the image's base64 string, and using fs.writeFile to save the image to the folder, like…

Almira
- 131
- 1
- 8
0
votes
1 answer
How to get an error message from an App Engine server?
I am running a simple Node Express server with this endpoint
app.get('/', (req, res) => {
res.send("Success!");
});
When I ran this server locally or through App Engine and contact the endpoint, I receive the expected response "Success!".
To…

pdiffley
- 603
- 9
- 18
0
votes
1 answer
Appengine / restrict services to only be available under a single domain
Having multiple languages to deploy under appengine; I wonder if some kind of private approach could be applied; in order to have it all resides only under a single domain
For example, given xyz.com domain setup as wildcard; having a default…

Ben
- 5,030
- 6
- 53
- 94
0
votes
1 answer
Host An application in google app engine to work on particular time
I want to host an application in the google engine, the purpose of my application is to get data from a different server once in a day. So I don't want my application to work full time in day(As it is costlier). I just want to run the application…

Mariya James
- 935
- 2
- 9
- 27
0
votes
1 answer
I am not able to connect to gcloud sql from the nodejs app hosted in app engine
I have a hosted node app and mysql on google cloud. I tried all possible ways to connect mysql from node but every time it throws this error.
let pool;
const createPool = async () => {
pool = await mysql.createPool({
// host:…

Tej
- 59
- 1
- 8
0
votes
2 answers
Google App Engine Node application: prevent downscaling to 0 instances
I've deployed a Node.js application on Google App Engine (standard environment).
I've noticed that after 10 minutes of inactivity, the app is undeployed and the number of instances goes to 0.
So the first request I make takes 4-5 seconds to…

user2010955
- 3,871
- 7
- 34
- 53
0
votes
1 answer
Configure Basic HTTP Authentication with Google App Engine Node.js App
I'm running a GAE Standard Env. node/express app.
How can I configure Basic HTTP Authentication?
Is it possible to configure it with app.yaml?
I've read the docs, and did a lot of searching and so far it seems like I'll have to use my Express server…

Mk-Etlinger
- 174
- 1
- 13
0
votes
1 answer
Access to Cloud Build variables in App Engine gcp-build npm script
Is it possible to access Google Cloud Build variables such as the PROJECT_ID as part of a gcp-build script in a Google App Engine Standard Node.js custom build step?
In my testing, the gcp-build script is able to get an application default…

Josh Lyon
- 399
- 5
- 11
0
votes
1 answer
Angular 7 app working in GAE Flex environment, but not in Standard
After I have deployed my angular 7 app and trying to open it on browser, I get Error 500. Checking log I find this:
A FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
A 1: node::Abort() [node]
A 2:…

user1203497
- 507
- 3
- 11
- 18
0
votes
1 answer
How to fix google cloud ssl issue
I pointed a new custom domain to a Google App Engine Standard Environment project and edited the DNS records per Google's instructions, and it seems to be redirected properly.
When I go to
www.mydomain.com
with its supposedly activated…
user10856207
0
votes
1 answer
How to fetch data via http request from Node.Js on AppEngine?
Everything works perfect when I run locally. When I deploy my app on AppEngine, for some reason, the most simple request gets timeout errors. I even implemented retry and, while I made some progress, it still not working well.
I don't think it…

SharpBCD
- 547
- 1
- 7
- 25
0
votes
1 answer
Authentication strategy 'jwt' is not registered
Steps to reproduce
I deployed my featherjs sample project that required authentication to Google Appengine and I get the following error message:
{
"name": "BadRequest",
"message": "Authentication strategy 'jwt' is not registered.",
…

bryan
- 8,879
- 18
- 83
- 166