[google-appengine] Re: Error deploying Python app to App Engine Flexible Environment

2016-06-04 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Glad to hear you were able to sort it out. Alternatively, you can also use 'gcloud config set project ' to directly switch the project. Some other useful commands are 'gcloud config set account

[google-appengine] Re: Task Queue Errors

2016-06-06 Thread 'Adam (Cloud Platform Support)' via Google App Engine
I'd advise opening a production issue on the googleappengine issue tracker so we can investigate your project in more detail. On Monday, June 6, 2016 at 10:31:48 AM UTC-4, Wilson Canda wrote: > > Hi there, I was hoping that someone could

Re: [google-appengine] Re: Deleting Old backups

2016-06-12 Thread 'Adam (Cloud Platform Support)' via Google App Engine
The Datastore Admin backup handler only lists a maximum of 100 results from the Cloud Storage bucket when it looks for backups. To see older backups, you can copy them into a different Cloud Storage bucket to restore from, or reduce the number of backups to less than 100. On Friday, June 10,

[google-appengine] Re: Exposing UDP Ports with flexible runtime environment

2016-06-11 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Unfortunately this is still a known issue. I'd advise starring the related public issue tracke r to add visibility. On Friday, June 10, 2016 at 6:16:39 PM UTC-4, Sargun Dhillon wrote: > > I was looking into running a UDP

[google-appengine] Re: Crop Images storaged in Google Cloud storage with a given bounding box.

2016-06-13 Thread 'Adam (Cloud Platform Support)' via Google App Engine
The bounding box crop is only provided by Image.crop(left, top, right, bottom) , so you'd need to do this from within your own handler and serve the cropped image back.

[google-appengine] Re: Datastore Writes being Disabled

2016-05-27 Thread 'Adam (Cloud Platform Support)' via Google App Engine
You may want to star the relevant public issue . This was originally reported for editing custom domain mappings, but it looks like the problem may be generally related to the project selector and can cause issues on other

[google-appengine] Re: Process terminated because the request deadline was exceeded. (Error code 123)

2016-06-19 Thread 'Adam (Cloud Platform Support)' via Google App Engine
This isn't related to an internal issue as per the thread you linked to - your Cloud SQL instance literally has too many concurrent requests as the message states, and there is a limit of 100. For some background, take a look at this answer from a

[google-appengine] Re: Call Firebase database from Google App Engine

2016-06-19 Thread 'Adam (Cloud Platform Support)' via Google App Engine
For this you'd want to look at the documentation for using Firebase from a ' Server '. The Firebase SDK supports both Java and NodeJS at this time. You can also call the Firebase API from other App Engine languages by using the REST

Re: [google-appengine] Search API sorting on DateField using datetime

2016-06-19 Thread 'Adam (Cloud Platform Support)' via Google App Engine
This is a known issue. Feel free to star the relevant issue tracker for updates and to add visibility. On Friday, June 17, 2016 at 7:21:12 PM UTC-4, Bradley Mclain wrote: > > Yes this is the work-around that I have been using.

[google-appengine] Re: Process terminated because the request deadline was exceeded. (Error code 123)

2016-06-19 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Some more info is available in the docs - "If more than 100 clients try to connect simultaneously to a First Generation instance, some of them will fail to connect". Another possible solution may be to use a higher tier instance so

[google-appengine] Re: App Engine to Compute Engine communication via internal IP

2016-06-24 Thread 'Adam (Cloud Platform Support)' via Google App Engine
You should be able to do this if you use a Flexible Environment instance, and specify the same network name in the app.yaml that your Compute Engine instance running MySQL is on. It

[google-appengine] Re: Cost of projection query?

2016-02-09 Thread 'Adam (Cloud Platform Support)' via Google App Engine
There are limitations to what you can do with projection queries (see Limitations on projections ). Notably, all properties in a projection query require an index which can incur other

[google-appengine] Re: remote_api_shell.py

2016-02-23 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Does 'appcfg.py update app.yaml' also work from the command line directly in your project directory? Note that the application 'name' is not necessarily the same as the application 'id', so that can also be your issue. Make sure you are passing the as '***-1227.appspot.com' matching the first

[google-appengine] Re: Development of notification service based on google app engine

2016-02-28 Thread 'Adam (Cloud Platform Support)' via Google App Engine
If you want to be able to push notifications to the client-side of a web application (JavaScript), use the Channel API: https://cloud.google.com/appengine/docs/java/channel/javascript If you want to be able to push notifications to the server-side of a web application using webhooks, use Cloud

