[google-appengine] Migrating from Python 2.5 to 2.7

2017-05-31 Thread 'White Light Band' via Google App Engine
Hi, I'm new here and to describe myself as a Python Novice would be overstating my abilities but would really like some help if possible. My website was loading using Python 2.5 but I can't work out the code to use for 2.7. I found this helpful main.py example: but I need to load my HTML (all n

[google-appengine] Re: Flex VMs timing out on creation

2017-05-31 Thread Ben Rometsch
I'm seeing this again, where a build of my app that was working fine is now timing out after 20 minutes. Most of the time is spent waiting on "Updating service [default]". What sort of debug logs do you need me to provide? This is happening today, 31 May 14:10 UTC. On Friday, 28 April 2017 20:

[google-appengine] Re: Flex VMs timing out on creation

2017-05-31 Thread Ben Rometsch
Now taking over 30 minutes... Updating service [default]... ..

[google-appengine] Re: PHP App engine URLs requiring script filename

2017-05-31 Thread 'George (Cloud Platform Support)' via Google App Engine
Usually, one uses a script (or more than one, for additional modules) to handle requests. There is no obligation to mention file names. For details, you may check the "Serving Static Files" page . -- Y

Re: [google-appengine] Re: Flex VMs timing out on creation

2017-05-31 Thread 'Justin Beckwith' via Google App Engine
Adding a few folks from the App Engine team to take a look :) On Wed, May 31, 2017 at 8:11 AM, Ben Rometsch wrote: > Now taking over 30 minutes... > > Updating service [default]... > > ..

[google-appengine] Re: Dynamic Configuration

2017-05-31 Thread 'Yannick (Cloud Platform Support)' via Google App Engine
Hello Shaunak, A good way to share a state between several App Engine instances is to store the data in Memcache. You could have your instances query Memcache directly when they need to read their configuration information or at regular intervals to check for updates. Since data can be eje

[google-appengine] Re: PHP App engine URLs requiring script filename

2017-05-31 Thread Jay-Nicolas Hackleman
I'm a bit confused... so my original question I feel was pretty clear in what I wanted to do... Are you telling me that it can't be done that way, or are you telling me that you recommend a different approach that routes *all traffic *through a single script? So... this help doc about static

[google-appengine] Re: PHP App engine URLs requiring script filename

2017-05-31 Thread 'Nicholas (Google Cloud Support)' via Google App Engine
Hi Jay-Nicolas, >From your original post when you mention the nginx-app.conf, I suspect you're using an nginx process to route requests to given PHP scripts. App Engine uses nginx internally as well but it is not configured using standard nginx conf files that users can access. Instead, the *

[google-appengine] is app engine having short intermittent problems today?

2017-05-31 Thread Robert Dyas
We've seen very short lived (works on retry) intermittent problems on GAE std today. Anybody else? -- 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-a

[google-appengine] Re: App Engine Flexable: ImportError: No module named PLACEHOLDER

2017-05-31 Thread 'Jordan (Cloud Platform Support)' via Google App Engine
Google Groups is meant for general product discussions and not for technical support or issue reporting. It is recommended you report this officially as an issue in the Public Issue Tracker with additional information such as your GCloud v

[google-appengine] Re: Google Appengine SSL certificates - "The SSL certificate provided could not be inserted", tried everything!

2017-05-31 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Garth, The stated purpose of your attempt to connect via Cloudflare is: "I can have DDoS protection and SSL". It may be the moment to stress the fact that these features are offered by the App Engine already. Cloudflare's Flexible SSL mode encrypts traffic from browsers to CloudFlare, b

[google-appengine] Re: Synchronizing between different Cloud Sql tables with GooglePubSub or TaskQueue

2017-05-31 Thread 'Yannick (Cloud Platform Support)' via Google App Engine
Thank you for those clarifications. About using Cloud Pub/Sub with App Engine, there would only be a single push subscription endpoint per service of your application, not one per instance. That is because unless yo

[google-appengine] Re: Migrating from Python 2.5 to 2.7

2017-05-31 Thread 'Yannick (Cloud Platform Support)' via Google App Engine
Hey there and welcome. Note that this forum is intended for general discussion on App Engine and that the best way to get answers to your specific technical questions is to post them to Stack Overflow using appropriate tags from the list of tags

[google-appengine] Re: Google Appengine SSL certificates - "The SSL certificate provided could not be inserted", tried everything!

2017-05-31 Thread Garth Bannister
Hi Thanks for your reply! I know about the various options of SSL at Cloudflare. I will use full (strict) which means SSL all the way to my server and back to the user. I will not use flexible. Google's DDoS protection is just blacklisting while Cloudflare offers real protection. For the cert,

[google-appengine] Cron doesn't start

2017-05-31 Thread Shachar Grembek
Hi, I am running an App Engine Standard environment and trying to se cron scheduled tasks. I've created the cron.xml (alongside the web.xml) and went by the guide in the following link: https://cloud.google.com/appengine/docs/standard/java/config/cron However, I don't see the cron start (both i

Re: [google-appengine] Re: GAE Flex PHP env better logging format

2017-05-31 Thread Yao Li
I tried Monolog and it is super fast (stdout in example), but it has logging line by line and no severity, time and status code info like original gcloud logging under one request, is there any way to achieve that with Monolog? On Tuesday, May 30, 2017 at 11:24:01 PM UTC-7, Takashi Matsuo (Goog

Re: [google-appengine] Re: GAE Flex PHP env better logging format

2017-05-31 Thread Yao Li
I tested PsrBatchLogger with the example code in the doc, but it complains: PHP message: [ERROR] PHP Exception: No project ID was provided, and we were unable to detect a default project ID. Stack Trace: #0 /app/vendor/google/cloud-core/ClientTrait.php(81): Google\Cloud\Logging\LoggingClient->de

Re: [google-appengine] Re: GAE Flex PHP env better logging format

2017-05-31 Thread Yao Li
I fixed the project id issue for PsrBatchLogger, but it always create 499 error when make api call. On Wednesday, May 31, 2017 at 4:55:09 PM UTC-7, Yao Li wrote: > > I tried Monolog and it is super fast (stdout in example), but it has > logging line by line and no severity, time and status code

Re: [google-appengine] Re: GAE Flex PHP env better logging format

2017-05-31 Thread 'Takashi Matsuo' via Google App Engine
Hi Yao, Few questions, Is the 499 error happening on App Engine Flex? Can you share the reproducible project (like zip files)? Can you share the logs with me? Hopefully can you invite me to your project as a viewer so that I can check the logs? On Wed, May 31, 2017 at 10:45 PM Yao Li wrote: