[google-appengine] Did google change/update related to vm ssl connections to Cloud SQL?

2015-06-07 Thread Cloud_SQL_Changed?
*Google Cloud* *SQL* *down*?

At 1am ET my VM connection to Cloud *SQL* over SSL decided to stop 
connecting and will not allow a connection.

Did google make changes/updates?

Has been working fine, no changes, then BAM! Won't connect to 

Getting: Warning: mysqli_real_connect(): (HY000/2026): SSL connection error 
.


-- 
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 to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b287d9e7-c8cc-4d83-90ec-7ebd72844e10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] JSON API for DataStore

2015-06-07 Thread 'Alex Martelli' via Google App Engine
For authentication, as in any other language, you start by setting up your
shell environment: see e.g
https://cloud.google.com/datastore/docs/getstarted/start_ruby/?hl=ja#service-account
-- `export DATASTORE_SERVICE_ACCOUNT=service-account-email` and so on.

Then, the API reference is at
https://cloud.google.com/datastore/docs/apis/v1beta2/?hl=ja (not dependent
on programming language or libraries).

For example, to create an entity , you need to
POST to https://www.googleapis.com/datastore/v1beta2/datasets/datasetId
/commit
as documented at
https://cloud.google.com/datastore/docs/apis/v1beta2/datasets/commit?hl=ja .


Alex

On Sat, Jun 6, 2015 at 8:59 PM, Neil Rao neilra...@gmail.com wrote:

 I've been painfully trying to run my C# app with docker on app engine.
 It's nice that google supports docker, but what's the point if I can't
 access any app engine services?

 Anyway I've been trying to access datastore via the JSON API (since I
 cannot use Google's .NET libraries with the new CoreCLR). I can't figure
 out how to authenticate requests. Is there a guide somewhere on adding and
 querying simple entities via the JSON API (without relying on any Google
 libraries)?

 --
 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 to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/5085c0e2-d678-48d4-8f84-f54530c99e19%40googlegroups.com
 .
 For more options, visit https://groups.google.com/d/optout.


-- 
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 to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAE46Be-gaUrMPubKpdSQQcDBV%2BTynmyWeEGguJ8dAvwH4WU_Zw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Is there a maximum number of service accounts that a project can have in the google cloud platform?

2015-06-07 Thread Kunal
Can someone from Google please respond to this?

On Thursday, 22 January 2015 19:46:46 UTC+5:30, Alden Jole wrote:

 I'd like to dynamically generate service accounts/clients and there is a 
 possibility that I would generate a lot of them. Is there a maximum number 
 of client ids / service accounts that a google cloud platform project can 
 have?


-- 
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 to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/1f2e967e-464e-496c-aadf-47420ebe4b4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: 400 Error when trying to deploy the Node.js helloworld app to appengine

2015-06-07 Thread Seth Thompson
Hi all,

We just submitted a fix for the opaque 400 error messages.  Now, gcloud 
will return the full body of the 400 error which should give you a bit more 
diagnostic information about why the deploy was failing (for example, by 
noting that billing is not enabled).

The change will be shipped in the Cloud SDK release on June 17.

Sorry for the additional debugging time this caused.

Cheers,
Seth
Cloud SDK Team

