[google-appengine] Re: App Engine App cannot connect to Cloud SQL instance

2017-04-25 Thread 'George (Cloud Platform Support)' via Google App Engine
Szia Karoly, Assuming you have taken care of this already, just an extra sanity check here: you have to add your MySQL credential to dev_appserver.py like: dev_appserver.py [root folder of web2py] --mysql_user=[mysql user] --mysql_password=[mysql password] . -- You received this message beca

[google-appengine] Re: App Engine App cannot connect to Cloud SQL instance

2017-04-25 Thread Karoly Kantor
No i haven' done that. Are we onto something? :-) This might be very newbie, but I thought dev_appserver is for local development and it has nothing to do with the environment in the cloud. What should I read to understand this concept? For now, as I started out with datastore and trying out SQ

[google-appengine] Re: gcloud vs. goapp for GO appengine

2017-04-25 Thread Michael Amie
Tim, You are not insane. I have noticed this as well w/ respect to the missing executable bit set on at least one of the goapps (and if I recall correctly, when I looked into this a month or so ago), several other scripts / binaries weren't set to executable as well, post-installation. As you

[google-appengine] Gmail Pop-up window: An application is requesting permission to access your Google Account

2017-04-25 Thread Brecht Ameije
Every time I open my gmail in Chrome, a pop-up window is opened. The question asked is "An application is requesting permission to access your Google Account. Allow?" I have no idea which application is meant. Any ideas? It seems totally fake, but the url looks thrustworthy. I'd rather not clic

[google-appengine] Re: Maven error on app-engine 1.9.22

2017-04-25 Thread sahil nagpal
It is not resolved for my side , Tim - please help -- 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+unsubscr...@googlegroups.com. To post t

[google-appengine] Re: App Engine App cannot connect to Cloud SQL instance

