[google-appengine] Using GAE Cron to send mails daily

2014-08-11 Thread 許吉宏
Hi There,
 Has anyone ever used GAE Cron to send mails daily ? I used GAE Mail API 
(CreateAuthorizedService('gmail', 'v1') ) to send a mail by Cron daily.
Unfortunately , I never got one but Corn logs said it was successfully. 
I tested copied all codes to normal .py file and executed it , it worked 
perfecly and I could get the mail . 
Does anyone know where is wrong with GAE Cron ? Thank you .


Regards,
Aoyii

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] (memcache) TransientFailureException: Queue statistics temporarily unavailable

2014-08-11 Thread Giuseppe Iuculano
Hi,

starting from today we have this exception when using memcache: 

/getChannels
com.google.appengine.api.taskqueue.TransientFailureException: Queue statistics 
temporarily unavailable
at 
com.google.appengine.api.taskqueue.QueueStatistics$1.wrap(QueueStatistics.java:146)
at 
com.google.appengine.api.taskqueue.QueueStatistics$1.wrap(QueueStatistics.java:134)
at 
com.google.appengine.api.utils.FutureWrapper.wrapAndCache(FutureWrapper.java:55)
at 
com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:92)
at 
com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:88)
at 
com.google.appengine.api.taskqueue.QueueApiHelper.getInternal(QueueApiHelper.java:72)
at 
com.google.appengine.api.taskqueue.QueueImpl.fetchStatistics(QueueImpl.java:940)


What is it?

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Monitoring app engine performance for gae apps

2014-08-11 Thread Shaun Juncal
We just launched our GAE platform monitor, HawkEye, in free public beta, 
and we would love you feedback!

https://portal.appscale.com 

Is GAE platform performance for your app something that matters to you? 
Have you built your own solution for monitoring the performance of your key 
APIs? I'd love to hear your feedback/insight.

Thanks!

Shaun Juncal | AppScale

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Where is the default GCS Bucket?

2014-08-11 Thread Bentley Carr
Hey,
I don't seem to be able to access the default GCS bucket in an app I'm 
creating.
It works fine on the development server but not on Google App Engine.

This 

 
says that the default GCS bucket is .appspot.com and is displayed 
in the App Engine Admin console Application Settings page, under the label 
Google Cloud Storage Bucket but my settings doesn't have a subheading 
"Google Cloud Storage Bucket", it just looks like this:



It also says I can get the default bucket by 
app_identity.get_default_gcs_bucket_name() but that returns None. (I'm 
using Python.)

Does anyone know how to fix this? Any help would be much appreciated.
-Bentley

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: HTTPS as a ranking signal

2014-08-11 Thread Doug Anderson
I hadn't heard about Google Domains until I read it here... it does look 
very promising... I would also consider moving away from GoDaddy.  I found 
this particularly encouraging... (I imagine comparable App Engine support 
for paid Apps is more difficult to implement???)
Support

With Google Domains, you get phone and email support (M-F, 9am to 9pm EST).

On Friday, August 8, 2014 4:00:25 PM UTC-4, Jason Collins wrote:
>
> Re: 
> http://googlewebmastercentral.blogspot.ca/2014/08/https-as-ranking-signal.html
>
> Ok Google, now we most definitely need an API to manage custom domains, 
> mount certificates, and configure HTTPS hosting using an API without a 
> Google account requirement.
>
> Our Cloud Platform hosted products are whitelabelled, meaning people can 
> serve them on their own domain. As the world moves towards HTTPS-always, we 
> need a scaleable way for our customers to upload and configure their SSL 
> certificates fronting our products without our involvement - and without 
> requiring our customers to use a Google account.
>
> That is, we would like APIs that we can build our own user interfaces over 
> top to help our users through this typically frustrating setup experience.
>
> BTW, free SNI-based HTTPS termination was a huge step along the way 
> towards this vision - thanks for that!
>
> Thanks,
> j
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: HTTPS as a ranking signal

2014-08-11 Thread Doug Anderson
I wanted to share my recent partial success with naked domains... with the 
new cloud console "Custom Domains" you can map your naked non-SSL domain to 
your app.  After doing that... I detect the naked domain as part of my 
'require SSL' logic in the App and redirect to https://www.mydomain.com. 
 So now if someone types "mydomain.com" or "mydomain.com/anypath" in their 
browser it redirects to "https://www.mydomain.com/anypath";.  So the cloud 
console helps plug a hole left by the Google Apps alias domains.  The only 
thing I can't do now is map my SSL naked domain to my app but that is 
likely solvable with a wildcard SSL certificate (that I'm too cheap to pay 
for).


