Re: [google-appengine] Re: app.yaml resources suggestions for static hosting

2017-07-26 Thread A. Kong
With the google cloud storage option to serve static files, what is the best way to manage it with the local development environment? Background: I am thinking of switching from standard to flex environment. I am using python runtime, so the switch can let me to switch from python 2.7 to

Re: [google-appengine] Re: app.yaml resources suggestions for static hosting

2017-07-26 Thread A. Kong
With the google cloud storage option to serve static files, what is the best way to manage it with the local development environment? Background: I am thinking of switch from standard to flex environment using python. I use webpack to emit a final bundled javascript. In a standard environment

[google-appengine] Re: Logging for long running processes ?

2017-07-26 Thread Richard
Unfortunately not ... I am hoping Jeff Schnitzer or some other knowledgeable person chimes in :) On Wednesday, July 26, 2017 at 3:14:58 PM UTC-4, Evan Jones wrote: > > I hope this helps, > >> >> -- You received this message because you are subscribed to the Google Groups "Google App Engine"

[google-appengine] Re: Wordpress in Appengine

2017-07-26 Thread 'Kenworth (Google Cloud Platform)' via Google App Engine
Out of curiosity, is your project-id literally is "projectid" and your instance "myinstance"? If not please email both project-id and the name of the instance you are trying to establish connection. Include sanitized relevant logs, if any. -- You received this message because you are

[google-appengine] Re: Stability of Java 8 on Standard Environment

2017-07-26 Thread 'Kenworth (Google Cloud Platform)' via Google App Engine
@James I can see that you are already getting responses from my colleague(s) on GitHub , you can continue troubleshooting on your GitHub thread or any

[google-appengine] Wordpress in Appengine

2017-07-26 Thread centrumX Online
Hi, I have an issue about connecting the cloud sql database (second generation). The error connection said: we can’t contact the database server at :/cloudsql/projectid:us-central1:myinstance. I defined in wp-config.php: define('DB_HOST', ':/cloudsql/projectid:us-central1:myinstance');

[google-appengine] Re: Disaster Recovery(App Engine) - Multi Region

2017-07-26 Thread 'Yannick (Cloud Platform Support)' via Google App Engine
Hello Andy, I did some more research and the consensus is that at this time this really cannot be done with App Engine, flexible or standard, as this use case goes against the design goals of App Engine and is not supported. The main selling point of App Engine is that it will automatically

[google-appengine] Re: Logging for long running processes ?

2017-07-26 Thread Evan Jones
I'll assume this is App Engine Standard, running on a "backend" instance. I have a bunch of things that do something similar, and to get the logs to look sensible in the logs viewer, I start a new background thread to do the work about once a minute. The logs get attached to the "start time" of

[google-appengine] Re: Logging in local sever (dev server) & Intellij

2017-07-26 Thread 'George (Cloud Platform Support)' via Google App Engine
When you execute a local configuration, IntelliJ IDEA, among other things, starts the server. Configurations are stored and managed by IntelliJ, not the server. The app engine server is listed among the supported ones. You should be able to reach your goals reading the downloadable manual. --

[google-appengine] Logging for long running processes ?

2017-07-26 Thread Richard
In the old days, I had a backend that ran 24/7 as the master server for a multiplayer game. As part of this, I would log misc information every 30 secs or so. This was all displayed in a single log entry in the old log viewer and worked well. Enter stackdriver :( Now I get the first 3-4

[google-appengine] Re: Stability of Java 8 on Standard Environment

2017-07-26 Thread Christian Maan
Ah, I just found your issue on github and was writing up a reply with the same workaround. Automagic authentication does not work in a plain java thread pool, to avoid `UNAUTHENTICATED` errors you would need to use a PubSub client with explicit credentials, e.g.: ```

Re: [google-appengine] Re: new java sdk?

2017-07-26 Thread Wilson MacGyver
Thanks. I was curious because I'm more used to go sdk behind in version number, not java. On Wed, Jul 26, 2017 at 10:13 AM 'George (Cloud Platform Support)' via Google App Engine wrote: > Hi Mac, > > The current SDK for Java is 1.9.54 - 2017-06-09. It has been

[google-appengine] Re: Stability of Java 8 on Standard Environment

2017-07-26 Thread James Baldassari
Kenworth, Christian: I've posted reports of this issue in a few different places: https://github.com/GoogleCloudPlatform/google-cloud-java/issues/2275 https://stackoverflow.com/questions/45330377/pubsub-in-app-engine-standard-java-8-nullpointerexception-at-apiproxyimplcurre

[google-appengine] Re: Stability of Java 8 on Standard Environment

2017-07-26 Thread James Baldassari
Christian, thanks for that interesting (and kind of scary) work-around ( https://gist.github.com/cmaan/7752e3c4fd0b1ba90a745cb6db232206). I was having the same problem but with the PubSub client rather than the Spanner client. By switching the thread factory I was able to avoid the NPE at

[google-appengine] Re: new java sdk?

2017-07-26 Thread 'George (Cloud Platform Support)' via Google App Engine
Hi Mac, The current SDK for Java is 1.9.54 - 2017-06-09. It has been released fairly recently, as you may check on the download page . These releases are quite important and with far-reaching consequences, not the kind of detail

[google-appengine] Re: Disaster Recovery(App Engine) - Multi Region

2017-07-26 Thread andy
Hi Yannick, Thank you so much for the response. The links you have shared is more to do with Compute (as u have already mention). Our mandate is to deploy the application in "App Engine" (we can use a combination of standard & flex), and it should be resistant to regional failures (should

[google-appengine] Re: An application to help you build up the cloud application on GAE

2017-07-26 Thread Wei Chen
Welcome to the Cloud Application Factory In these days, cloud applications become more and more popular. Through cost reduction, greater flexibility, elasticity and optimal resource utilization, a lot of company tend to transfer their traditional application on the cloud. Meantime there emerge