On Thursday, June 4, 2015 at 9:55:44 AM UTC-7, Ryan (Cloud Platform 
Support) wrote:

 I'm glad that fixed the issue!

 On Thursday, June 4, 2015 at 12:52:31 PM UTC-4, Julien wrote:

 Thanks a lot for the help Ryan. 
 Even though it is supposed to be an optional configuration, I had to do 
 the following to fix the problem (from 
 http://docs.docker.com/installation/ubuntulinux/):

 To create the docker group and add your user:

1. 

Log into Ubuntu as a user with sudo privileges.

This procedure assumes you log in as the ubuntu user.
2. 

Create the docker group and add your user.

$ sudo usermod -aG docker ubuntu

3. 

Log out and log back in.

This ensures your user is running with the correct permissions.
4. 

Verify your work by running docker without sudo.

$ docker run hello-world



 On Tuesday, June 2, 2015 at 4:35:10 PM UTC+2, Ryan (Cloud Platform 
 Support) wrote:

 Looks like most of the issues have been resolved. I took away that the 
 error messages should be clearer. Please star this PIT 
 https://code.google.com/p/googleappengine/issues/detail?id=12013thanks=12013ts=1433255342
  
 to add your voice to the thread.

 On Tuesday, June 2, 2015 at 9:25:07 AM UTC-4, Danny Leshem wrote: 

 Apparently the issue (at least in our case) was that billing was not 
 enabled for the GCP project.

 Our bad! (though it would be helpful if the error message was more 
 informative)

 On Monday, June 1, 2015 at 10:12:55 PM UTC+3, Ryan (Cloud Platform 
 Support) wrote:

 @*Julien You need to setup your environment variables. You need to 
 set all 3 for it to work. Here are some links:*

 *https://groups.google.com/forum/#!topic/google-appengine-stackoverflow/mz1ugDxKZPU
  
 https://groups.google.com/forum/#!topic/google-appengine-stackoverflow/mz1ugDxKZPU*
 *http://stackoverflow.com/questions/26842682/dockerdaemonconnectionerror-when-setting-google-cloud-managed-vm-in-ubuntu
  
 http://stackoverflow.com/questions/26842682/dockerdaemonconnectionerror-when-setting-google-cloud-managed-vm-in-ubuntu*
 *http://stackoverflow.com/questions/27118022/how-to-use-gcloud-preview-app-run-without-boot2docker
  
 http://stackoverflow.com/questions/27118022/how-to-use-gcloud-preview-app-run-without-boot2docker*


 On Monday, June 1, 2015 at 8:05:04 AM UTC-4, Julien wrote:

 *Last week I was getting the following:*
 gcloud preview app deploy app.yaml --set-default
 You are about to deploy the following modules:
  - academic-torch-95915/default/20150529t102149  From: 
 [/home/julien/1-hello-world/app.yaml]
 Do you want to continue (Y/n)?  y

 ERROR: (gcloud.preview.app.deploy) Server responded with code [400]:
   Bad Request Unexpected HTTP status 400


 *But since today I am getting this:*
 gcloud --verbosity debug preview app deploy app.yaml --set-default
 DEBUG: Running gcloud.preview.app.deploy with 
 Namespace(__calliope_internal_deepest_parser=ArgumentParser(prog='gcloud.preview.app.deploy',
  
 usage=None, description=*(BETA)* This command is used to deploy both 
 code 
 and configuration to the App Engine\nserver.  As an input it takes one 
 or 
 more ``DEPLOYABLES'' that should be\nuploaded.  A ``DEPLOYABLE'' can be 
 a 
 module's .yaml file or a configuration's\n.yaml file., version=None, 
 formatter_class=class 'argparse.HelpFormatter', 
 conflict_handler='error', 
 add_help=False), cmd_func=bound method Command.Run of 
 googlecloudsdk.calliope.backend.Command object at 0x7fcce2105d90, 
 command_path=['gcloud', 'preview', 'app', 'deploy'], 
 deployables=['app.yaml'], document=None, env_vars=None, force=False, 
 format=None, h=None, help=None, http_timeout=None, log_http=None, 
 markdown=None, project=None, quiet=None, remote=False, server=None, 
 set_default=True, trace_token=None, user_output_enabled=None, 
 verbosity='debug', version=None).
 You are about to deploy the following modules:
  - academic-torch-95915/default/20150601t140217  From: 
 [/home/julien/1-hello-world/app.yaml]
 Do you want to continue (Y/n)?  Y

 DEBUG: Host: appengine.google.com
 DEBUG: _Authenticate configuring auth; needs_auth=False
 DEBUG: Sending request to 
 https://appengine.google.com/api/vms/prepare?app_id=academic-torch-95915 
 headers={'X-appcfg-api-version': '1', 'content-length': '0', 
 'Content-Type': 'application/octet-stream'} body=
 INFO: Attempting refresh to obtain initial access_token
 INFO: Refreshing access_token
 DEBUG: Got response: {bucket: 
 vm-containers.academic-torch-95915.appspot.com, path: /containers}

 INFO: 

[google-appengine] updae python to 2.7

2015-06-07 Thread mohamed hassan
Hello ,

I am using google cmpute engine and i installed cpanel on it using SSH and 
when i tried to get python version on it i found that it is 2.6.6 and i 
need to install google app engine sdk on it so i need it to be 2.7 so 
please can you tell me how can i update it to 2.7 using SSH .

Thanks .

-- 
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 to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/24d75d67-5392-4e34-9b4b-1227e7699ac0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] updae python to 2.7