[google-appengine] Re: App returning 404s since Feb 18

2016-02-28 Thread 'Adam (Cloud Platform Support)' via Google App Engine
You can see that the domain is still hosted on GoDaddy's servers if you do a 'dig ' on the domain or use a site like network-tools.com to do a lookup on the domain: ;ANSWER bigriddles.com. 3599 IN NS ns50.domaincontrol.com. bigriddles.com. 3599 IN NS

[google-appengine] Re: App returning 404s since Feb 18

2016-02-28 Thread 'Adam (Cloud Platform Support)' via Google App Engine
As a follow up, it's also a good idea to double check your Developers Console settings to make sure it's set up properly. On Sunday, February 28, 2016 at 3:17:52 PM UTC-5, Adam (Cloud Platform Support)

[google-appengine] Re: Confusing Cloud Storage pricing?

2016-02-29 Thread 'Adam (Cloud Platform Support)' via Google App Engine
You are not charged for network egress or external API operations, as these all occur within Google's network infrastructure when accessing Cloud Storage from the PHP runtime. So the information in 'Storing Data in PHP' is accurate. On Monday, February 29, 2016 at 3:27:29 PM UTC-5, Alex Kerr

[google-appengine] Re: Instance stopped automatically?

2016-02-29 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Can you reconfirm the date that the instance was reported down? We've checked logs on Feb 19th from 0400 +0530 but these still show the instance as being active. On Saturday, February 27, 2016 at 2:26:09 AM UTC-5, Mayank Bhagya wrote: > > I sent you the details a few days back. > > Please let

[google-appengine] Re: remote_api_shell.py

2016-02-26 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Reading this again it looks like your issue is just the syntax and it's trying to interpret '--oauth2' as the hostname. The syntax is 'remote_api_shell.py [-s HOSTNAME]'. On the latest SDK (1.9.33) the --oauth2 option has been removed as it is now the default and only option. If I try it the

[google-appengine] Re: Logging stopped working for me with GAE SDK 1.9.33 Python version. I there a solution. It has never happened before?

2016-02-26 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Can you provide some more background about what you expect to see in the logs and what was working before? By repair do you mean a redeploy? On Friday, February 26, 2016 at 5:39:30 PM UTC-5, Arthur Morrison wrote: > > > Hi, > > I was doing so well and updated to version 1.9.33 and now I do not

[google-appengine] Re: Instance stopped automatically?

2016-02-21 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Feel free to send me a PM with your project ID and module .yaml scaling config info and I will take a look. On Saturday, February 20, 2016 at 1:06:53 AM UTC-5, Mayank Bhagya wrote: > > No, I am not interfering with scaling. > > I use appengine pipelines though, which uses task queues to schedule

[google-appengine] Re: remote_api_shell.py

2016-02-21 Thread 'Adam (Cloud Platform Support)' via Google App Engine
This usually means that the host is unreachable. What are you providing as ? Are you connecting from behind a proxy? On Saturday, February 20, 2016 at 5:17:10 PM UTC-5, Andri Firstianto-GCP wrote: > > Hi, > > Try to execute from command.com > remote_api_shell.py -s --oauth2 .appspot.com > >

[google-appengine] Re: Cloud Trace API

2016-02-29 Thread 'Adam (Cloud Platform Support)' via Google App Engine
I've created a Gist with a basic example of how to post a single test trace using the JSON API, which you should be able to extrapolate from. This uses the Google API Client Library for Python

[google-appengine] Re: App returning 404s since Feb 18

2016-03-01 Thread 'Adam (Cloud Platform Support)' via Google App Engine
The 404s would not show up in your Developers Console logs since the request is not even making it to the app server. The CNAME resolves to ghs.google.com which relies on an internal mapping to route traffic to App Engine. Unfortunately the mapping will not work if the domain is not verified.

[google-appengine] Re: managed VMs use threading even with threadsafe: false ? (python27, webapp2)

2016-03-14 Thread 'Adam (Cloud Platform Support)' via Google App Engine
It's a known issue that Managed VMs don't respect 'threadsafe' and this is mentioned in an issue on GitHub, though these details are specific to the Java runtime. Regarding your workaround I don't see any issues with it. On Sunday,

Re: [google-appengine] New Cloud Console

