Questions tagged [google-flexible]
20 questions
10
votes
1 answer
Increase time to run code for Google flexible app engine delaying DeadlineExceededError
I have a single function running on Google App Engine Flexible as part of an API call. The structure is something like this
import externalmod
...
...
@app.route('/calc_here')
def calc:
answer = externalmod.Method()
return answer
The function…

Vipluv
- 884
- 7
- 23
4
votes
0 answers
Google Flexible Environment Deploy Fail "Application startup error"
Trying to deploy to Google Cloud Flexible Environment but get Application startup error
Could someone explain this error?
[INFO] GCLOUD: DONE
[INFO] GCLOUD: --------------------------------------------------------------------------------
[INFO]…

Carl Emmoth
- 473
- 4
- 11
4
votes
1 answer
java.lang.IllegalStateException: Could not load JDBC driver class [com.mysql.jdbc.GoogleDriver]
I am trying to connect to my database from the Google Flexible Environment to the Google Cloud SQL. The connection string and the driver class are shown below:

Stefan Falk
- 23,898
- 50
- 191
- 378
3
votes
1 answer
Autoscaling is working but continuously 502 coming on Google Flexible Environment (NodeJs)
# [START app_yaml]
runtime: nodejs
env: flex
service: 'frontend'
env_variables:
DEPLOY_ENV: 'PRODUCTION'
handlers:
- url: /.*
script: IGNORED
secure: always
resources:
cpu: 2
memory_gb: 4
# [END app_yaml]
Autoscaling is…

Shakir Khan
- 289
- 3
- 12
2
votes
1 answer
Deploying Django channels app on google flex engine
I am working on django channels and getting problem while deploying them on google flex engine,first I was getting error of 'deployment has failed to become healthy in the allotted time' and resolved it by adding readiness_check in app.yaml,now I am…

Nabeel Ayub
- 1,060
- 3
- 15
- 35
2
votes
1 answer
How to handle security constraint in Google App Engine Flexible?
We are moving from GAE Standard to Flex, during that I had security constraints specified in my web.xml earlier (on standard) which was redirecting user to login page if user is not admin or not logged in.
this is how I had specified it in web.xml,…

Paresh Behede
- 5,987
- 1
- 18
- 13
2
votes
2 answers
Whats is the difference between http request timeout of Automatic Scaling vs flex & standard app engine
I am using Google App Engine for building micro services, now we are having issue of DeadlineException for most of the time as our service is not responding withing 60 secs as it is doing many complex task as pdf file parsing n all...
Now by looking…

Paresh Behede
- 5,987
- 1
- 18
- 13
2
votes
1 answer
'X-Appengine-Inbound-Appid' header is not set when using Spring RestTemplate
I have two services running on the Google App Engine (MS1 & MS2). MS1 is deployed in the Standard Environment and MS2 is deployed in the Flexible Environment. I am invoking an API from Standard Environment to the Flexible Environment. I want to make…

Mithun
- 7,747
- 6
- 52
- 68
1
vote
1 answer
NestJS application with firebase-admin fails when deploying to google app engine flex
I am able to deploy to a standard app service, but when I try to deploy to my flexible environment, I receive this error:
Step #1: /app/node_modules/firebase-admin/lib/app/firebase-namespace.js:84
Step #1: this.INTERNAL = new…

Blair Holmes
- 1,521
- 2
- 22
- 35
1
vote
1 answer
In App Engine Flexible Environment, how can I see which Version of a Service is the default?
In Google App Engine Flexible Environment, I'd like to see which Version of my Service is the default.
The list operation of the Admin API does not show it:
https://appengine.googleapis.com/v1/apps/myapp/services/myservice/versions
Neither does the…

Joshua Fox
- 18,704
- 23
- 87
- 147
1
vote
1 answer
How do I register API environment for Datastore in GAE Flexible Environment?
When trying to run Datastore in a Servlet in Google App Engine Flexible Environment I get "No API environment is registered for this thread." (Details below.)
I see questions on StackOverflow about this happening in local machines or unit tests, but…

Joshua Fox
- 18,704
- 23
- 87
- 147
1
vote
1 answer
Cloud Datastore - Exclude indexes from index.yaml file
I would like to have indexes only on few fields in a kind. Rather than excluding all the fields in the in the Java code during the creation of Entity as described here, I was wondering if there is a way I can define it in index.yaml file and not…

Srik
- 2,341
- 2
- 21
- 35
0
votes
2 answers
How to insert image in Dart Text() being wrapped?
I'm trying to put an image inside a long text being wrapped in a Dart AlertDialog() widget. Let me illustrate the problem with some images.
What I want:
What I want
What I have:
What I have
(The coin Image() is flushed to the line after my text…
0
votes
1 answer
How to use a single PostGreSQL while having two Django Apps accessing it that are running in Google App Engine and Google App Engine Flexible
I have a Django Application (first application) running on Google App Engine.
There is another time consuming application (second application) running in Google App Engine Flex.
Both applications are connected to the same PostGreSQL Database.
When…

london_utku
- 1,070
- 2
- 16
- 36
0
votes
0 answers
gcloud app deploy fails with flexible environment
I've tried the hello world example with nodejs and php and both the standard environments work fine. But both examples using the flexible give the same error when I use 'gcloud app deploy':
ERROR: gcloud crashed (TypeError): '>' not supported…

Terry King
- 1
- 1