Questions tagged [google-app-engine-deploy]

20370 questions
0

votes
4

answer
428

Views

Explain the functionality of JSON

I think it is better to understand why I have so many problems with JSON that I explain you what my goal is: I work with Googles App Engine. There I want to store data. The data looks like user - username question - question date1 - date1 date2 - date2 An Android App have the 'simple' function to: S...
StefMa
1

votes
2

answer
77

Views

How does Google App engines cold boot deal with global variables?

My python API initializes a global variable which takes about 10 seconds to fully initialize before the server starts running. I'm wondering if when GAE initializes a new instance, this same initialization is required? or am I able to access the same variable across multiple instances?
james
-1

votes
0

answer
13

Views

can i pass parameters while i´m deploying and then read it? mvn appengine:deploy -Ddatabase_intance=mydatabase

i´m deploying in Google App Engine i´m trying to pass a param when mvn appengine:deploy -Ddatabase_intance=mydatabase and then in the application.properties i´m trying to read it database=${database_intance} i think that there is no way to do this easily, but if someone could help me to see clear...
Jeronimo Alderete
1

votes
1

answer
705

Views

How do I find a max value in datastore?

I am using go and datastore and I want to have a query where I get the max value from the datastore. I can't find anything about max values in the docs. How can I accomplish that? I am using Google App Engine https://cloud.google.com/appengine/docs/go/datastore/
theva
1

votes
1

answer
1.2k

Views

You are not an authorized owner of the domain for this certificate (Google App Engine)

For the past 3 years I have been doing the following to generate my SSL certificates for Google App Engine. Convert certificate to PEM format openssl x509 -in domain.crt -out domain.pem -outform PEM Convert Private CSR Key to PEM format openssl rsa -in private.key -out private.pem For some reason I...
bryan
1

votes
1

answer
32

Views

AppEngine nodejs : how to protect a cron URL from public access?

https://cloud.google.com/appengine/docs/standard/python/config/cron A cron handler is just a normal handler defined in app.yaml. You can prevent users from accessing URLs used by scheduled tasks by restricting access to administrator accounts. However this option is not available in nodejs. What's t...
ben
1

votes
2

answer
33

Views

Use Google Cloud Functions to speed up GAE app

I have a GAE standard Python app that does some fairly computational processing. I need to complete the processing within the 60 second request time limit, and ideally I'd like to do it faster for a better user experience. Splitting the work to multiple threads don't seem to be a good solution becau...
gaefan
1

votes
2

answer
288

Views

Run a python script on schedule on Google App Engine

I'm looking for a good samaritan that can provide with a very basic skeleton to run a python script using Google App Engine. I have read the documentation, check on related SO questions but I'm lost with the WebApp format. All I want to do is run one python script which accepts arguments or several...
Racu
1

votes
2

answer
39

Views

GCloud AppEngine under Eclipse doesn't start (Mac OS)

I want to run a GCloud App Engine (Spring Boot Application) in Eclipse under Mac OS. When I start the App Engine, I get the following error: The Google Cloud SDK could not be found in the customary locations and no path was provided. -> [Help 1] The SDK is installed, the installation path is set to...
user2191287
1

votes
2

answer
81

Views

2019: Dynamic cron jobs Google App Engine

I am developing a reporting service (i.e. Database reports via email) for a project on Google App Engine, naturally using the Google Cloud Platform. I am using Python and Django but I feel that may be unimportant to my question specifically. I want to be able to allow users of my application schedul...
ViaTech
1

votes
2

answer
47

Views

google ml-engine cloud storage as a file

I am working in Python with Google Cloud ML-Engine. The documentation I have found indicates that data storage should be done with Buckets and Blobs https://cloud.google.com/ml-engine/docs/tensorflow/working-with-cloud-storage However, much of my code, and the libraries it calls works with files....
user1902291
1

votes
2

answer
711

Views

Storing a string from a textbox to the Google App Engine Datastore

Is it possible to create a textbox in HTML, type a string into it, click a 'save' button, store that information onto a GAE datastore model and have the text stay displayed in the textbox and saved in the datastore? The HTML is on a separate file, just rendered through my main.py file using class M...
tomzaragoza
1

votes
1

answer
314

Views

Google Cloud Storage Client API fails in Certificate validation if we pass javax ssl params

I have successfully builded and ran a code snippet to upload the document to google cloud storage using the Java API. While integration of Google Sql to our project we have introduced the keystore and truststore params. After the introduction of the store params the upload document API's are failing...
ted
1

votes
0

answer
253

Views

MySQL connection issue in gcloud