2016-03-12 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Hi Christian, We've prodded the engineering team to update the issue trackers, so hopefully we will see some updates. The exception is Issue 6799 which was a years old report of slowness which is being closed out due to

[google-appengine] Re: Does Datastore (or its backups) include multiple versions of an entity?

2016-04-12 Thread 'Adam (Cloud Platform Support)' via Google App Engine
_DeferredTaskEntity is used for storing the payload of tasks that are enqueued with deferred.defer() , which exceed 100KB .

[google-appengine] Re: New pricing question datastore

2016-04-08 Thread 'Adam (Cloud Platform Support)' via Google App Engine
The documentation doesn't get too specific, but you will only be charged for the number of entities read, written or deleted irrespective of the number of attributes or indexes for each entity. I expect the

[google-appengine] Re: Is there a list of all possible HTTP_X_APPENGINE_CITY/REGION/COUNTRY combos?

2016-04-10 Thread 'Adam (Cloud Platform Support)' via Google App Engine
If you check the documentation , it mentions that X-AppEngine-Country uses the ISO 3166-1 alpha-2 country code, and X-AppEngine-Region uses the ISO-3166-2

[google-appengine] Re: App Engine SDK to login with username and password while deploying

2016-03-19 Thread 'Adam (Cloud Platform Support)' via Google App Engine
It's not possible to return to the username and password verification, as this relied on the ClientLogin API which is officially deprecated . Going forward OAuth2 will be the only supported method of authentication. On

[google-appengine] Re: New Dashboard pages burn resources when idle

2016-03-21 Thread 'Adam (Cloud Platform Support)' via Google App Engine
I'm interested to know if anyone else has issues like this. I'm not able to reproduce this on three different machines / OSes that I've tested. Have you tested on another browser, or with browser extensions disabled? In Chrome, you can also right-click on the tabs area and click 'Task Manager'

Re: [google-appengine] Re: managed VMs use threading even with threadsafe: false ? (python27, webapp2)