On Friday, August 8, 2014 4:00:25 PM UTC-4, Jason Collins wrote:
>
> Re: 
> http://googlewebmastercentral.blogspot.ca/2014/08/https-as-ranking-signal.html
>
> Ok Google, now we most definitely need an API to manage custom domains, 
> mount certificates, and configure HTTPS hosting using an API without a 
> Google account requirement.
>
> Our Cloud Platform hosted products are whitelabelled, meaning people can 
> serve them on their own domain. As the world moves towards HTTPS-always, we 
> need a scaleable way for our customers to upload and configure their SSL 
> certificates fronting our products without our involvement - and without 
> requiring our customers to use a Google account.
>
> That is, we would like APIs that we can build our own user interfaces over 
> top to help our users through this typically frustrating setup experience.
>
> BTW, free SNI-based HTTPS termination was a huge step along the way 
> towards this vision - thanks for that!
>
> Thanks,
> j
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Where is the default GCS Bucket?

2014-08-11 Thread Vinny P
On Sat, Aug 9, 2014 at 7:32 PM, Bentley Carr 
wrote:
>
>  It also says I can get the default bucket by
> app_identity.get_default_gcs_bucket_name() but that returns None. (I'm
> using Python.)
>
> Does anyone know how to fix this? Any help would be much appreciated
>

Can you go to appspot.com (the original App Engine console), open up your
application, then go to the Application Settings page (the link is on the
left hand nav bar) and scroll down? You'll see a Cloud Integration setting
similar to this: http://imgur.com/zD9DCOY  If you see a Create button or
similar, click it and wait 10-15 minutes. Then retry the call to
*get_default_gcs_bucket_name()*.


-
-Vinny P
Technology & Media Consultant
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: HTTPS as a ranking signal

2014-08-11 Thread Vinny P
On Mon, Aug 11, 2014 at 10:07 AM, Doug Anderson  wrote:

> I hadn't heard about Google Domains until I read it here... it does look
> very promising... I would also consider moving away from GoDaddy.  I found
> this particularly encouraging...
> Support With Google Domains, you get phone and email support (M-F, 9am to
> 9pm EST).
>

+1.

Plus GoDaddy charges for additional services such as private domain
registration, while Google Domains seems to offer it for free:
http://domains.google.com/about/features.html . That alone saves a nice
amount of money


-
-Vinny P
Technology & Media Consultant
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] (memcache) TransientFailureException: Queue statistics temporarily unavailable

2014-08-11 Thread Vinny P
On Sun, Aug 10, 2014 at 10:31 AM, Giuseppe Iuculano 
wrote:

> starting from today we have this exception when using memcache:
> com.google.appengine.api.taskqueue.TransientFailureException: Queue
> statistics temporarily unavailable. What is it?
>


Hi Giuseppe,

Are you still having this problem? Are you having this issue repeatedly, or
is it the first time you've seen it?

If this is the first time you've seen it, then the error is fairly
self-explanatory: there's a transient issue with the function you're
calling, and it should fix itself sooner or later. It happens occasionally
with a multitude of services; there's nothing to do but sit tight and
wait. If this issue continues to persist for a long time, or happens
repeatedly, then that's something that can be looked at.


-
-Vinny P
Technology & Media Consultant
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Using GAE Cron to send mails daily

2014-08-11 Thread Vinny P
On Sun, Aug 10, 2014 at 10:27 PM, 許吉宏 <2pythonwo...@gmail.com> wrote:

>   Has anyone ever used GAE Cron to send mails daily ? I used GAE Mail API
> (CreateAuthorizedService('gmail', 'v1') ) to send a mail by Cron daily.
> Unfortunately , I never got one but Corn logs said it was successfully.
> Does anyone know where is wrong with GAE Cron ?
>


You should be able to send emails via cron-initiated requests. Did you
check the application logs (under logging) *and* the cron success status
(under the Cron tab) for errors?


On Sun, Aug 10, 2014 at 10:27 PM, 許吉宏 <2pythonwo...@gmail.com> wrote:

>  I used GAE Mail API (CreateAuthorizedService('gmail', 'v1') )
>