2015-06-07 Thread 'Alex Martelli' via Google App Engine
It depends entirely on the operating system image you choose to run on
your compute engine instance. There are many, as listed at
https://cloud.google.com/compute/docs/operating-systems/ , and you don't
tell us which one you chose, thus making it impossible for us to help you.

In general, to install/update OS components, you SSH into your instance,
then run a command depending entirely on the operating system you're
running -- *exactly* like you would do if the OS was running on a physical
machine. For example, if the OS you chose is debian, the command would be
apt-get -- see e.g http://linux.die.net/man/8/apt-get -- no matter whether
you're running debian on GCE, on your workstation, or whatever.


Alex


On Sun, Jun 7, 2015 at 4:04 AM, mohamed hassan mohamedhassan2...@gmail.com
wrote:

 Hello ,

 I am using google cmpute engine and i installed cpanel on it using SSH and
 when i tried to get python version on it i found that it is 2.6.6 and i
 need to install google app engine sdk on it so i need it to be 2.7 so
 please can you tell me how can i update it to 2.7 using SSH .

 Thanks .

 --
 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 to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/24d75d67-5392-4e34-9b4b-1227e7699ac0%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/24d75d67-5392-4e34-9b4b-1227e7699ac0%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.


-- 
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 to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAE46Be-6c%3DxLTqEtkSzwU2YJNdHvtRxpiCL1qLtzigZPSWBN3w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Inplementing GCM XMPP on Google App Engine

2015-06-07 Thread 'Alex Martelli' via Google App Engine
According to https://developers.google.com/cloud-messaging/server#role ,
and I quote,


   - Note that Google AppEngine does not support connections to XMPP (CCS).


I currently see no documentation there indicating any difference for 3.0.

Thus, it does appear that GCE is the right platform for this purpose.


Alex


On Fri, Jun 5, 2015 at 11:27 PM, Al Hennessey alhennesse...@gmail.com
wrote:

 i am building a cross platform (ios, android) messaging app and was going
 to use google cloud messaging through google app engine to handle the
 messages, however i wanted to implement the CCS(XMPP) protocol of GCM
 rather than the HTTP, however i have heard that GAE does not support GCM
 CCS, is this still the case with GCM 3.0, or should i look at implementing
 it on google compute engine instead?

 Thanks for the 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 to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/d47308fb-5264-45ad-928c-9c620356ebdd%40googlegroups.com
 .
 For more options, visit https://groups.google.com/d/optout.


-- 
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 to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAE46Be-4_X0sKPZEy-ZVTvf%3DgcaseTSRko59RsdGz4fc-XbOMQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Datastore Admin Issue - Backup - Namespaces

2015-06-07 Thread Aswath Satrasala
Hi Patrice,

A request for enhancement.   Doing cron is fine, however, it is still
a workaround.  It can be done in the Datastore Viewer style.  Please
give a suggestbox style, instead of listing 250 namespaces, as this
not really useful, if you are dealing with large namespaces.

I have updated the issue also.

My humble request to the appengine team.  Please treat namespaces on
par with default namespace.  It should be supported in all tools and
utilities with the same ease as the default namespace.

On the same topic of namespaces, I just wanted to say that production
apps experience difficulties because of the namespaces not supported
well in all parts of the appengine.  The biggest hurdle is in doing
the migration/scheme change for the entities.  Mapreduce lacks
documentation for namespaces with no clear examples to handle large
number namespaces.  If anyone has done mapreduce for large number of
namespaces, request to share tips or examples.

Continuing..  I don't know much about Google Cloud Dataflow, does
Google Cloud dataflow support namespaces?

Thanks a lot.
Aswath
www.AccountingGuru.net.