2016-03-19 Thread 'Adam (Cloud Platform Support)' via Google App Engine
s (of Managed VMs) to read > through every bug report... :-( > > another example: Images API not supported yet.... > > thanks! > > > On Mon, Mar 14, 2016 at 9:24 AM, 'Adam (Cloud Platform Support)' via > Google App Engine <google-appengine@googlegroups.c

[google-appengine] Re: "This operation is not possible because no App Engine application was found for this project"

2016-03-05 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Try going to the Developers Console and then 'Manage all projects' (under 'Select a project' or the current project name at the top right) and make sure that project is actually active, and not in some other state. If you are just missing the App Engine section but everything else is fine, you

Re: [google-appengine] Objectify in google apps

2016-04-01 Thread 'Adam (Cloud Platform Support)' via Google App Engine
If you are using Objectify / Datastore you are not using SQL, since the datastore is not a relational database. There is no need to 'JOIN' the rows of two tables together, because there are no tables. Good places to start are the 'Concepts

[google-appengine] Re: Django / Managed VM - Migrate DB with deploy

2016-04-02 Thread 'Adam (Cloud Platform Support)' via Google App Engine
You can achieve the same thing using a Dockerfile on Managed VMs (now called App Engine Flexible Environment). Check out the example Dockerfile from the getting-started-django

[google-appengine] Re: Using the Channel API in a local development environment

2016-04-02 Thread 'Adam (Cloud Platform Support)' via Google App Engine
The Channel API is an App Engine specific API. If you're not using App Engine, you don't need to use the Channel API as you generally can allow your browser application to communicate with your backend directly, for example using WebSockets

[google-appengine] Re: launching single node file server on app engine fails

2016-04-24 Thread 'Adam (Cloud Platform Support)' via Google App Engine
As this issue relates to Compute Engine, not App Engine, I'd recommend posting over on the gce-discussion forum. On Sunday, April 24, 2016 at 3:35:44 AM UTC-4, pankaj kumar wrote: > > I am unable to launch the single node file server on

[google-appengine] Re: dev_appserver.py on Windows won't shut down properly

2016-04-24 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Is there a reason why you need to use pythonw.exe? On Windows, pythonw.exe doesn't attach to the console and runs in the background. You'll need to manually kill the task eg. using taskkill /PID or from the task manager which won't call the shutdown handler. If you use python.exe, Ctrl+C should

[google-appengine] Re: Flexible App Engine (Node.js) not able to access memcached?

2016-04-24 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Yes, this is a known issue. Feel free to star the relevant issue tracker here for updates: https://code.google.com/p/googleappengine/issues/detail?id=12843 On Friday, April 22, 2016 at 11:02:32 AM UTC-4, Bill Murphy wrote: > >

[google-appengine] Re: Making API calls to Google Books API public data

2016-04-22 Thread 'Adam (Cloud Platform Support)' via Google App Engine
It would help if you could post the exact code which is making the call as well as the exact JSON response your receive. This also seems like a good question to post to Stack Overflow , as it will have greater visibility. Check out our community support page

[google-appengine] Re: Making API calls to Google Books API public data

2016-04-25 Thread 'Adam (Cloud Platform Support)' via Google App Engine
I get the same error, but I can see more detail in the App Engine logs viewer: HttpError: https://www.googleapis.com/books/v1/volumes?q==json= returned "Cannot determine user location for geographically restricted operation."> It seems this is not related to OAuth2, but is a known issue

[google-appengine] Re: App Engine Datastore Dashboard Missing

2016-04-25 Thread 'Adam (Cloud Platform Support)' via Google App Engine
I'm not able to reproduce this, have you tried general browser troubleshooting (incognito window, different browser etc.)? On Saturday, April 23, 2016 at 5:33:03 AM UTC-4, notreadbyhumans wrote: > > Just tried to log in to the Datastore view within the GCP console and it > showed an "Enabling

[google-appengine] Re: GoogleAppengineLauncher

2016-04-25 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Yes, to add to the above post the error message tells you 'see the log file for details' and gives you the location of the log file on your computer. You need to browse to 'C:\Program Files(x86)\Google\google_appengine\launcher' and open the log file, which will contain information about why

[google-appengine] Re: Datastore admin is unable to delete entities

2016-04-26 Thread 'Adam (Cloud Platform Support)' via Google App Engine
We've seen this happen when the 'default' task queue has the 'target' overridden in queue.yaml / queue.xml, so that the push tasks needed for the mapreduce jobs are not executing on the default module for 'ah-builtin-python-bundle' but on some other, possibly invalid module / version. I'd

[google-appengine] Re: Datastore Admin stopped working

2016-04-26 Thread 'Adam (Cloud Platform Support)' via Google App Engine
If this had happened, there isn't a way to redeploy this version or download it from another project unfortunately. You would need to recreate the project. Although 'ah-builtin-python-bundle' isn't visible in the console under 'Versions', it's still possible to delete using appcfg.py, so

[google-appengine] Re: Flexible environment: app logs filling disk: app stops serving

2016-04-24 Thread 'Adam (Cloud Platform Support)' via Google App Engine
These seem like good candidates for cross posting to the public issue tracker , so we can investigate further and get updates and feedback from the engineering team. There don't appear to be any existing reports of these issues publicly,

[google-appengine] Re: connection Failing to MongoDB on Google Cloud Engine via Mongoose

2016-04-23 Thread 'Adam (Cloud Platform Support)' via Google App Engine
It looks like the relevant thread is at https://groups.google.com/forum/#!msg/gce-discussion/2KhQiF2y6O8/iwoo4Beo9vwJ. On Friday, April 22, 2016 at 10:54:53 PM UTC-4, Will Benish wrote: > > Patrice, can you link to the thread you mention? I too am having this > problem. > -Will > > On Friday,

Re: [google-appengine] Re: image.ServingURL very slow (~200ms)

2016-04-23 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Turning a blob key into a serving URL isn't a simple string transformation. The blob must be made available on a special image serving infrastructure that supports resizing and cropping. The Python documentation

Re: [google-appengine] Re: GoogleAppengineLauncher

2016-04-30 Thread 'Adam (Cloud Platform Support)' via Google App Engine
[Error 3] The system cannot find the path specified: > '~/Google' > > Regards, > NAVEEN GANDHI > > On Tue, Apr 26, 2016 at 1:31 AM, 'Adam (Cloud Platform Support)' via > Google App Engine <google-appengine@googlegroups.com> wrote: > >> Yes, to add to the above

Re: [google-appengine] Re: Datastore Admin stopped working

2016-04-30 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Thanks Josh, I didn't think the source for this was available as 'appcfg.py download_app' is purposely blocked for 'ah-builtin-python-bundle', but it was right in the SDK all along! Although restoring to 'ah-builtin-python-bundle' won't work due to 'ah-builtin' being a reserved version name

Re: [google-appengine] Re: Datastore Admin stopped working

2016-04-30 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Also, regarding the inconsistencies in the console for 'ah-builtin-python-bundle', feel free to post to the issue tracker so we can grab the app ID and investigate the specific project. On Saturday, April 30, 2016 at 2:53:36 PM UTC-4,

[google-appengine] Re: How could erase file from cloudstore with the url from file?

2016-04-26 Thread 'Adam (Cloud Platform Support)' via Google App Engine
You should store the GCS file name and just use cloudstorage.delete('/bucket/object_name') . GCS functions can only work with GCS file names. I'm not what you mean by 'only save the url in the data block

[google-appengine] Re: GoogleAppengineLauncher

2016-04-22 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Are you asking how to set the log file the launcher saves to, or how to see this log file? On Friday, April 22, 2016 at 5:35:04 AM UTC-4, NAVEEN GANDHI wrote: > > How to set the error logfile 'c:\\program > files(x86)\Google\google_appengine\Launcher\GoogleAppengineLauncher.exe.log' > for

[google-appengine] Re: Datastore Writes being Disabled

2016-05-23 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Was this noticed after switching projects using the drop-down? Does re-enabling writes persist after first refreshing the page? We've noticed the project selector causing stale data from the previous project to be displayed in some cases, but a page refresh will update it correctly. On Friday,

[google-appengine] Re: Multiple Webapp2 Instances or Modules

2016-05-23 Thread 'Adam (Cloud Platform Support)' via Google App Engine
It would depend if 'profile' and 'account' had any other kind of shared local state between them. If they do not, it would make sense to factor them out into separate modules for better scalability. You would need to do this anyway if your end goal is to have them served from separate

Re: [google-appengine] GAE Python / OSX, version 1.9.37: ImportError: No module named appengine.api

2016-05-23 Thread 'Adam (Cloud Platform Support)' via Google App Engine
It would be interesting to see what the results are if you throw in a few debug statements above line 31 in 'devappserver2.py': import google print(google) print(sys.path) I've tried to break this on my machine by introducing a 'google' module in my sys.path, but I cannot reproduce it. On

[google-appengine] Re: External MySQL using Standard Environment

2016-05-24 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Can you share the real IP you are trying to connect to? On Monday, May 23, 2016 at 3:14:16 AM UTC-4, Prasanga Siripala wrote: > > I'm trying to connect to an external MySQL database using GAE-Standard > Environment (Golang). > I can't get it to work. > > The documentation for GAE-Standard

Re: [google-appengine] GAE Python / OSX, version 1.9.37: ImportError: No module named appengine.api

2016-05-24 Thread 'Adam (Cloud Platform Support)' via Google App Engine
It looks like you also have the 'google ' package (Python bindings to the Google search engine) installed eg. via pip or homebrew, which will install a module in '/usr/local/bin/google', and it's getting imported instead of

[google-appengine] Re: architecture for whitelisting clients

2016-05-24 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Google Cloud Endpoints isn't considered outdated. It's still the standard framework used to implement RESTful services on App Engine. The Javascript Client Library does support promises. The

[google-appengine] Re: architecture for whitelisting clients

2016-05-24 Thread 'Adam (Cloud Platform Support)' via Google App Engine
To answer your other questions, what you're describing doesn't sound like it's violating any best practices. Separating your back-end logic and exposing it as an API (a la microservices ) is fairly par for the course. Datastore supports multi-tenancy in the form of

[google-appengine] Re: Cant deploy wordpress2blogger app engine

2016-05-21 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Please list the steps or commands you are executing, as well as the exact output. It sounds like you are saying you get an error when uploading the app, however the app is loading when I click on the link. On Tuesday, May 17, 2016 at 3:47:50 PM UTC-4, Khmer Angkor wrote: > > > > On Saturday,

[google-appengine] Re: Application name not set warning in logs

2016-05-21 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Somewhere in your code, you're calling a Google API or an Endpoints API using google-api-java-client or the generated Endpoints client library. In your call to SomeService.Builder(...), you need to add the method .setApplicationName("My app name"). On Thursday, May 19, 2016 at 7:47:56 AM

[google-appengine] Re: Local unit testing of Datastore

2016-05-21 Thread 'Adam (Cloud Platform Support)' via Google App Engine
The High Replication Datastore is the name for the current Datastore, as opposed to the old Datastore which was called Master / Slave . On Friday, May 20, 2016 at 5:59:20 AM UTC-4, Anastasios Hatzis

[google-appengine] Re: Issue with get_serving_url() - Certain images are rotated depending on size and crop (and it's not consistent)

2016-05-16 Thread 'Adam (Cloud Platform Support)' via Google App Engine
I'm seeing this image oriented normally at s226-c and s500-c, but is rotated to the right at sizes higher than around s1100-c. Is the intended behavior to have no rotation? Does the original image have any EXIF orientation flag set? On Wednesday, May 11, 2016 at 10:33:09 AM UTC-4, Rob Curtis

[google-appengine] Re: upload data via appcfg

2016-05-13 Thread 'Adam (Cloud Platform Support)' via Google App Engine
If you are getting errors related to the app's partition ('~s' vs '~dev') you can try adding the following to 'appengine_config.py' so that it matches the one used by prod: from google.appengine.datastore.entity_pb import Reference Reference.app = lambda *args:

[google-appengine] Re: upload data via appcfg

2016-05-06 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Rather than manually trying to resync the production data locally every time an update is required, you could use the Remote API to have your development server app talk to the remote Datastore, and have both your local and

[google-appengine] Re: upload data via appcfg

2016-05-06 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Regarding the 'ProtocolBufferDecodeError: corrupted' error, this can happen when using a custom URL for Remote API which isn't mapped correctly. If you would like to post your app.yaml with the sensitive bits redacted I can take a look. On Friday, May 6, 2016 at 2:44:01 PM UTC-4, Adam (Cloud

[google-appengine] Re: mounting nfs on google app engine

2016-05-01 Thread 'Adam (Cloud Platform Support)' via Google App Engine
The container networking behavior can't be modified by the SDK. This is managed by the backend when the host VM is provisioned. It may be technically possible to SSH into the host VM in user-managed mode

[google-appengine] Re: Why can’t transactional tasks be named?

2016-05-01 Thread 'Adam (Cloud Platform Support)' via Google App Engine
I see this is reported as a feature request on the issue tracker . I will file this with the engineering team to have a reference number attached, and you can star the issue for visibility and to receive updates. This comes with

Re: [google-appengine] Re: GoogleAppengineLauncher

2016-05-02 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Apr 2016 11:42 pm, "'Adam (Cloud Platform Support)' via Google App > Engine" <google-appengine@googlegroups.com> wrote: > >> It seems this can happen if you are using Windows XP, and you are trying >> to run the launcher as a different user than the one wh

[google-appengine] Re: Flexible environment: app logs filling disk: app stops serving

2016-05-02 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Thanks, I've reproduced it myself as well and will post any further updates to the issue tracker. On Monday, May 2, 2016 at 11:15:56 AM UTC-4, Evan Jones wrote: > > I finally got around to writing a minimal reproduction of this bug and I > filed an issue for it on the public tracker (see

Re: [google-appengine] Re: image.ServingURL very slow (~200ms)

2016-05-02 Thread 'Adam (Cloud Platform Support)' via Google App Engine
es not immutable? If I write a new blob to the same > blob key, would that be served under the same image URL? > Is there a way to create an image serving URL that serves an immutable, > cacheable image? > > On Sun, Apr 24, 2016 at 1:17 AM, 'Adam (Cloud Platform Support)' via >

Re: [google-appengine] Re: Datastore Admin stopped working

2016-05-02 Thread 'Adam (Cloud Platform Support)' via Google App Engine
I see this too. The Datastore Admin has a dependency on the old builtin mapreduce library which can't be enabled anymore. It does not work with the latest appengine-mapreduce library even when fixing the handler paths (/mapreduce -> /_ah/mapreduce) in the include.yaml. Vendoring the old

[google-appengine] Re: How could erase file from cloudstore with the url from file?

2016-04-18 Thread 'Adam (Cloud Platform Support)' via Google App Engine
No problem. Yes, the development server stores blobs and GCS files in the same temporary directory on your machine, and both are visible in the Blobstore Viewer from the dev server admin console. This is somewhat confusing, because in the production console there is no Blobstore Viewer, only

[google-appengine] Re: How could erase file from cloudstore with the url from file?

2016-04-16 Thread 'Adam (Cloud Platform Support)' via Google App Engine
First off, Google Cloud Storage is not Blobstore. You can create a key for use with Blobstore with blobstore.create_gs_key(), but you should only do this if you really need to use Blobstore API for something (eg. with the Images API). You should not treat Blobstore and GCS as the same thing or

[google-appengine] Re: dev_appserver.py on Windows won't shut down properly

2016-04-26 Thread 'Adam (Cloud Platform Support)' via Google App Engine
This relates to a known issue with the development server on Windows: It relies on KeyboardInterrupt to shutdown cleanly, as there is no equivalent to POSIX SIGINT on Windows (see here , here

[google-appengine] Re: Nodejs cluster and auto scaling

2016-05-07 Thread 'Adam (Cloud Platform Support)' via Google App Engine
The VMs running your Node instance are what scales. Autoscaling happens automatically based on the scaling settings you set in your app.yaml - no other configuration is required. When needed,

[google-appengine] Re: upload data via appcfg

2016-05-09 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Using the Remote API on dev_appserver.py is essentially the same as using it in a local Python client, as per the example in 'Remote API for Python '. The most straightforward way to turn it on globally for your app in the

Re: [google-appengine] Re: Flexible env deployment issue - java

2016-07-26 Thread 'Adam (Cloud Platform Support)' via Google App Engine
; Tried all possible ways but failed. > > > > > > > On Mon, Jul 25, 2016 at 5:26 AM, 'Adam (Cloud Platform Support)' via > Google App Engine <google-appengine@googlegroups.com> wrote: > >> It looks like you may not have permission to access the

Re: [google-appengine] URLFetch timout

2016-07-12 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Are you seeing constant timeouts or is this intermittent? Is this happening generally or to a specific host / domain? What are you setting as a URL Fetch deadline? On Tuesday, July 12, 2016 at 3:25:20 PM UTC-4, Kevin Hoffman wrote: > > Joshua, thank you for the quick reply. I clearly need to

[google-appengine] Re: Instances restart on reaching maximum number of requests

2016-07-22 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Since by your account the module hovers at about 8 instances which all get proactively restarted at the same time, this suggests that scaling doesn't happen gradually and that the load on that module is fairly constant. Keeping a minimum number of idle instances will help with latency spikes

[google-appengine] Re: I am getting Internal Server Error 500, which fixes for a while if i deploy it again

2016-07-22 Thread 'Adam (Cloud Platform Support)' via Google App Engine
The error is pretty clear, you're getting 401 unauthorized from your web app. So either your credentials are not good, or the way you are authorizing is incorrect. Since you're using gspread (a third party library) you might want to revisit their

[google-appengine] Re: How can tasks be prioritized when using the task queue on google app engine?

2016-07-25 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Off the top of my head, I would add a constraint to your solution to prevent resource starvation for smaller tasks: - Create three queues, #1, #2, and #3 - "Large" tasks can use queue #3 - "Medium" tasks can use queue #2, then queue #3 if it has free slots - "Small" tasks can use queue #1, then

[google-appengine] Re: Instance Count with Flexible VMs is not working

2016-07-23 Thread 'Adam (Cloud Platform Support)' via Google App Engine
This looks like it's related to a known issue , as instance IDs for Flexible instances are not being logged. On Saturday, July 23, 2016 at 4:13:22 AM UTC-4, Ben Rometsch wrote: > > I have 2 flexible VM instances running. In the

[google-appengine] Re: Flexible env deployment issue - java

2016-07-24 Thread 'Adam (Cloud Platform Support)' via Google App Engine
It looks like you may not have permission to access the staging bucket on the project you're deploying to. Are you authorizing gcloud as a user or as a service account? On Sunday, July 24, 2016 at 3:02:58 PM UTC-4, Deepak Singh wrote: > > > Details: [ > [ > { > "@type":

[google-appengine] Re: Shell script authentication to appengine with oauth2

2016-07-24 Thread 'Adam (Cloud Platform Support)' via Google App Engine
The two scopes which can be used to return a user info object are listed under the Google OAuth2 API v2: https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile You can use either or both depending on what additional user information you want. The API

[google-appengine] Re: I am getting Internal Server Error 500, which fixes for a while if i deploy it again

2016-07-24 Thread 'Adam (Cloud Platform Support)' via Google App Engine
No, the access token is not the service account key. You do not need to keep regenerating the service account key; if you did, it would effectively cause your app to break every few days until you created a new key and pushed a new version of your app. The access token refresh is generally

[google-appengine] Re: How can I have Google Cloud Security Scanner log into my app?

2016-07-24 Thread 'Adam (Cloud Platform Support)' via Google App Engine
I posted an answer to the Stack Overflow question. Since login form support is in development it may sometimes fail to work, so creating an alternate simplified form may be one solution. Unfortunately the docs don't give any details about how it attempts the login, but logging HTTP requests to

[google-appengine] Re: Google App Engine Authentication with Google Apps domain account

2016-08-09 Thread 'Adam (Cloud Platform Support)' via Google App Engine
This seems like a question that would be better posted to Stack Overflow, rather than a discussion post. The google-appengine group is intended more for general discussion rather than technical assistance. Please see the main Community Support page

[google-appengine] Re: ImportError: No module named django.core.handlers.wsgi

2016-08-14 Thread 'Adam (Cloud Platform Support)' via Google App Engine
You're getting the ImportError because django is not in your sys.path. If you want to use one of the built-in django versions from the App Engine SDK, simply add this to your app.yaml (it's not necessary to install

[google-appengine] Re: DNS not resolving for custom domain

2016-08-13 Thread 'Adam (Cloud Platform Support)' via Google App Engine
It looks like you'll need to share some details for troubleshooting. If you'd like to do this privately, you can post an issue to the google-cloud-platform issue tracker . At minimum, I'd like to see a screen capture of the DNS

[google-appengine] Re: Performance is *way* too slow with pubsub push -> app engine.

2016-08-12 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Since you're only launching one worker process with foreman requests are essentially being handled serially. Try increasing the number of processes to achieve concurrency eg. web=4 or web=8. The number of processes to use depends generally on how CPU intensive your handler is and the number of

[google-appengine] Re: Performance is *way* too slow with pubsub push -> app engine.

2016-08-12 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Edit: I'll say 'resource' intensive as memory consumption for each process matters too! As a follow up, the App Engine flexible docs say 'an instance can handle multiple requests concurrently' (see 'How Requests are Handled

[google-appengine] Re: I am getting Internal Server Error 500, which fixes for a while if i deploy it again

2016-07-18 Thread 'Adam (Cloud Platform Support)' via Google App Engine
API Keys will not work with the Google Sheets API. You need to use OAuth , as you were doing originally. The reason you only see 500 Internal Server Errors client-side is because every time some exception occurs, you aren't handling it

[google-appengine] Re: Datastore Statistics: Is history ever still available?

2016-07-18 Thread 'Adam (Cloud Platform Support)' via Google App Engine
It looks like the documentation is out of date, and there's been an issue filed to have it updated. Indeed, there is only one instance of __Stat_Total__, and the recommendation is to just fetch 1 entity and retry if no entities were returned. On Monday, July 11, 2016 at 11:49:45 AM UTC-4, Evan

[google-appengine] Re: Instances restart on reaching maximum number of requests

2016-07-18 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Would you mind posting the details from your app.yaml? On Monday, July 18, 2016 at 11:37:29 AM UTC-4, Iliya Novikov wrote: > > Thanks for reply, Martin. I checked with the documentation and according > to it we have warmup requests configured correctly. Though it reminded me > of one thing. I

Re: [google-appengine] Instance maximum number of requests

2016-07-17 Thread 'Adam (Cloud Platform Support)' via Google App Engine
The message you see is the standard message logged when a new instance is started up. It's telling you that the first request to this instance may take longer since the instance needs to finish starting up before it can start serving. Rather than try to revive a 6 year old discussion, I'd

[google-appengine] Re: Why can't I log into my account!!!!

2016-07-04 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Would you mind posting some details? On Sunday, July 3, 2016 at 4:08:44 PM UTC-4, Vero P wrote: > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[google-appengine] Re: How much does it cost per month

2016-07-04 Thread 'Adam (Cloud Platform Support)' via Google App Engine
If you have an idea of what resources you'll need, you can estimate your costs using the Google Cloud Platform Pricing Calculator . On Saturday, July 2, 2016 at 3:19:32 PM UTC-4, ivan mobile01 wrote: > > Sorry ,should be under compute engine --

[google-appengine] Re: How to use GAE SDK in GCE development Server

2016-07-08 Thread 'Adam (Cloud Platform Support)' via Google App Engine
I'd first like to address a couple of points from your previous reply: 1) You're still installing the GAE SDK under a single user's home directory '/home/gaedev/google_appengine/'. This doesn't solve your original problem, and making everyone log into the same 'gaedev' account is not a good

  1   2   3   4   >