I have deployed codeigniter project in google cloud app engine . I am getting database connection problem. Database connection is below - $db['default'] = array( 'dsn' => 'mysql:unix_socket=/cloudsql/tastyeater-190406:us-central1:tastyeater;dbname= databasename', 'hostname' => 'localhost', 'username...
Farman Ali Khan
1

votes
0

answer
116

Views

API Call from App Engine flexible to Firebase FCM failed

API Calls,e.g. to Firebase https://fcm.googleapis.com/fcm/send worked before switching from vm appengine-web.xml to env: flex app.yaml flexible. When deploying with mvn appengine:deploy everything is fine, but when an API call gets fired, which worked before, i get the exception below: Exception in...
quentin qweez
1

votes
0

answer
448

Views

Upload big jar file to Google Cloud Appengine

so I am trying to deploy my spring-based application to Google Appengine via Maven plugin. I am getting error, that my jar is bigger then allowed size. [INFO] GCLOUD: ERROR: (gcloud.app.deploy) Cannot upload file [C:\path\core-web\target\appengine- staging\core-web-0.0.1-SNAPSHOT.jar], which has si...
J.T
1

votes
0

answer
74

Views

PHP - File cache SQL queries in Google App Engine

I'm new at hosting with Google App Engine and haven't got my file caches to work yet any is therefore running a bunch of SQL queries that at least on my last dedicated server made more sense to have file cached. My questions are: Is it worth file caching on Google App Engine or is there some disadva...
Rasmus Lindström
1

votes
0

answer
187

Views

Google analytics events showing in real-time view, but not archived

I'm using Google Analytics in Appengine. I'm tracking events server side with this code: Map map = new LinkedHashMap(); map.put('v', '1'); // Version. map.put('tid', gaTrackingId); map.put('cid', '555'); map.put('t', 'event'); // Event hit type. map.put('ec', encode(category, tru...
Giovesoft
1

votes
1

answer
233

Views

GAE(Spring Boot App) CORS check not returning Access-Control-Allow-Origin header

I have spent the whole day trying to deploy a Spring Boot Application (REST API) to Google App Engine, and I am stuck trying to get past the CORS configuration. The spring application works locally so I know that Spring CORS configuration is correct. However, I get the following error when I deploy...
Calvin Son
1

votes
2

answer
203

Views

GCP App Engine Access to GCloud Storage without 'sharing publicly'

I would like to know how to grant a Google Cloud Platform App Engine project permissions to serve content from Google Cloud Storage without setting the Google Cloud Storage bucket permissions to ‘share publicly'. My App engine project is running Node JS. Uses Passport-SAML authentication to authen...
Paul Trotter
1

votes
1

answer
217

Views

Securing SpringBoot REST endpoints in Google Cloud Platform

I created a SpringBoot application with a couple of REST endpoints and deployed it to Google App Engine Standard. Everything works fine and I am able to hit the endpoints. Now I want to secure these endpoints and allow only users authorized as admin to be able to call one of the endpoints. I tried...
AndoverDev
1

votes
1

answer
235

Views

GCP - Cloud endpoints service_name and configuration

I am studying Google Cloud Endpoints and I have some doubts about configuration. I already work with appengine, but endpoints it is a little confuse for me. I did this example: https://cloud.google.com/endpoints/docs/frameworks/java/get-started-frameworks-java I did some changes for test other possi...
javaTry
1

votes
0

answer
263

Views

Deploy server/client app engine Google Cloud Platform (GCP)

I developed React app which the runtime is nodejs and this app contains server/client and I want to deploy it to Google Cloud Platform - App Engine and this is my package.json but what is happening is after deployed only the server is deployed and working but the client is not get deployed { 'name':...
Abdulaziz.Musaileekh
1

votes
0

answer
73

Views

Task Queue Issue - Endpoint v2, Google App Engine

We are facing issues with taskqueues after recently updating the Endpoints API to version 2 in Google App Engine - Python. Following are the issues faced with respect to taskqueus, Taskqueue doesn't get added to the queue at all , Just gets ignored and never executed. Taskqueue get terminated with e...
Navin Lr
1

votes
1

answer
70

Views

Search via Python Search API timing out intermittently

We have an application that is basically just a form submission for requesting a team drive to be created. It's hosted on Google App Engine. This timeout error is coming from a single field in the form that simply does typeahead for an email address. All of the names on the domain are indexed in the...
David Aulick
1

votes
0

answer
359

Views

How to auto deploy from GitLab to Google App Engine Using Nodejs

I'm looking to auto deploy on to the Google App Engine when I push to Gitlab. I have got my environment variables in GitLab already and have got the .gitlab-ci.yml (below) file but it fails each time image: nodejs:8.7.0 before_script: - echo 'deb http://packages.cloud.google.com/apt cloud-sdk-jessie...
user3105341
1

votes
1

answer
115

Views

How to verify JWT?

I'm unsure of the examples in Google's documentation. How do I verify a JWT produced by Firebase, in a Google App engine flexible service? main.go: // ... func main () { InitializeAppWithServiceAccount() go lib.GetStockData() http.HandleFunc('/_ah/someendPoint', SomeHandler) } func InitializeAppWith...
cbll
1

votes
0

answer
76

Views

Google App Engine Java - Temporary Search Error (FTS)

I receive for a lot of queries on my FTS indexes this exception: com.google.appengine.api.search.SearchException >> Temporary search service error com.google.appengine.api.search.IndexImpl$4.convertException(IndexImpl.java:354) com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:97...
Andrei F
1

votes
0

answer
75

Views

Logging IP address used by urlfetch on AppEngine

We'd like to log the public facing IP address used in the urlfetch calls in Python to assist our customers in debugging when some calls fail but others succeed. I've had a look through the documentation but can't see a way to do this. The protoPayload IP address already in the logs looks to be the i...
1

votes
1

answer
140

Views

Installing wkpdtothtml on google cloud platform

I created a node express application that acts as a print api based on the wkhtmltopdf plugin. I am trying to deploy it to Google Cloud Platform, but I will need to install the wkhtmltopdf binaries on Google Cloud Platform first. How do I go about this? I am using Google App Engine service.
Mike Axle
1

votes
1

answer
168

Views

How to import modules when modules have same folder names,

I'm facing an issue where google.appengine and google.cloud python modules are under different directories named google Their following paths are as below: 1st Path: C:\Users\MohammedT\Desktop\dsapp\sitepackages\dev\google_appengine api_server.py appcfg.py backends_conversion.py BUGS bulkloader.py b...
Tameem
1

votes
1

answer
64

Views

MAMP attempting to connect to production SQL Database - localhost PHP Google App Engine Flexible Not Working

I am hosting a WordPress site on Google App Engine Flexible Environment. I got my local server working with MAMP. Then I needed to add SSL to MAMP so that images on my site would appear in the local environment, and so I could update WordPress and Plugins using these instructions: https://cloud.goog...
bld2104
1

votes
0

answer
92

Views

How to change ruby or php version in google cloud shell console

Is it possible to change the ruby or php version used in google cloud shell console? Specifically, I'd like like to keep the console using the ruby version used by my app engine, after I had to specifically set it to Ruby 2.42 (or whatever) in the yaml file. Or more generally, can I customize the c...
P. Hepp
1

votes
1

answer
570

Views

Import six module not working despite pip installation

I am building a web app (based on google app engine & python 2.7) and trying to import the six.move module. But although 'six' is installed, it is not found when importing (note, I am not using frameworks yet like Django). On my working environment (env), I ran: | => pip show six Name: six Version:...
pablo-az
1

votes
1

answer
431

Views

NotFoundError: Expect status [200] from Google Storage. But got status 404 while reading a file

I have created a bucket in google storage and uploaded a sample text file and gave owner permissions. Using the code in google docs, I am trying to read the uploaded text file (test.txt) and create a sample text file. I couldn't do both read/create operations. Connecting to cloud storage: bucket_nam...
Bhavana
1

votes
0

answer
211

Views

I see no change after deploying to google app engine

I have set up a project with Google App Engine this one : http://podcom-191901.appspot.com/ (I have not payed for Google Cloud services, I did podcom-191901 without registering for a free trial. I also received this notifications: I am following this guide: https://blog.idrsolutions.com/2015/09/how-...
luickx
1

votes
0

answer
119

Views

Can't run App Engine locally with BigQuery

When I import BigQuery: from google.cloud import bigquery I get the following error: Traceback (most recent call last): File '/Users/manuelgodoy/Projects/Klein/src/application/storage/bigquery_models.py', line 6, in from google.cloud import bigquery File '/Library/Frameworks/Python.framework/Versio...
Manuel Godoy
1

votes
1

answer
108

Views

Options to load data into Big Query from Google Cloud Storage pro-grammatically in Java?

I have been searching for loading data into Big Query programmatically from Google Cloud Storage. I have done this manually by taking backup of my Google Cloud Storage of one Kind and dumping it into the BigQuery Table and was able to retrive data in android as well. The only problem i am facing is...
Rahul Verma
1

votes
0

answer
48

Views

App Engine deploy cannot find ssh command

I am trying to use a private git repository as a package source for npm in my node.js app. That is, I have the following line in my package.json dependencies: 'mypackage': 'git+ssh://[email protected]/myusername/mypackage.git#dev', This works fine on my machine, but I cannot deploy to the App Engin...
Fabio Colombo
1

votes
1

answer
50

Views

Kindless ancestor query for different entity kinds in golang

According to the documentation, it should be possible to retrieve an ancestor and all of its descendants, regardless of their kind. In my implementation, I have a different kind of ancestor and descendant. The following codes however always returns the error 'invalid entity type': q := datastore.New...
fsapei

View additional questions