2017-04-25 Thread 'George (Cloud Platform Support)' via Google App Engine
You are right, the configuration is for the local development server. The best would be to send me the code of your app and whatever information is needed to be able to reproduce the issue on this side. To maintain confidentiality, you can do this via private email (You can use the topmost opti

[google-appengine] Re: App Engine App cannot connect to Cloud SQL instance

2017-04-25 Thread Karoly Kantor
Dear George, Actually, I am using the open source web2py framework ( www.web2py.com ), and the relevant part of my own code is one line only: db = DAL('google:sql://myprojectname-project:europe-west1:instance-2ndgen-1/mysql') This should connect to the data base and create a DAL object for me

[google-appengine] Re: App Engine App cannot connect to Cloud SQL instance

2017-04-25 Thread Karoly Kantor
The myprojectname-project vs myprojectname discrepancy is something I only made here, it's not there in the code... No way to edit a post here :-( On Tuesday, April 25, 2017 at 5:22:08 PM UTC+2, Karoly Kantor wrote: > > Dear George, > > Actually, I am using the open source web2py framework ( ww

Re: [google-appengine] App Engine Flex Environment PHP Runtime document root not found

2017-04-25 Thread Yao Li
Hi Takashi, This instruction is only about Logging, doesn't include memcache, right? On Monday, April 24, 2017 at 9:31:54 PM UTC-7, Takashi Matsuo (Google) wrote: > > Hi Yao, > Alright, I've just sent you the instructions. > > Thanks! > > On Mon, Apr 24, 2017 at 9:17 PM Yao Li > > wrote: > >> Y

Re: [google-appengine] App Engine Flex Environment PHP Runtime document root not found

2017-04-25 Thread 'Takashi Matsuo' via Google App Engine
Hi Yao, Yes, you are right. On Tue, Apr 25, 2017, 8:39 AM Yao Li wrote: > Hi Takashi, > > This instruction is only about Logging, doesn't include memcache, right? > > > On Monday, April 24, 2017 at 9:31:54 PM UTC-7, Takashi Matsuo (Google) > wrote: > >> Hi Yao, >> > Alright, I've just sent you

[google-appengine] Re: Gmail Pop-up window: An application is requesting permission to access your Google Account

2017-04-25 Thread 'Jordan (Cloud Platform Support)' via Google App Engine
To clarify, the 'https://appengine.google.com/_ah/loginform ' URL seen in the source is just the actual Google log in consent popup you took a picture of, and not the actual application that is attempting to access your email. The actual applicatio

Re: [google-appengine] App Engine Flex Environment PHP Runtime document root not found

2017-04-25 Thread Yao Li
Hi Takashi, Could you ask Justin to send me a test (alpha) version including memcache? As the doc, Redis Lab Memcache supports memcached, not memcache. https://cloud.google.com/appengine/docs/flexible/php/using-redislabs-memcache On Tuesday, April 25, 2017 at 8:42:17 AM UTC-7, Takashi Matsuo (Go

[google-appengine] Re: App Engine App cannot connect to Cloud SQL instance

2017-04-25 Thread 'George (Cloud Platform Support)' via Google App Engine
You can edit your posting from the same drop-down menu mentioned, under the reply button. I have actually modified your project name in your post, as desired. Testing connections to your instance-2ndgen-1 is not feasible at the moment, as it is stopped: the developers' console indicates: "This

Re: [google-appengine] Re: gcloud vs. goapp for GO appengine

2017-04-25 Thread 'Justin Beckwith' via Google App Engine
Hey folks, Apologies for the confusion. Here's what's happening. *We are trying to move towards a single Cloud SDK install.* At the same time, we're trying not to break the existing App Engine SDK downloads. We are headed towards a future (not far away) where everything gets wrapped up into htt

Re: [google-appengine] App Engine Flex Environment PHP Runtime document root not found

2017-04-25 Thread 'Takashi Matsuo' via Google App Engine
Hi Yao, I asked a PM who is responsible for it (it turned out it's not Justin). I will reply you off-thread. On Tue, Apr 25, 2017 at 9:25 AM Yao Li wrote: > Hi Takashi, > > Could you ask Justin to send me a test (alpha) version including memcache? > > As the doc, Redis Lab Memcache supports mem

Re: [google-appengine] Re: gcloud vs. goapp for GO appengine

2017-04-25 Thread Wilson MacGyver
I'm concerned about the one tool fits all approach. It'd be one thing of the "single tool" gcloud is just a thin wrapper to automatically download and configure each component as needed. What I'm afraid of is unnecessary dependency. Ie, the latest go GAE sdk is being hold up by the latest gccloud r

Re: [google-appengine] Re: gcloud vs. goapp for GO appengine

2017-04-25 Thread 'Justin Beckwith' via Google App Engine
Great feedback! To a few points: I've been very happy with the java tool chain where it integrate perfectly > into existing JVM build tools via plugins for mvn and gradle. I'm not sure > what gcloud tool brings to the table. I should have mentioned this - those aren't going anywhere. All of th

Re: [google-appengine] Re: gcloud vs. goapp for GO appengine

2017-04-25 Thread Wilson MacGyver
ah ok. I'm glad to hear mvn/gradle plugins aren't going anywhere. seamless integration with the ecosystem's popular build system is something I've always liked about the GAE approach. as for goapp vs gcloud, currently I'm concerned about reproducible build. goapp is a single tool with its own go

Re: [google-appengine] Temporary storage of data bigger than 1 Mega

2017-04-25 Thread 'Nick (Cloud Platform Support)' via Google App Engine
While using the Flexible Environment or a dedicated Compute Engine instance would probably be the simplest solution, you may also consider (if committed to using the Standard Environment of App Engine) breaking up the file into several pieces are storing these in Memcache, maintaining their fre

[google-appengine] Re: App Engine App cannot connect to Cloud SQL instance

2017-04-25 Thread Karoly Kantor
Thanks again for your time. I really appreciate it. - I have stopped instance-2ndgen-1 to save cost as it was unused, it is restarted now. - I have attempted to connect to it with and without the region name, but none of those attempts worked. That's why you probably see the last attempt with

[google-appengine] Re: AppEngine Custom Domain Cannot Be Reached By Some Operators

2017-04-25 Thread 'Jun (Cloud Platform Support)' via Google App Engine
Hi Tolga, Thanks for the clarification, and I suggest that the Vodafone support should be the best channel that you ask assistance for this issue given the following fact: - There is no issue accessing your app using your custom domain or *appspot.com through the n

Re: [google-appengine] Re: gcloud vs. goapp for GO appengine

2017-04-25 Thread David Komer
Fwiw I just jumped onto windows and can't remember how I had things setup on my osx box :\ To get things working as expected in VSCode, and without installing go1.6 along with google cloud sdk (e.g. goapp), I ended up having to do the following: 1) Copy goapp.bat to go.bat (maybe a shortcut wo

Re: [google-appengine] App Engine Flex Environment PHP Runtime document root not found

2017-04-25 Thread Yao Li
Hi Takashi, I installed New Relic Agent in custom php-nginx docker image but it doesn't show any data and I'm investigating it. Is there a way to do restart (nginx, php-fpm, httpd, etc.) and ls (look up new relic extension in specific directory) in GAE Flex env? Right now I make a new image an

Re: [google-appengine] App Engine Flex Environment PHP Runtime document root not found

2017-04-25 Thread 'Takashi Matsuo' via Google App Engine
Hi Yao, You can ssh into the VM; Go to the Cloud Console, and App Engine -> instances -> ssh. Once ssh into it, you can go into the docker container: ``` sudo docker exec -t -i gaeapp /bin/bash ``` Then you can restart everything in the Docker container by: ``` kill -HUP 1 ``` On Tue, Apr 25,

Re: [google-appengine] App Engine Flex Environment PHP Runtime document root not found

2017-04-25 Thread Yao Li
I cannot find ssh button (as top right corner in screenshot), is it because of permission or some other reason? On Tuesday, Apr

Re: [google-appengine] Re: gcloud vs. goapp for GO appengine

2017-04-25 Thread Michael Amie
For what it's worth, I like the move to roll everything into a set of modules for the Cloud SDK you install via it vs separate random tarballs you download, but the problem was I could never figure out how to get the new stuff working, while all the old stuff works at was at least matching a lo

[google-appengine] How to create a consistent backup of the datastore?

2017-04-25 Thread Attila-Mihaly Balazs
Lets assume that I have a "properly" written AppEngine application (writes to the datastore are wrapped into transactions, tasks are put in the task queue and retried, etc) and I want to make a "consistent" backup (ie. I don't want half-committed transactions in the backup). The documentation [

[google-appengine] Re: Uploading large image files and video to Google Cloud Storage

2017-04-25 Thread Attila-Mihaly Balazs
Just a quick note: we're using FileStack for the uploads (https://www.filestack.com/) and it works pretty well - they have a Google Storage integration and I do believe they also have a mobile solution (though we're not using that ATM). My only gripe is that they require "storage admin" access