google-app-engine

is it possible to have a hybrid PHP+Java web application on Google App Engine?

删除回忆录丶 提交于 2020-03-05 07:59:07
问题 I want to create an application that submits same/similar data to sites containing web forms. These sites use PHP scripts... I have a php script with me, that submits data in the manner that i require, to such forms. What I want to do is, design an entire web app around this code... I tried to obtain equivalent java code that does what the php code is doing, but could not obtain such code... Since Google App Engine supports Quercus framework for PHP, what I am thinking now is, use the PHP

How to increase Cloud Scheduler request timeout deadline?

两盒软妹~` 提交于 2020-03-05 04:14:28
问题 I want to migrate from App Engine Cron jobs to Cloud Scheduler, but in Cloud Scheduler the request deadline timeout is 60 seconds, not the 10 minutes that has the requests from Cron jobs. Is there a way to configure Cloud Scheduler App Engine request's to have a deadline timeout of 10 minutes? 回答1: When we look at Cloud Scheduler, we see that when the time is reached to fire a job the request to fire that job may fail. At this point, the request will be retried based on the configuration of

Not able to connect app engine to cloud sql for mysql instance

限于喜欢 提交于 2020-03-04 15:33:41
问题 sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'localhost' ([Errno 2] No such file or directory)") (Background on this error at: http://sqlalche.me/e/e3q8) Its been long time i am stuck at this error , I am trying to connect my app engine python code to a cloud sql for mysql instance. This is the first time i am working with google cloud.below is the code i have written 1. in app.yaml runtime: python37 vpc_access_connector: name:

App engine connected Android app

假装没事ソ 提交于 2020-03-04 07:16:00
问题 Problem with the new App engine connected android application projects for the google eclipse plugin? This is the "Big Daddy" sample shown at goolge i/o 2011. My sample project compiles and the android app appears to work fine and registers with the server. However when I send a message from the server I get the following: Having issue with sample project. Android appears to work fine and registers with the server and the c2dm server, however I cannot send a message. Also of note on the

Are GAE Datastore cursors permanent and durable?

≡放荡痞女 提交于 2020-03-02 07:12:22
问题 Is it correct to say that a com.google.appengine.api.datastore.Cursor simply stores an index position into a GAE Datastore index? Are cursors durable? That is, can I store a cursor permanently and reuse it again and again knowing for sure that if it was pointing to 5000th position in the index, that's where it'll point forever? What if the index shrinks to less than 5000 entries? Will using this cursor cause an error or simply return nothing? For larger indexes (say 100,000 or more entries),

Anonymous caller does not have storage.objects.get

∥☆過路亽.° 提交于 2020-03-01 04:20:27
问题 On Google App Engine (GAE) written in Python. I am trying to issue an http post to cloud-speech-to-text api and using URI audio source (Google Cloud Storage Bucket Objects). I am using the following headers; Authorization: BASIC encoded_base64(username:password) But I still keep getting an error response below: { "error": { "code": 403, "message": "Anonymous caller does not have storage.objects.get access to bucket_of_secrets/four_score_seven_years.flac.", "status": "PERMISSION_DENIED" } } So

Anonymous caller does not have storage.objects.get

懵懂的女人 提交于 2020-03-01 04:18:02
问题 On Google App Engine (GAE) written in Python. I am trying to issue an http post to cloud-speech-to-text api and using URI audio source (Google Cloud Storage Bucket Objects). I am using the following headers; Authorization: BASIC encoded_base64(username:password) But I still keep getting an error response below: { "error": { "code": 403, "message": "Anonymous caller does not have storage.objects.get access to bucket_of_secrets/four_score_seven_years.flac.", "status": "PERMISSION_DENIED" } } So

File listing from google cloud storage

*爱你&永不变心* 提交于 2020-03-01 01:49:05
问题 For a project I'm doing, I will have files stored in Google's Cloud Storage and am building a web app to interface to those files. I would like my app to show a list of the files (or objects may be the appropriate name) stored in my bucket. I'm completely new to web development and google apis. I've been researching how to do this and have found this bit of code... Storage storage = new Storage(httpTransport, jsonFactory, credential); ObjectsList list = storage.objects().list("bucket-name")

Appengine bulk downloader is not downloading list properties

你说的曾经没有我的故事 提交于 2020-02-28 12:31:17
问题 This is related to a previous question of mine, but with new information. I'm trying to configure the bulkdownloader to download data from my Java appengine app in such a way that a list of owned objects is transformed into a nested XML path inside each parent object. I have been using the export transform transform.child_node_from_list . However, the list property is never actually being downloaded and passed to that transform! This seems similar to the effect you get when looking at an

Appengine bulk downloader is not downloading list properties

[亡魂溺海] 提交于 2020-02-28 12:30:28
问题 This is related to a previous question of mine, but with new information. I'm trying to configure the bulkdownloader to download data from my Java appengine app in such a way that a list of owned objects is transformed into a nested XML path inside each parent object. I have been using the export transform transform.child_node_from_list . However, the list property is never actually being downloaded and passed to that transform! This seems similar to the effect you get when looking at an