Are you using the App Engine built-in mail API (
https://developers.google.com/appengine/docs/python/mail/ ) or the Gmail
API (
https://developers.google.com/gmail/api/auth/web-server#send_authorized_requests_and_check_for_revoked_credentials
)
?


 -
-Vinny P
Technology & Media Consultant
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Monitoring app engine performance for gae apps

2014-08-11 Thread Balázs Benedek
Hello,

Sounds like an interesting concept. Can you please write more info about 
the API, via which you ask access to the running Google App Engine 
application? 

Best,

Balazs


On Saturday, August 9, 2014 12:38:21 AM UTC+1, Shaun Juncal wrote:
>
> We just launched our GAE platform monitor, HawkEye, in free public beta, 
> and we would love you feedback!
>
> https://portal.appscale.com 
>
> Is GAE platform performance for your app something that matters to you? 
> Have you built your own solution for monitoring the performance of your key 
> APIs? I'd love to hear your feedback/insight.
>
> Thanks!
>
> Shaun Juncal | AppScale
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Using GAE Cron to send mails daily

2014-08-11 Thread 許吉宏
Hi Vinny,
   Yes , I'm using Gmail API and it works if I executes it manually . 
Moreover , on the Cron tab , it says running the job successfully . 
But on the application logs I got the information below . Any suggestion to 
solve it ? Thank you .

"This request caused a new process to be started for your application, and 
thus caused your application code to be loaded for the first time. This 
request may thus take longer and use more CPU than a typical request for 
your application" 

BR,
Aoyii

Vinny P於 2014年8月12日星期二UTC+8上午1時44分46秒寫道:
>
> On Sun, Aug 10, 2014 at 10:27 PM, 許吉宏 <2pytho...@gmail.com > 
> wrote:
>
>>   Has anyone ever used GAE Cron to send mails daily ? I used GAE Mail 
>> API (CreateAuthorizedService('gmail', 'v1') ) to send a mail by Cron daily.
>> Unfortunately , I never got one but Corn logs said it was successfully.  
>> Does anyone know where is wrong with GAE Cron ?
>>
>  
>  
> You should be able to send emails via cron-initiated requests. Did you 
> check the application logs (under logging) *and* the cron success status 
> (under the Cron tab) for errors? 
>  
>  
> On Sun, Aug 10, 2014 at 10:27 PM, 許吉宏 <2pytho...@gmail.com > 
> wrote:
>
>>  I used GAE Mail API (CreateAuthorizedService('gmail', 'v1') )
>>
>  
>  
> Are you using the App Engine built-in mail API ( 
> https://developers.google.com/appengine/docs/python/mail/ ) or the Gmail 
> API ( 
> https://developers.google.com/gmail/api/auth/web-server#send_authorized_requests_and_check_for_revoked_credentials
>  ) 
> ?
>
>  
>   -
>  -Vinny P
>  Technology & Media Consultant
>  Chicago, IL
>  
>  App Engine Code Samples: http://www.learntogoogleit.com
>   
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Using GAE Cron to send mails daily

2014-08-11 Thread PK
I am not sure what your problem is but I send e-mails initiated by cron 
requests all the time. 

PK
http://www.gae123.com

> On Aug 12, 2014, at 4:57 AM, 許吉宏 <2pythonwo...@gmail.com> wrote:
> 
> Hi Vinny,
>Yes , I'm using Gmail API and it works if I executes it manually . 
> Moreover , on the Cron tab , it says running the job successfully . 
> But on the application logs I got the information below . Any suggestion to 
> solve it ? Thank you .
> 
> "This request caused a new process to be started for your application, and 
> thus caused your application code to be loaded for the first time. This 
> request may thus take longer and use more CPU than a typical request for your 
> application" 
> 
> BR,
> Aoyii
> 
> Vinny P於 2014年8月12日星期二UTC+8上午1時44分46秒寫道:
>> 
>>> On Sun, Aug 10, 2014 at 10:27 PM, 許吉宏 <2pytho...@gmail.com> wrote:
>>>  Has anyone ever used GAE Cron to send mails daily ? I used GAE Mail API 
>>> (CreateAuthorizedService('gmail', 'v1') ) to send a mail by Cron daily.
>>> Unfortunately , I never got one but Corn logs said it was successfully.  
>>> Does anyone know where is wrong with GAE Cron ?
>>  
>>  
>> You should be able to send emails via cron-initiated requests. Did you check 
>> the application logs (under logging) and the cron success status (under the 
>> Cron tab) for errors?
>>  
>>  
>>> On Sun, Aug 10, 2014 at 10:27 PM, 許吉宏 <2pytho...@gmail.com> wrote:
>>> I used GAE Mail API (CreateAuthorizedService('gmail', 'v1') )
>>  
>>  
>> Are you using the App Engine built-in mail API ( 
>> https://developers.google.com/appengine/docs/python/mail/ ) or the Gmail API 
>> ( 
>> https://developers.google.com/gmail/api/auth/web-server#send_authorized_requests_and_check_for_revoked_credentials
>>  ) ?
>> 
>>  
>> -
>> -Vinny P
>> Technology & Media Consultant
>> Chicago, IL
>> 
>> App Engine Code Samples: http://www.learntogoogleit.com
> 
> -- 
> 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.
> 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.
For more options, visit https://groups.google.com/d/optout.