Questions tagged [app-engine-flexible]

App Engine Flexible 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 Node.js, Ruby, Java, Python, Go and PHP.

Learn more about App Engine Flexible. App Engine allows developers to focus on doing what they do best, writing code. Based on Google Compute Engine, the App Engine flexible environment automatically scales your app up and down while balancing the load. Microservices, authorization, SQL and noSQL databases, traffic splitting, logging, search, versioning, security scanning, memcache, and content delivery networks are all supported natively. In addition, the App Engine flexible environment allows you to customize your runtime and even the operating system of your virtual machine using Docker.

467 questions
8
votes
1 answer

How to tell if a Google App Engine documentation page applies to the 1st/2nd generation standard or the flexible environment

I see a lot of google-app-engine questions from users mixing up the standard environment with the flexible environment, especially when it comes to documentation, often attempting to follow the wrong instructions, obviously with undesired…
Dan Cornilescu
  • 39,470
  • 12
  • 57
  • 97
7
votes
0 answers

Google App Engine - PM2 - Start program failed: failed to detect app after start: ForAppStart():

Im running an app on Google App Engine, its a simple node js application, the start command i run it with is pm2 start build/index.js but i keep getting this error Start program failed: failed to detect app after start: ForAppStart():
Kravitz
  • 2,769
  • 6
  • 26
  • 53
7
votes
3 answers

Does Google App Engine Flex support Pipfile?

For App Engine Standard the explicitly state that they do not support Pipfiles and immediately block you from pushing your project if it contains a Pipfile. In searching the documentation, I don't see anything that mentions if Pipfile is supported…
7
votes
3 answers

502 Bad Gateway error - upstream sent too big header while reading response header from upstream

I'm using wordpress in Google App Engine. When I make a POST API, getting an Error : "upstream sent too big header while reading response header from upstream". which returns 502, Bad Gateway, nginx The data(JSON) i'm sending in POST API is around…
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…
7
votes
3 answers

Redirect HTTP requests to HTTPS on Google App Engine and Play Framework

I'm using flexible environment on Google App Engine to run web app written in Scala and Play Framework. I've added custom domain to my application and now my app is available both through http and https. But I need to make redirection from http to…
alex
  • 942
  • 1
  • 10
  • 26
7
votes
3 answers

How to use GAE's dispatch.yaml with multiple development environments?

I am trying to understand the dispatch.yaml file for Google App Engine. We have a vanilla web app with a frontend and a backend. We also have a development and a production environment. Both environments have two services on GAE - frontend and…
Mike
  • 1,180
  • 3
  • 15
  • 28
7
votes
2 answers

Semantics of dispatch.yaml

I'm looking at various pages about dispatch.yaml, most of which contain similar information and…
aldel
  • 6,489
  • 1
  • 27
  • 32
7
votes
2 answers

Issues with GQL query, Google Datastore. Error with multiple conditions and greater than and less than operators

I am trying to query the Datastore, and my query looks like this: SELECT * FROM mydb WHERE Latitude = "18.1" AND Number > "1" It doesn't work though. I get this error in the Datastore query box: GQL query error: Your Datastore does not have the…
7
votes
1 answer

Cron urls get a 403 status on Flexible Environment

We are experimenting with Flexible Environment and we want to migrate an existing application. Everything seems to go well except from cron entries. We have a bunch of cron and every url is secured as admin" (as stated in the documentation), but…
6
votes
2 answers

Getting timezone offset from Google App Engine request headers?

As per Google App Engine flexible docs, for any incoming request, as a service to the app, App Engine adds the following headers to all requests: X-AppEngine-Country as an ISO 3166-1 alpha-2 country code X-AppEngine-Region as an ISO-3166-2…
zeeshan ansari
  • 381
  • 3
  • 16
6
votes
3 answers

GCP CRON jobs failing with no logs

I am trying to set up a CRON job in a Google Cloud Platform. The job is showing up in the GCP console, although it is failing. There are no logs that reveal why it is failing. The schedule seems to be working ok, and I am able to manually run the…
Brian Leach
  • 3,974
  • 8
  • 36
  • 75
6
votes
3 answers

Connection refused to running Google Cloud SQL instance via proxy or from App Engine

I'm very new to Google Cloud and running applications in general. I currently have a Django app running in a Docker container on Google Flexible App Engine that connects to a Google Cloud SQL (PostgreSQL) instance in the same project. The latest…
6
votes
1 answer

Can you use fractional vCPUs with GAE Flexible Environment?

I'm transitioning an application from GCE to GAE Flexible. It's currently running in a g1-small instance which is plenty for my needs, however when I try to specify a g1-small instance in my app.yaml: resources: cpu: 0.5 memory_gb: 1.7 I can…
Mark B
  • 2,870
  • 3
  • 20
  • 18
5
votes
3 answers

Deploying to google app engine flexible with go.mod fails because it is looking for dependent libraries in GOPATH

I have the helloworld app from here with a couple of modifications. I've used logrus (to bring in dependency to an external lib) I've added a go.mod using go mod init I have checkout this code outside of my GOPATH. Everything works on localhost.…
Rohith
  • 2,043
  • 1
  • 17
  • 42
1
2
3
31 32