On Wed, Jun 3, 2015 at 11:32 PM, Patrice (Cloud Platform Support)
pvoutsi...@google.com wrote:

 Hi again,

 So, as you can see on the linked issue, this is actually expected behavior, 
 to make sure that the query retrieving your namespaces doesn't time out, we 
 limit the results.

 If you need to have a namespace backed up that you cannot find, you will have 
 to use cron jobs for scheduled backups.

 Cheers!


 On Wednesday, June 3, 2015 at 10:47:55 AM UTC-4, Patrice (Cloud Platform 
 Support) wrote:

 Hi Alejandro,

 thank you for letting me know. See that makes a little bit more sense that 
 it simply shows the first X. Not exactly expected behavior, but more logical 
 than what I thought was happening at first.

 In any case, that seems to be a defect within the admin console. I therefore 
 went ahead and created this issue, as the proper place to report defects is 
 the public issue tracker.

 I would suggest for you two to star the issue so you can get updated when 
 there`s progress.

 Cheers!

 On Wednesday, June 3, 2015 at 4:40:05 AM UTC-4, Alejandro Gonzalez wrote:

 Hello Patrice,

 I checked this, and i have the same problem as Aswath. I have an 
 application with a lot of namespaces, and the namespace dropdown is only 
 showing the first 250 namespaces. For the round number it seems like there 
 is a limit on the number of namespaces displayed.

 Thanks.
 Alejandro.



 2015-06-03 9:29 GMT+02:00 Aswath Satrasala aswath.satras...@gmail.com:

 Hello,
 My appid: accountingguru-india
 Namespace: sarahfoodspvtltd-kumarharikant-sarahfoods.com


 The kinds, I want to backup are in that namespace, but I could have 
 selected other kinds also (in the previous screen), that may not yet be in 
 that namespace.

 A whole bunch of namespaces are missing in the dropdown selection.  The 
 namespaces starting after 'BIS..' are not displayed.
 Attached is the screen shot, of the namespace dropdown selection

 -Aswath
 www.AccountingGuru.net





 On Tue, Jun 2, 2015 at 7:52 PM, Patrice (Cloud Platform Support) 
 pvoutsi...@google.com wrote:

 Hi Aswath.

 We'd need a bit more details to be able to help you here.

 Are you sure that the namespace you want to backup isn't part of another 
 application's datastore? Are the kinds you are backing up in that 
 namespace?

 I've tried different combinations, and everything seemed to have worked 
 fine. If you could add print screens, both showing that the kinds are in 
 the requested namespace, and of the page not showing you the namespace, 
 it would be helpful in troubleshooting further

 Cheers


 On Tuesday, June 2, 2015 at 8:14:58 AM UTC-4, aswath wrote:

 Hello,
 I am trying to do backup of a Namespace, however, I cannot select the 
 namespace.
 I am doing the following in the appengine console (old)
 * Click on the Datastore Admin
 * Select the KINDS
 * Click on the 'Backup Entities'
 * In the next screen, I am trying to choose the namespace.  However, 
 there are only few namespaces displayed. I cannot select the namespace, 
 I wanted.

 -Aswath
 www.AccountingGuru.net.


 --
 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 to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/google-appengine/CAKFF5G5wRCY_t4xwSz-P_Fxhv2r6sQ%3DoUTj-8UvGNOuC814rXA%40mail.gmail.com.

 For more options, visit https://groups.google.com/d/optout.


 --
 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 
 

[google-appengine] Re: 400 Error when trying to deploy the Node.js helloworld app to appengine

2015-06-07 Thread László Borsos
I enabled billing, but I still get the error on deploy. I cannot determine 
the location for my project. The app runs fine locally.

-- 
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 to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c7189747-910a-44f2-827e-9bf8549ba187%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: 400 Error when trying to deploy the Node.js helloworld app to appengine

2015-06-07 Thread László Borsos
Ultimately it succeeded after re-running

gcloud auth login

It may be needed again after billing is enabled, or I simply got lucky.



On Monday, June 8, 2015 at 7:10:43 AM UTC+2, László Borsos wrote:

 I enabled billing, but I still get the error on deploy. I cannot determine 
 the location for my project. The app runs fine locally.


-- 
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 to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a5adfd59-74f4-4172-b1b3-c6cc90db6109%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.