[google-appengine] Re: Rate Limit Exceeded

2015-08-17 Thread Ryan (Cloud Platform Support)
Salutations,

I took a look and the reason you cannot create a new project is that you 
have reached a limit of how many projects are allowed per user. To request 
that this limit is increased please fill out the form at:

https://support.google.com/code/contact/project_quota_increase 

To other users reading this thread, if you get a similar error with only a 
few projects, you may have reached a limit of how many projects are allowed 
per billing account. To request that this limit is increased please fill 
out the form at:

https://support.google.com/code/contact/billing_quota_increase

After filling out this form you will get a response within 48 hours. You 
may be asked for further details or changes if necessary.


On Sunday, August 16, 2015 at 11:48:31 PM UTC-4, Vermilian Mobile wrote:
>
> I am having this error messane when I try to create a new project in 
> Google Api Console:
> Rate Limit Exceeded
>  What can I do?
>

-- 
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/ebc931b4-8386-4ace-8e52-a1a1327fbc20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Find nearest location from current location

2015-08-17 Thread Patrice (Cloud Platform Support)
Hi hr

To begin with, did you get whitelisted to use that feature? Because as it's 
still an Alpha feature, it needs to be requested and granted before you can 
use it.

As you can also see, "GeoPt" is part of the 
"com.google.appengine.api.datastore" 
package and, as such, is potentially only available from the API directly 
for now.

Cheers!

On Saturday, August 15, 2015 at 2:09:11 AM UTC-4, hr lumiins wrote:
>
> All,
>
> I saw this sample but we dont know how to implement in objecify
>
> https://cloud.google.com/appengine/docs/java/datastore/geosearch
>
> should create a entity"location" object and filter for those object 
> "location* or something else
>
> Could help us regarding this
>

-- 
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/7a48c2c3-f42e-4e86-b5e9-ff3d3408f9c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How to debug increase in response latencies.

2015-08-17 Thread Patrice (Cloud Platform Support)
Hi Sarath,

After the fact, it might be a little bit hard to check it precisely. But 
for the future, you can enable Cloud Monitoring 
 to check on latency.

Cheers!

On Saturday, August 15, 2015 at 11:52:44 PM UTC-4, Creative Cubs wrote:
>
> Hi, 
> 6AM 8/16 PST, I am seeing 9X increased latency in my app engine 
> (95Percentile 100ms  to 900ms). 
> I did not make any deployments around this time. 
>
> App has two front end APIs, three crons, and one push queue task executor. 
> How can I know which API is taking more time? 
>
> Sarath. 
>
>

-- 
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/ad894027-4cd1-4a14-a351-65d73fcdee92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Appengine not pointing to domain correctly ?

2015-08-17 Thread Patrice (Cloud Platform Support)
Hey again Abdelhadi,

If you use an nslookup tool, can you confirm you see the A and  records 
you had to add? because you said you had 4 of each to add, and using an 
nslookup, I can only see 2 A records and 2  records.

In the meantime, you're right, if you see the domain suggested, the proof 
of ownership went through.

Cheers

On Saturday, August 15, 2015 at 4:56:53 AM UTC-4, Abdelhadi Khiati wrote:
>
> Hey Patrick ,
>
> Actually yeah i did prove that i am the domain owner and it worked for me 
> (since i can see it in suggestions i guess ) and i have changed the records 
> about 72 hours ago , in the docs it says that it takes about 24 and it's 
> clearly taking more than this , i hope there's another solution for this :( 
> , Thank you .
>
> On Friday, August 14, 2015 at 9:26:37 PM UTC+1, Patrice (Cloud Platform 
> Support) wrote:
>>
>> Hi Abelhadi,
>>
>> I assumed you followed something similar to what our documentation 
>>  suggests, right?
>>
>> In that case, are you sure you "proved you're the domain owner"? And how 
>> long ago did you make that change? DNS records can need some time to be 
>> fully propagated.
>>
>> Cheers
>>
>> On Thursday, August 13, 2015 at 9:41:51 PM UTC-4, Abdelhadi Khiati wrote:
>>>
>>> I have created an appengine instance (just a hello-world application) 
>>> and i have tried to point my domain to it , i was given 4 A and 4 AAA 
>>> records that i put them in my cloudflare DNS record , however the domain 
>>> now , just points to google 404, and i have no idea why , when trying to 
>>> resolve my domain name it just takes me to google IP 
>>> by running this .
>>>
 curl -svo /dev/null kiloreux.info --resolve kiloreux.info:80:74.125.71.141


>>> Now if someone can help me solve this i would really appreciate 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a5fde90b-ed89-46c8-9f99-ca2bf6139f42%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] app engine usage report beyond 90 days

2015-08-17 Thread Ivan Golubev
Hello guys,

does anyone know how to fetch Google App Engine usage report beyond the 90 
days, say for 9 months ?
I mean this feature : Download Usage Reports (CSV) 
 
This is located on page https://appengine.google.com/billing/history

-- 
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/a527ac58-c293-49cb-a38a-f7af2e5597dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: How to debug increase in response latencies.

2015-08-17 Thread 'Alex Martelli' via Google App Engine
I would also recommend a recent blog post by our esteemed colleague John
Lowry --
http://googlecloudplatform.blogspot.com/2015/08/How-to-Troubleshoot-Latency-in-Your-App-Engine-Application.html

Alex

On Mon, Aug 17, 2015 at 7:53 AM, Patrice (Cloud Platform Support) <
pvoutsi...@google.com> wrote:

> Hi Sarath,
>
> After the fact, it might be a little bit hard to check it precisely. But
> for the future, you can enable Cloud Monitoring
>  to check on
> latency.
>
> Cheers!
>
> On Saturday, August 15, 2015 at 11:52:44 PM UTC-4, Creative Cubs wrote:
>>
>> Hi,
>> 6AM 8/16 PST, I am seeing 9X increased latency in my app engine
>> (95Percentile 100ms  to 900ms).
>> I did not make any deployments around this time.
>>
>> App has two front end APIs, three crons, and one push queue task
>> executor. How can I know which API is taking more time?
>>
>> Sarath.
>>
>> --
> 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/ad894027-4cd1-4a14-a351-65d73fcdee92%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/CAE46Be8D2WVro7B8tP53bLO_V2S9BrG4xoEQZ7ajzTeoAjh3Qg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Appengine not pointing to domain correctly ?

2015-08-17 Thread Abdelhadi Khiati
Actually i can see 4 records (which are the one given to me) on the
nslookup  query

-> nslookup kiloreux.info
Server: 127.0.0.1
Address: 127.0.0.1#53

Non-authoritative answer:
Name: kiloreux.info
Address: 216.239.32.21
Name: kiloreux.info
Address: 216.239.36.21
Name: kiloreux.info
Address: 216.239.38.21
Name: kiloreux.info
Address: 216.239.34.21

and those are the one given to me  and when querying the AAA records i can
also see the 4 records , yet when i check my domain it always gives me 404
from Google , such weird problem .



On Mon, Aug 17, 2015 at 4:15 PM, Patrice (Cloud Platform Support) <
pvoutsi...@google.com> wrote:

> Hey again Abdelhadi,
>
> If you use an nslookup tool, can you confirm you see the A and 
> records you had to add? because you said you had 4 of each to add, and
> using an nslookup, I can only see 2 A records and 2  records.
>
> In the meantime, you're right, if you see the domain suggested, the proof
> of ownership went through.
>
> Cheers
>
> On Saturday, August 15, 2015 at 4:56:53 AM UTC-4, Abdelhadi Khiati wrote:
>>
>> Hey Patrick ,
>>
>> Actually yeah i did prove that i am the domain owner and it worked for me
>> (since i can see it in suggestions i guess ) and i have changed the records
>> about 72 hours ago , in the docs it says that it takes about 24 and it's
>> clearly taking more than this , i hope there's another solution for this :(
>> , Thank you .
>>
>> On Friday, August 14, 2015 at 9:26:37 PM UTC+1, Patrice (Cloud Platform
>> Support) wrote:
>>>
>>> Hi Abelhadi,
>>>
>>> I assumed you followed something similar to what our documentation
>>>  suggests, right?
>>>
>>> In that case, are you sure you "proved you're the domain owner"? And how
>>> long ago did you make that change? DNS records can need some time to be
>>> fully propagated.
>>>
>>> Cheers
>>>
>>> On Thursday, August 13, 2015 at 9:41:51 PM UTC-4, Abdelhadi Khiati wrote:

 I have created an appengine instance (just a hello-world application)
 and i have tried to point my domain to it , i was given 4 A and 4 AAA
 records that i put them in my cloudflare DNS record , however the domain
 now , just points to google 404, and i have no idea why , when trying to
 resolve my domain name it just takes me to google IP
 by running this .

> curl -svo /dev/null kiloreux.info --resolve kiloreux.info:80:74.125.71.141
>
>
 Now if someone can help me solve this i would really appreciate it .

>>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google App Engine" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-appengine/uMM1zH7gCDM/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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/a5fde90b-ed89-46c8-9f99-ca2bf6139f42%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/CA%2BLhOM_Bdp-vELQ4nNmVR-af8XLmrGSOvmQ-9-%2B1VuaK8q68Zw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Appengine not pointing to domain correctly ?

2015-08-17 Thread Patrice (Cloud Platform Support)
Hey again

Yeah somehow now I can see 4 records for each, when before I was only 
seeing 2. Weird indeed.

In any case, since I can't see into your custom domain, I'd have to say 
that there might be something in your config. The 404 you receive is from 
the Google server, so the mapping was done. There might be something that 
doesn't "translate" the handler to your own code... Could you send me a 
screenshot of the page "Compute->AppEngine->Settings->Custom domains" from 
your project? (you can reply privately with that information, just click on 
the arrow by my message and choose "reply privately to author". We will 
continue with the troubleshooting here in case it's valuable to other users 
in the future, but I want to make sure your admin screenshot is not posted 
publicly.

Thank you in advance :)


On Monday, August 17, 2015 at 12:58:54 PM UTC-4, Abdelhadi Khiati wrote:
>
> Actually i can see 4 records (which are the one given to me) on the 
> nslookup  query 
>
> -> nslookup kiloreux.info
> Server: 127.0.0.1
> Address: 127.0.0.1#53
>
> Non-authoritative answer:
> Name: kiloreux.info
> Address: 216.239.32.21
> Name: kiloreux.info
> Address: 216.239.36.21
> Name: kiloreux.info
> Address: 216.239.38.21
> Name: kiloreux.info
> Address: 216.239.34.21
>
> and those are the one given to me  and when querying the AAA records i can 
> also see the 4 records , yet when i check my domain it always gives me 404 
> from Google , such weird problem .
>
>
>
> On Mon, Aug 17, 2015 at 4:15 PM, Patrice (Cloud Platform Support) <
> pvoutsi...@google.com> wrote:
>
>> Hey again Abdelhadi,
>>
>> If you use an nslookup tool, can you confirm you see the A and  
>> records you had to add? because you said you had 4 of each to add, and 
>> using an nslookup, I can only see 2 A records and 2  records.
>>
>> In the meantime, you're right, if you see the domain suggested, the proof 
>> of ownership went through.
>>
>> Cheers
>>
>> On Saturday, August 15, 2015 at 4:56:53 AM UTC-4, Abdelhadi Khiati wrote:
>>>
>>> Hey Patrick ,
>>>
>>> Actually yeah i did prove that i am the domain owner and it worked for 
>>> me (since i can see it in suggestions i guess ) and i have changed the 
>>> records about 72 hours ago , in the docs it says that it takes about 24 and 
>>> it's clearly taking more than this , i hope there's another solution for 
>>> this :( , Thank you .
>>>
>>> On Friday, August 14, 2015 at 9:26:37 PM UTC+1, Patrice (Cloud Platform 
>>> Support) wrote:

 Hi Abelhadi,

 I assumed you followed something similar to what our documentation 
  suggests, right?

 In that case, are you sure you "proved you're the domain owner"? And 
 how long ago did you make that change? DNS records can need some time to 
 be 
 fully propagated.

 Cheers

 On Thursday, August 13, 2015 at 9:41:51 PM UTC-4, Abdelhadi Khiati 
 wrote:
>
> I have created an appengine instance (just a hello-world application) 
> and i have tried to point my domain to it , i was given 4 A and 4 AAA 
> records that i put them in my cloudflare DNS record , however the domain 
> now , just points to google 404, and i have no idea why , when trying to 
> resolve my domain name it just takes me to google IP 
> by running this .
>
>> curl -svo /dev/null kiloreux.info --resolve 
>> kiloreux.info:80:74.125.71.141
>>
>>
> Now if someone can help me solve this i would really appreciate it . 
>
 -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Google App Engine" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/google-appengine/uMM1zH7gCDM/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, 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/a5fde90b-ed89-46c8-9f99-ca2bf6139f42%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/6ca65ae9-8d09-49d2-aa0d-eba2908a906e%40googlegroups.com.
Fo

Re: [google-appengine] Re: Appengine not pointing to domain correctly ?

2015-08-17 Thread Patrice (Cloud Platform Support)
So, to keep the thread up to date, I've received the print screen from 
Abdelhadi,

Turns out the custom domain was mapped to "www.kiloreux.info". Entering the 
full URL, with the "www" works :).

The non "www" isn't mapped to the app, but still points to Google, 
therefore throwing this error. 

Lemme know if hitting the www.kiloreux.info provides indeed what you want.

Cheers!

On Monday, August 17, 2015 at 1:13:48 PM UTC-4, Patrice (Cloud Platform 
Support) wrote:
>
> Hey again
>
> Yeah somehow now I can see 4 records for each, when before I was only 
> seeing 2. Weird indeed.
>
> In any case, since I can't see into your custom domain, I'd have to say 
> that there might be something in your config. The 404 you receive is from 
> the Google server, so the mapping was done. There might be something that 
> doesn't "translate" the handler to your own code... Could you send me a 
> screenshot of the page "Compute->AppEngine->Settings->Custom domains" from 
> your project? (you can reply privately with that information, just click on 
> the arrow by my message and choose "reply privately to author". We will 
> continue with the troubleshooting here in case it's valuable to other users 
> in the future, but I want to make sure your admin screenshot is not posted 
> publicly.
>
> Thank you in advance :)
>
>
> On Monday, August 17, 2015 at 12:58:54 PM UTC-4, Abdelhadi Khiati wrote:
>>
>> Actually i can see 4 records (which are the one given to me) on the 
>> nslookup  query 
>>
>> -> nslookup kiloreux.info
>> Server: 127.0.0.1
>> Address: 127.0.0.1#53
>>
>> Non-authoritative answer:
>> Name: kiloreux.info
>> Address: 216.239.32.21
>> Name: kiloreux.info
>> Address: 216.239.36.21
>> Name: kiloreux.info
>> Address: 216.239.38.21
>> Name: kiloreux.info
>> Address: 216.239.34.21
>>
>> and those are the one given to me  and when querying the AAA records i 
>> can also see the 4 records , yet when i check my domain it always gives me 
>> 404 from Google , such weird problem .
>>
>>
>>
>> On Mon, Aug 17, 2015 at 4:15 PM, Patrice (Cloud Platform Support) <
>> pvoutsi...@google.com> wrote:
>>
>>> Hey again Abdelhadi,
>>>
>>> If you use an nslookup tool, can you confirm you see the A and  
>>> records you had to add? because you said you had 4 of each to add, and 
>>> using an nslookup, I can only see 2 A records and 2  records.
>>>
>>> In the meantime, you're right, if you see the domain suggested, the 
>>> proof of ownership went through.
>>>
>>> Cheers
>>>
>>> On Saturday, August 15, 2015 at 4:56:53 AM UTC-4, Abdelhadi Khiati wrote:

 Hey Patrick ,

 Actually yeah i did prove that i am the domain owner and it worked for 
 me (since i can see it in suggestions i guess ) and i have changed the 
 records about 72 hours ago , in the docs it says that it takes about 24 
 and 
 it's clearly taking more than this , i hope there's another solution for 
 this :( , Thank you .

 On Friday, August 14, 2015 at 9:26:37 PM UTC+1, Patrice (Cloud Platform 
 Support) wrote:
>
> Hi Abelhadi,
>
> I assumed you followed something similar to what our documentation 
>  suggests, 
> right?
>
> In that case, are you sure you "proved you're the domain owner"? And 
> how long ago did you make that change? DNS records can need some time to 
> be 
> fully propagated.
>
> Cheers
>
> On Thursday, August 13, 2015 at 9:41:51 PM UTC-4, Abdelhadi Khiati 
> wrote:
>>
>> I have created an appengine instance (just a hello-world application) 
>> and i have tried to point my domain to it , i was given 4 A and 4 AAA 
>> records that i put them in my cloudflare DNS record , however the domain 
>> now , just points to google 404, and i have no idea why , when trying to 
>> resolve my domain name it just takes me to google IP 
>> by running this .
>>
>>> curl -svo /dev/null kiloreux.info --resolve 
>>> kiloreux.info:80:74.125.71.141
>>>
>>>
>> Now if someone can help me solve this i would really appreciate it . 
>>
> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "Google App Engine" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/google-appengine/uMM1zH7gCDM/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, 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/a5fde90b-ed89-46c8-9f99-ca2bf6139f42%40googlegroups.com
>>>  
>>> 

Re: [google-appengine] Re: Appengine not pointing to domain correctly ?

2015-08-17 Thread Abdelhadi Khiati
Yeah it actually does provide me with the instance code, i have done  a
mistake by not using the kiloreux.info domain and pointing to it (but using
www.kiloreux.info), fixing it to the kiloreux.info was enough , thank you
for your time , i really appreciate the effort .

On Mon, Aug 17, 2015 at 6:59 PM, Patrice (Cloud Platform Support) <
pvoutsi...@google.com> wrote:

> So, to keep the thread up to date, I've received the print screen from
> Abdelhadi,
>
> Turns out the custom domain was mapped to "www.kiloreux.info". Entering
> the full URL, with the "www" works :).
>
> The non "www" isn't mapped to the app, but still points to Google,
> therefore throwing this error.
>
> Lemme know if hitting the www.kiloreux.info provides indeed what you want.
>
> Cheers!
>
> On Monday, August 17, 2015 at 1:13:48 PM UTC-4, Patrice (Cloud Platform
> Support) wrote:
>>
>> Hey again
>>
>> Yeah somehow now I can see 4 records for each, when before I was only
>> seeing 2. Weird indeed.
>>
>> In any case, since I can't see into your custom domain, I'd have to say
>> that there might be something in your config. The 404 you receive is from
>> the Google server, so the mapping was done. There might be something that
>> doesn't "translate" the handler to your own code... Could you send me a
>> screenshot of the page "Compute->AppEngine->Settings->Custom domains" from
>> your project? (you can reply privately with that information, just click on
>> the arrow by my message and choose "reply privately to author". We will
>> continue with the troubleshooting here in case it's valuable to other users
>> in the future, but I want to make sure your admin screenshot is not posted
>> publicly.
>>
>> Thank you in advance :)
>>
>>
>> On Monday, August 17, 2015 at 12:58:54 PM UTC-4, Abdelhadi Khiati wrote:
>>>
>>> Actually i can see 4 records (which are the one given to me) on the
>>> nslookup  query
>>>
>>> -> nslookup kiloreux.info
>>> Server: 127.0.0.1
>>> Address: 127.0.0.1#53
>>>
>>> Non-authoritative answer:
>>> Name: kiloreux.info
>>> Address: 216.239.32.21
>>> Name: kiloreux.info
>>> Address: 216.239.36.21
>>> Name: kiloreux.info
>>> Address: 216.239.38.21
>>> Name: kiloreux.info
>>> Address: 216.239.34.21
>>>
>>> and those are the one given to me  and when querying the AAA records i
>>> can also see the 4 records , yet when i check my domain it always gives me
>>> 404 from Google , such weird problem .
>>>
>>>
>>>
>>> On Mon, Aug 17, 2015 at 4:15 PM, Patrice (Cloud Platform Support) <
>>> pvoutsi...@google.com> wrote:
>>>
 Hey again Abdelhadi,

 If you use an nslookup tool, can you confirm you see the A and 
 records you had to add? because you said you had 4 of each to add, and
 using an nslookup, I can only see 2 A records and 2  records.

 In the meantime, you're right, if you see the domain suggested, the
 proof of ownership went through.

 Cheers

 On Saturday, August 15, 2015 at 4:56:53 AM UTC-4, Abdelhadi Khiati
 wrote:
>
> Hey Patrick ,
>
> Actually yeah i did prove that i am the domain owner and it worked for
> me (since i can see it in suggestions i guess ) and i have changed the
> records about 72 hours ago , in the docs it says that it takes about 24 
> and
> it's clearly taking more than this , i hope there's another solution for
> this :( , Thank you .
>
> On Friday, August 14, 2015 at 9:26:37 PM UTC+1, Patrice (Cloud
> Platform Support) wrote:
>>
>> Hi Abelhadi,
>>
>> I assumed you followed something similar to what our documentation
>>  suggests,
>> right?
>>
>> In that case, are you sure you "proved you're the domain owner"? And
>> how long ago did you make that change? DNS records can need some time to 
>> be
>> fully propagated.
>>
>> Cheers
>>
>> On Thursday, August 13, 2015 at 9:41:51 PM UTC-4, Abdelhadi Khiati
>> wrote:
>>>
>>> I have created an appengine instance (just a hello-world
>>> application) and i have tried to point my domain to it , i was given 4 A
>>> and 4 AAA records that i put them in my cloudflare DNS record , however 
>>> the
>>> domain now , just points to google 404, and i have no idea why , when
>>> trying to resolve my domain name it just takes me to google IP
>>> by running this .
>>>
 curl -svo /dev/null kiloreux.info --resolve 
 kiloreux.info:80:74.125.71.141


>>> Now if someone can help me solve this i would really appreciate it .
>>>
>> --
 You received this message because you are subscribed to a topic in the
 Google Groups "Google App Engine" group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/uMM1zH7gCDM/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-appengine+uns

[google-appengine] Re: At what point is querying down a hierarchical tree faster than querying through all the end nodes?

2015-08-17 Thread David Skinner
In classic terms:

   - World is a List of Countries unique
   - Country is a list of States in a Country one-to-many
   - States is a list of Cities in a State one-to-many
   - Names is a list of Restaurant Names unique
   - Restaurant is Country.State.City.Name Address Data, many-to-many 
   Names-to-City

A valid search may begin with the Name or the Country. Select one from the 
list of available.
If you select a Name first, the the selection of a country would be limited 
to the set that is linked to the Name.
If you select Country first then Name selection would be limited to Names 
linked to that Country And States would be limited to those linked to that 
Country and to that Name.
valid City selection would be a City linked to that State which is also 
linked to that Name.

The alternative of having the user enter all four fields at once will 
encourage searching for things not in the database and may require a data 
validation step to account for variations in spellings.

The advantage of data normalization, extremely rapid searches and very 
small memory as you need save only the id, although in modern times, you 
may not need be concerned with micro efficiency as the underlying engines 
will tend to optimise segmented index fields. 

I do like the idea of maintaining a segmented key with Country, State, City 
so that you can display intermediate results or an intermediate count of a 
large list of results.
  

-- 
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/bd23a8c7-d75f-4b6d-b8e6-97ecf3c74c97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: SSL for app engine custom domain

2015-08-17 Thread Nick (Cloud Platform Support)
Hey Richard,

Thanks for your response. It's comments and feedback like yours which 
resulted in the current effort to improve/simplify the Custom Domains SSL 
process. I'm glad you seem to have taken my post in good humour, and I 
enjoyed your commentary. As to Cloudflare, it's a great service which can 
of course be used as part of a website development stack. Finally, you're 
correct that the need to set up a Google Apps account or integrate with 
Apps in any way is not part of the imminently-to-be-released Custom Domains 
SSL process, which will take place entirely in the Developers Console.

Regards,

Nick

On Saturday, August 15, 2015 at 1:52:32 AM UTC-4, Richard Cheesmar wrote:
>
> Hi, all, and thanks for replying
>
> Nick, I appreciate the followup. After thirty years of development,  I can 
> honestly say two things. First that the process of developing for the web 
> is for anything of scale way too complicated and needs simplifying by the 
> big guns such as Google. Secondly, I am used to but tired of bad processes 
> and have read the docs, in fact I have read hundreds of pages of Google 
> docs in my time, some of which are better than others. In this particular 
> case I did read a lot of docs and I'm a reasonably intelligent idiot. 
> However, it's not just the docs, it's the over complicated and as you said 
> convoluted process. It almost as though it's one of those infamous Google 
> tests to see if you're good enough to get a job there. Obviously I'm not :) 
> As for being calm, I am as calm as can be expected after  a regular 12+ 
> hours a day of developing... etc. etc. 
>
> Anyway, I am looking at what Cloudflare has to offer, but I can wait until 
> the end of the month as my site is on beta at the moment. If indeed, Google 
> can simplify the whole process considerably and be competitive in terms of 
> monthly fees for SSL then I prefer to go with a single supplier. Would I be 
> correct in the assumption that this new process avoids having to acquire a 
> Google Apps account?
>
> Kaan, thanks for the feedback, and yes, Cloudflare seems to be very 
> economical in comparison. I am surely looking into it.
>
>
>
> On Friday, August 14, 2015 at 6:41:48 PM UTC+3, Richard Cheesmar wrote:
>>
>> Hi, 
>>
>> Is it going to be possible anytime soon to setup SSL for a custom domain 
>> without a Google App account directly from the Google cloud developers 
>> console? Signing up for yet another Google account is bordering on making 
>> me insane. 
>>
>> I have setup a custom domain via the Google cloud developers console for 
>> my app project, and this is serving as a naked url...no problem. 
>>
>> Then I tried to setup a Google App account with an existing account 
>> linked to my Google App Engine project as an owner, but it didn't like it. 
>> So I setup a new one (deleted now) and re-verified the custom domain, which 
>> then stopped the serving of the custom domain. I then deleted the Google 
>> App account and it started serving the custom domain again. I have no idea 
>> why, what or how...
>>
>> I have purchased an SSL certificate from Comodo, not yet activated, and 
>> all I want to do is set it up without giving myself an emotional hernia, I 
>> get enough of those from coding! And, yes, read the docs, but you know, 
>> they suck! A step by step idiots example would be great!
>>
>> In fact back to the question at the beginning, is it going to be possible 
>> to setup SSL for a custom domain from the Google cloud developers console? 
>>
>> Thanks one and all
>>
>>
>>

-- 
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/5d183eb2-729b-4f1f-8691-60358492b620%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: app engine usage report beyond 90 days

2015-08-17 Thread Nick (Cloud Platform Support)
Hi Ivan,

Unfortunately the data is not persisted beyond 90 days. In order to 
securely store logs beyond that, you should look into Logs Export 
.

I hope this helps you set up a solution which will prevent such 
difficulties in the future. I sincerely hope that your logs data was not 
extremely critical. 

Best of luck!

Nick

On Monday, August 17, 2015 at 11:27:32 AM UTC-4, Ivan Golubev wrote:
>
> Hello guys,
>
> does anyone know how to fetch Google App Engine usage report beyond the 90 
> days, say for 9 months ?
> I mean this feature : Download Usage Reports (CSV) 
>  
> This is located on page https://appengine.google.com/billing/history
>

-- 
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/9173e254-4ece-4c25-a5d4-4113bed766ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: EEException: Server returned HTTP code: 404 --- Problem testing app with Google App Engine and Google Earth Engine

2015-08-17 Thread Nick (Cloud Platform Support)
Hi Ali,

Not to worry, there's a first time for everything! I'm currently following 
your question and will follow up there. 

Best wishes,

Nick

On Friday, August 14, 2015 at 12:20:32 PM UTC-4, Alí Santacruz wrote:
>
>
> Hi Nick,
>
> Thanks for your answer. I was not sure if this group was the best place to 
> post my question. Thanks for clarifying it. 
>
> I just posted my question on stackoverflow following your suggestion:
>
>
> http://stackoverflow.com/questions/32014466/eeexception-server-returned-http-code-404-testing-app-with-google-app-engi
>
> Thanks a lot,
>
> Best regards,
>
> Ali
>
>
> On Friday, August 14, 2015 at 10:12:11 AM UTC-5, Nick (Cloud Platform 
> Support) wrote:
>>
>> Hi Ali,
>>
>> It seems as though you've produced a perfect question for stackoverflow. 
>> However, Google Groups isn't the right place to post it, since this forum 
>> is meant for more general / high level discussion of the platform and 
>> services. I'd be happy to help out on your stackoverflow question when you 
>> post it, so feel free to link back to it in your reply here.
>>
>> Best wishes,
>>
>> Nick
>>
>> On Friday, August 14, 2015 at 10:18:45 AM UTC-4, Alí Santacruz wrote:
>>>
>>>
>>> Hi all,
>>>
>>> I am trying to test a basic app with Google App Engine using the 
>>> trendy-lights example with Google Earth Engine App. 
>>>
>>> I cloned the trendy-lights app from the GEE github repository and 
>>> updated the application name in app.yaml, EE_ACCOUNT in config.py and the 
>>> privatekey.pem file. I didn't do any other change. However the 
>>> trendy-lights app does not work.
>>>
>>> Please see the error I got below. I am trying to figure out why it does 
>>> not work. (Just FYI, I tried the sample flask app in GAE and it works well, 
>>> I see the 'Hello World' text when I go to the app webpage). 
>>>
>>> Does anyone know what the error I got refers to? I have no clue and I 
>>> don't know how to debug it.
>>>
>>> Another question: For running this app (i.e., the trendy-lights example) 
>>> using GAE and GEE, do I have to sign up for the free trial or get a paid 
>>> account? (I am a trusted tester for GEE)
>>>
>>> Thanks for any help!
>>>
>>> Ali  
>>>
>>>
>>> user@osgeolive:~/shared/git/earthengine-api/demos/trendy-lights$ 
>>> /home/user/google_appengine/dev_appserver.py ./
>>> INFO 2015-08-14 14:07:21,304 sdk_update_checker.py:229] Checking for 
>>> updates to the SDK.
>>> INFO 2015-08-14 14:07:21,735 sdk_update_checker.py:257] The SDK is up 
>>> to date.
>>> WARNING  2015-08-14 14:07:22,512 simple_search_stub.py:1126] Could not 
>>> read search indexes from 
>>> /tmp/appengine.test-project-1036.user/search_indexes
>>> INFO 2015-08-14 14:07:22,516 api_server.py:205] Starting API server at: 
>>> http://localhost:52519
>>> INFO 2015-08-14 14:07:22,530 dispatcher.py:197] Starting module 
>>> "default" running at: http://localhost:8080
>>> INFO 2015-08-14 14:07:22,531 admin_server.py:118] Starting admin server 
>>> at: http://localhost:8000
>>> INFO 2015-08-14 14:07:51,222 client.py:515] Attempting refresh to 
>>> obtain initial access_token
>>> INFO 2015-08-14 14:07:51,262 client.py:755] Refreshing access_token
>>> ERROR 2015-08-14 14:07:53,438 wsgi.py:263]
>>> Traceback (most recent call last):
>>>   File "/home/user/google_appengine/google/appengine/runtime/wsgi.py", 
>>> line 240, in Handle
>>> handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
>>>   File "/home/user/google_appengine/google/appengine/runtime/wsgi.py", 
>>> line 299, in _LoadHandler
>>> handler, path, err = LoadObject(self._handler)
>>>   File "/home/user/google_appengine/google/appengine/runtime/wsgi.py", 
>>> line 85, in LoadObject
>>> obj = __import__(path[0])
>>>   File 
>>> "/home/user/shared/git/earthengine-api/demos/trendy-lights/server.py", line 
>>> 241, in 
>>> ee.Initialize(EE_CREDENTIALS)
>>>   File 
>>> "/home/user/shared/git/earthengine-api/demos/trendy-lights/ee/__init__.py", 
>>> line 83, in Initialize
>>> ApiFunction.initialize()
>>>   File 
>>> "/home/user/shared/git/earthengine-api/demos/trendy-lights/ee/apifunction.py",
>>>  
>>> line 145, in initialize
>>> signatures = data.getAlgorithms()
>>>   File 
>>> "/home/user/shared/git/earthengine-api/demos/trendy-lights/ee/data.py", 
>>> line 341, in getAlgorithms
>>> return send_('/algorithms', {}, 'GET')
>>>   File 
>>> "/home/user/shared/git/earthengine-api/demos/trendy-lights/ee/data.py", 
>>> line 594, in send_
>>> response.status)
>>> EEException: Server returned HTTP code: 404
>>> INFO 2015-08-14 14:07:53,573 module.py:809] default: "GET / HTTP/1.1" 
>>> 500 -
>>> INFO 2015-08-14 14:07:53,625 client.py:515] Attempting refresh to 
>>> obtain initial access_token
>>> INFO 2015-08-14 14:07:53,666 client.py:755] Refreshing access_token
>>> ERROR 2015-08-14 14:07:55,192 wsgi.py:263]
>>> Traceback (most recent call last):
>>>   File "/home/user/google_appengine/google/appengine/runtime/wsgi.py", 
>>> line 240, in Handle
>>> handler = _config_handle.add_wsgi

[google-appengine] Re: EEException: Server returned HTTP code: 404 --- Problem testing app with Google App Engine and Google Earth Engine

2015-08-17 Thread Alí Santacruz

Hi Nick,

The issue was solved earlier today by the administrators of the GEE 
platform,

My account had to be whitelisted by them for the app to be able to run,

So the problem is solved now. I will post the solution on stackoverflow,

Thanks!

Best,

Ali


On Monday, August 17, 2015 at 5:36:19 PM UTC-5, Nick (Cloud Platform 
Support) wrote:
>
> Hi Ali,
>
> Not to worry, there's a first time for everything! I'm currently following 
> your question and will follow up there. 
>
> Best wishes,
>
> Nick
>
> On Friday, August 14, 2015 at 12:20:32 PM UTC-4, Alí Santacruz wrote:
>>
>>
>> Hi Nick,
>>
>> Thanks for your answer. I was not sure if this group was the best place 
>> to post my question. Thanks for clarifying it. 
>>
>> I just posted my question on stackoverflow following your suggestion:
>>
>>
>> http://stackoverflow.com/questions/32014466/eeexception-server-returned-http-code-404-testing-app-with-google-app-engi
>>
>> Thanks a lot,
>>
>> Best regards,
>>
>> Ali
>>
>>
>> On Friday, August 14, 2015 at 10:12:11 AM UTC-5, Nick (Cloud Platform 
>> Support) wrote:
>>>
>>> Hi Ali,
>>>
>>> It seems as though you've produced a perfect question for stackoverflow. 
>>> However, Google Groups isn't the right place to post it, since this forum 
>>> is meant for more general / high level discussion of the platform and 
>>> services. I'd be happy to help out on your stackoverflow question when you 
>>> post it, so feel free to link back to it in your reply here.
>>>
>>> Best wishes,
>>>
>>> Nick
>>>
>>> On Friday, August 14, 2015 at 10:18:45 AM UTC-4, Alí Santacruz wrote:


 Hi all,

 I am trying to test a basic app with Google App Engine using the 
 trendy-lights example with Google Earth Engine App. 

 I cloned the trendy-lights app from the GEE github repository and 
 updated the application name in app.yaml, EE_ACCOUNT in config.py and the 
 privatekey.pem file. I didn't do any other change. However the 
 trendy-lights app does not work.

 Please see the error I got below. I am trying to figure out why it does 
 not work. (Just FYI, I tried the sample flask app in GAE and it works 
 well, 
 I see the 'Hello World' text when I go to the app webpage). 

 Does anyone know what the error I got refers to? I have no clue and I 
 don't know how to debug it.

 Another question: For running this app (i.e., the trendy-lights 
 example) using GAE and GEE, do I have to sign up for the free trial or get 
 a paid account? (I am a trusted tester for GEE)

 Thanks for any help!

 Ali  


 user@osgeolive:~/shared/git/earthengine-api/demos/trendy-lights$ 
 /home/user/google_appengine/dev_appserver.py ./
 INFO 2015-08-14 14:07:21,304 sdk_update_checker.py:229] Checking for 
 updates to the SDK.
 INFO 2015-08-14 14:07:21,735 sdk_update_checker.py:257] The SDK is up 
 to date.
 WARNING  2015-08-14 14:07:22,512 simple_search_stub.py:1126] Could not 
 read search indexes from 
 /tmp/appengine.test-project-1036.user/search_indexes
 INFO 2015-08-14 14:07:22,516 api_server.py:205] Starting API server 
 at: http://localhost:52519
 INFO 2015-08-14 14:07:22,530 dispatcher.py:197] Starting module 
 "default" running at: http://localhost:8080
 INFO 2015-08-14 14:07:22,531 admin_server.py:118] Starting admin 
 server at: http://localhost:8000
 INFO 2015-08-14 14:07:51,222 client.py:515] Attempting refresh to 
 obtain initial access_token
 INFO 2015-08-14 14:07:51,262 client.py:755] Refreshing access_token
 ERROR 2015-08-14 14:07:53,438 wsgi.py:263]
 Traceback (most recent call last):
   File "/home/user/google_appengine/google/appengine/runtime/wsgi.py", 
 line 240, in Handle
 handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
   File "/home/user/google_appengine/google/appengine/runtime/wsgi.py", 
 line 299, in _LoadHandler
 handler, path, err = LoadObject(self._handler)
   File "/home/user/google_appengine/google/appengine/runtime/wsgi.py", 
 line 85, in LoadObject
 obj = __import__(path[0])
   File 
 "/home/user/shared/git/earthengine-api/demos/trendy-lights/server.py", 
 line 
 241, in 
 ee.Initialize(EE_CREDENTIALS)
   File 
 "/home/user/shared/git/earthengine-api/demos/trendy-lights/ee/__init__.py",
  
 line 83, in Initialize
 ApiFunction.initialize()
   File 
 "/home/user/shared/git/earthengine-api/demos/trendy-lights/ee/apifunction.py",
  
 line 145, in initialize
 signatures = data.getAlgorithms()
   File 
 "/home/user/shared/git/earthengine-api/demos/trendy-lights/ee/data.py", 
 line 341, in getAlgorithms
 return send_('/algorithms', {}, 'GET')
   File 
 "/home/user/shared/git/earthengine-api/demos/trendy-lights/ee/data.py", 
 line 594, in send_
 response.status)
 EEException: Server returned HT

[google-appengine] Re: Using Google App Engine with Laravel and Socialite

2015-08-17 Thread Nick (Cloud Platform Support)
Hey Chris,

Thanks for linking back. I'll be following your question.

Best wishes,

Nick

On Friday, August 14, 2015 at 11:41:00 AM UTC-4, Chris Townsend wrote:
>
> Hi Nick, Thank you for your response.
>
>
> http://stackoverflow.com/questions/32006525/using-google-app-engine-with-laravel-and-socialite
>
> Here is the link to my Stackoverflow question, thank you
>
> On Friday, August 14, 2015 at 1:21:43 PM UTC+1, Chris Townsend wrote:
>>
>> ! am having problems with Google oauth login via socialite. I am 
>> migrating the app which currently works locally and in production to GAE.
>>
>> I am using the shpasser gae package for Laravel 5.1 and that is 
>> functioning correctly. The first login request displays the google 
>> permission screen like it should but on the callback I am getting a curl 
>> error.
>>
>>
>> cURL error 7: (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)in 
>> CurlFactory.php line 168
>> at CurlFactory::createRejection(object(EasyHandle), array('errno' => '7', 
>> 'error' => '', 'url' => 'https://accounts.google.com/o/oauth2/token', 
>> 'content_type' => null, 'http_code' => '0', 'header_size' => '0', 
>> 'request_size' => '0', 'filetime' => '-1', 'ssl_verify_result' => '0', 
>> 'redirect_count' => '0', 'total_time' => '0', 'namelookup_time' => 
>> '0.080153', 'connect_time' => '0', 'pretransfer_time' => '0', 'size_upload' 
>> => '0', 'size_download' => '0', 'speed_download' => '0', 'speed_upload' => 
>> '0', 'download_content_length' => '-1', 'upload_content_length' => '-1', 
>> 'starttransfer_time' => '0', 'redirect_time' => '0', 'redirect_url' => '', 
>> 'primary_ip' => '', 'certinfo' => array(), 'primary_port' => '0', 'local_ip' 
>> => '', 'local_port' => '0')) in CurlFactory.php line 132
>>
>> I have tried changing the certificate location in the Guzzle package 
>> which Laravel uses to this
>>
>>
>>  final public function setSslVerification($certificateAuthority = true, 
>> $verifyPeer = true, $verifyHost = 2)
>> {
>> $opts = $this->config[self::CURL_OPTIONS] ?: array();
>>
>> if ($certificateAuthority === true) {
>> // use bundled CA bundle, set secure defaults
>> $opts[CURLOPT_CAINFO] = __DIR__ . '/etc/ca-certificates.crt';
>> $opts[CURLOPT_SSL_VERIFYPEER] = true;
>> $opts[CURLOPT_SSL_VERIFYHOST] = 2;
>> } elseif ($certificateAuthority === false) {
>> unset($opts[CURLOPT_CAINFO]);
>> $opts[CURLOPT_SSL_VERIFYPEER] = false;
>> $opts[CURLOPT_SSL_VERIFYHOST] = 0;
>> } elseif ($verifyPeer !== true && $verifyPeer !== false && 
>> $verifyPeer !== 1 && $verifyPeer !== 0) {
>> throw new InvalidArgumentException('verifyPeer must be 1, 0 or 
>> boolean');
>> } elseif ($verifyHost !== 0 && $verifyHost !== 1 && $verifyHost !== 
>> 2) {
>> throw new InvalidArgumentException('verifyHost must be 0, 1 or 
>> 2');
>> } else {
>> $opts[CURLOPT_SSL_VERIFYPEER] = $verifyPeer;
>> $opts[CURLOPT_SSL_VERIFYHOST] = $verifyHost;
>> if (is_file($certificateAuthority)) {
>> unset($opts[CURLOPT_CAPATH]);
>> $opts[CURLOPT_CAINFO] = $certificateAuthority;
>> } elseif (is_dir($certificateAuthority)) {
>> unset($opts[CURLOPT_CAINFO]);
>> $opts[CURLOPT_CAPATH] = $certificateAuthority;
>> } else {
>> throw new RuntimeException(
>> 'Invalid option passed to ' . self::SSL_CERT_AUTHORITY . 
>> ': ' . $certificateAuthority
>> );
>> }
>> }
>>
>> $this->config->set(self::CURL_OPTIONS, $opts);
>>
>> return $this;
>> }
>>
>> But still having the same error. I also have this in my php.ini file
>>
>> ; enable function that are disabled by default in the App Engine PHP runtime
>> google_app_engine.enable_functions = "php_sapi_name, php_uname, getmypid"
>> google_app_engine.allow_include_gs_buckets = "my-bucket-name"
>> allow_url_include = 1
>> extension = "curl.so"
>> google_app_engine.enable_curl_lite = “1”
>>
>> Running out of options, apart from maybe redoing the login without 
>> Socialite and just using Guzzle, and seeing if I still get the error.
>>
>>
>> UPDATE In the docs it states that you cannot have curl lite and full curl 
>> active at the same time. This has been changed, so that only extension = 
>> "curl.so" is in the php.ini file. It doesn't resolve the problem, but 
>> needed to change
>>
>

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

[google-appengine] Re: SSL certificate for custom domains in GoogleApps

2015-08-17 Thread Nick (Cloud Platform Support)
Hi Xevi,

I think the error message might be saying your certificate contains 
references to domains which aren't on your verified domain. You should 
double-check your certificate and check not only the main domain but also 
any SubjectAltNames.

On Thursday, August 13, 2015 at 5:05:35 PM UTC-4, Xevi Farrarons Clusella 
wrote:
>
> Hi Nick,
>
> Thanks for your answer :) It's great to know that I should be able to add 
> the SSL certificate for the alias domain.
>
> Let me explain better:
> I follow this procedure: https://support.google.com/a/answer/2644386?hl=en
>
> The domain alias is verified.
>
> But I stuck at point 4. When I press the upload button, it appears a 
> message saying:   "the ssl certificate references subdomain outside of 
> managed domain". At the link, where you could read: appenginetest.com, in 
> our case our main domain, but not the alias domain. I think that this is 
> the issue, we cannot select for which domain..
>
> What do you think, how could you add the SSL for the alias domain?
>
> Thanks in advance,
> Xevi
>
> El jueves, 13 de agosto de 2015, 21:54:40 (UTC+2), Nick escribió:
>>
>> You can use an SSL certificate for a domain alias in Google apps.
>>
>> First add and verify the domain as an alias domain of your apps account, 
>> then follow the normal procedure of adding the app and cert.
>>
>> Be aware that you cannot send email from the alias domain without adding 
>> specific users as Appengine users. You could also look at mailgun or 
>> sendgrid etc.
>>
>>

-- 
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/ae1ddfeb-92fa-478e-a4fb-989c6f75b3ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How to implement identity provider?

2015-08-17 Thread Nick (Cloud Platform Support)
Hi Pengcheng, 

There are many frameworks and systems out there which allow you to 
implement your own login / authentication / user account system. The only 
real limit is your imagination and google searches. However, if you have a 
specific Feature Request to make, feel free to open a Feature Request Issue 
in the public issue tracker 
.

Best wishes,

Nick

On Saturday, August 15, 2015 at 1:36:44 AM UTC-4, Pengcheng Yin wrote:
>
> Thanks, Nick. I know it's very convenient to use signin with Google 
> account, I just wish to implement my own user account system. Hope Google 
> will make it eaiser for developers.
>
> 在 2015年8月12日星期三 UTC-7下午1:38:59,Nick (Cloud Platform Support)写道:
>>
>> Hi Pengcheng,
>>
>> It's quite possible to find tutorials online on implementing your own 
>> login form, storage of usernames and passwords, hashed salting of stored 
>> passwords, etc. However the convenience of implementing federated login 
>> schemes is what actually makes them attractive. You should check out 
>> http://gae-login-explainer.appspot.com/#section_Google_signin and the Google 
>> Identity Platform Docs 
>>  to see how easy it 
>> can be to implement sign-in without having to bother with much 
>> authentication flows and security details yourself.
>>
>> Best wishes,
>>
>> Nick
>>
>> On Monday, August 10, 2015 at 6:02:41 PM UTC-4, Pengcheng Yin wrote:
>>>
>>> Hello, community! I am developing an app on Android, GAE as backend, I 
>>> want to implement user account services, which I mean login/register. All 
>>> solutions I can find are using Google account, but I only want to use my 
>>> own account system. It seems impractical for me to implement all the 
>>> authentication protocols. Any idea how should I do this? 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/54bb1f2a-695f-4cba-a302-b6263b850a5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Java app and scheduler settings

2015-08-17 Thread Nick (Cloud Platform Support)
For the record of any future users: an investigation of the issue reported 
by Stefano appeared to turn up that the cause of the instances shutting 
down was low instance specs combined with a memory-heavy CSV import job.

Mauricio, I've located the support ticket you have open, and it appears 
that you're currently receiving help there for a similar but unrelated 
issue. I encourage you to follow up there. 

On Friday, August 7, 2015 at 7:11:49 AM UTC-4, Stefano Ciccarelli wrote:
>
> Hello to all!
>
> Our application has always suffered from high latencies due to instances 
> respawning continuously.
> We always used custom settings in "automatic-scaling" to try to save money.
>
> Following this post (
> http://googlecloudplatform.blogspot.it/2015/08/How-to-Troubleshoot-Latency-in-Your-App-Engine-Application.html)
>  
> I've decided to reset the "automatic-scheduling" settings of our app to 
> default values.
>
> So I've configured only min-idle-instances to 1 (otherwise the /_ah/warmup 
> handler is never called). The instance class is F2.
>
> After two days this is our state.
>
> So:
> - why I have 4 instances 2 days old not used? (The logs says that one 
> instance served ~20 request today, but the other instances stopped to serve 
> yesterday)
> - why the scheduler stop and spawn instances every 40/50 minutes if 4 
> instances are there to do nothing?
> - why the resident instance is restarted every 40/50 minutes if it is 
> supposed to be... resident?
> - is there something wrong with our code?
>
> Thanks
>
>
>
>
> [image: nimbus-image-1438944970211.png]
> -- 
> *Stefano Ciccarelli* 
> GAE Application Division 
> / Director 
> stefano.ciccare...@mmbsoftware.it 
>
> *M.M.B. s.r.l.* 
> via Granarolo, 177/7 - 48018 Faenza (RA) - Italy 
> tel. +39.0546.637711 - fax +39.0546.46077 
> www.mmbsoftware.it - i...@mmbsoftware.it
>
> Le informazioni contenute in questa comunicazione sono riservate e 
> destinate esclusivamente alla/e persona/e o all'ente sopra indicati. E' 
> vietato ai soggetti diversi dai destinatari qualsiasi uso, copia, 
> diffusione di quanto in esso contenuto sia ai sensi dell'art. 616 c.p., sia 
> ai sensi del DL n. 196/03. Se questa comunicazione Vi e' pervenuta per 
> errore, Vi preghiamo di rispondere a questa e-mail e successivamente 
> cancellarla dal Vostro sistema.
>

-- 
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/1ce70118-f593-4ea3-b6d3-47be766d36f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] How to whitelist a App Engine URL with Google Groups.

2015-08-17 Thread Paula Byrne
Hi there

I am trying to learn how to whitelist an App Engine URL with Google Groups. 
Does anyone have any advice on this? 

Thanks

Paula 

-- 
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/12d94cba-7d06-4db1-8748-b5cda2f81c6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How to debug increase in response latencies.

2015-08-17 Thread Dimitri Adamou
Are your cron running on the front-end aswell? If so you may aswell make a 
seperate module and let the crons hit that instead

On Sunday, August 16, 2015 at 1:52:44 PM UTC+10, Creative Cubs wrote:
>
> Hi, 
> 6AM 8/16 PST, I am seeing 9X increased latency in my app engine 
> (95Percentile 100ms  to 900ms). 
> I did not make any deployments around this time. 
>
> App has two front end APIs, three crons, and one push queue task executor. 
> How can I know which API is taking more time? 
>
> Sarath. 
>
>

-- 
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/ae383bbf-c657-451a-a851-c46fb11aef18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] At what point is querying down a hierarchical tree faster than querying through all the end nodes?

2015-08-17 Thread Karl MacMillan
On Sunday, August 16, 2015, Sanket More  wrote:

> Hey Nick!
>
> After I submitted my question, I went through lots of information sources
> and gathered some information.
> I feel like my question was based on many misconceptions about google app
> engine's datastore.
>
> I think I have a strategy for the restaurant problem.
> The user will provide me with country, state, city and the restaurant
> name, And I will provide the user with location(s).
>
> So all I really need is one specific entity and the response will simply
> be the information in that entity.
> And, I don't really need to index country, state, city, and restaurant
> name with each other independently. I just need one string that holds the
> country state city and restaurant.
> In fact, I think that string is unique.
> So, I am thinking about having a restaurant kind with key string
> "country_state_city_restaurant"
>
> Once the user has finished submitting the form, I can get by
> "country_state_city_restaurant" and return some information to the user.
>
> I wanted a smarter solution than this, because I feel that this solution
> won't scale well.
> Furthermore, if I am flattening my tree structure like this, wouldn't gql
> be faster?
>
>
> On Sunday, August 16, 2015 at 4:14:33 PM UTC-7, Nick wrote:
>>
>> The general rule is optimize for your primary use case, denormalise to
>> support others.
>> In addition, enforce and support constraints In your code.
>>
>> If your primary case is restaurant search, embed and index all necessary
>> data. This will be the fastest solution and easiest to work with
>>
>> On Appengine extra data doesn't cost you unless it's indexed. There is a
>> careful balance between optimising for speed, cost and transactional
>> integrity. My advice is if this is your first go, expect to make mistakes
>> and to need to reengineer your data a couple of times. Make that process as
>> easy as possible.
>>
>>
Just a suggestion - have you thought about letting the user query through
the Google maps or similar API to find the restaurants and then based on
those results returning information from your app? These location based
queries are hard - both technically and from matching the users
expectations. Especially as I'm betting that the city that a user thinks a
restaurant is located in often differs from official addresses, especially
in large cities.

This strategy could let you both control the user experience and leverage
the hard work of others.

Karl


> --
> 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/04705cc7-3673-4d82-984a-61c64b099fe8%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/CAPThVd1WVRx9z9yG0Sypk1PYG%2Bvgkj0g-CmpwTBUj3Bv5YrsaA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Sort and "subsort" in datastore?

2015-08-17 Thread Keith Chima
My datastore has stored entities with a timestamp and relevance. I want to 
get the most relevant results from today, this week, month, or all time. 
The first sort would be timestamp, followed by relevance, pulling 10 at a 
time. However, this:

Filter timeMaxFilter = new FilterPredicate("timestamp",
FilterOperator.GREATER_THAN_OR_EQUAL,
getEarlierTimeStamp(Calendar.HOUR, -24)); 
if(timeFrame.equalsIgnoreCase("day")){
timeMaxFilter = new FilterPredicate("timestamp",
 FilterOperator.GREATER_THAN_OR_EQUAL,
 getEarlierTimeStamp(Calendar.HOUR, -24));
q.setFilter(timeMaxFilter);
}
q.addSort("relevance");
PreparedQuery pq = datastore.prepare(q);
for (Entity result : pq.asList(withLimit(10).offset(10*pageNumber))) {
}

*Generates this error message:*

[INFO] java.lang.IllegalArgumentException: The first sort property must be 
the s
ame as the property to which the inequality filter is applied.  In your 
query th
e first sort property is relevance but the inequality filter is on 
relevance.
[INFO]  at 
com.google.appengine.api.datastore.DatastoreApiHelper.translateError(
DatastoreApiHelper.java:53)

I understand why- they reindex in order of timestamp, because they want to 
be able to return the query in flat time, so they require me to sort by 
timestamp first. However, I feel like they can't be putting such a strict 
requirement on their customers. I could probably pull back ALL results in 
order of relevance, and then pull off the top 10. However, that seems 
wasteful. Is there a better way? If not, how would I set a FilterOrder with 
no limit, meaning ALL of the entries so I could sort them on my end?

Thanks,
-Keith

-- 
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/a1c82fee-5389-4458-b778-b7f8d8df74b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: SSL for app engine custom domain

2015-08-17 Thread Richard Cheesmar
Nick,

Now, that is good news, therefore, I think I shall hold off on decisions 
until I see the Custom Domains SSL process.

Looking forward to it.

Oh, there is something else to, is it possible to disable the .appspot 
domain and just serve the custom domain, or do I have to implement my own 
redirect in the code?

Regards

On Friday, August 14, 2015 at 6:41:48 PM UTC+3, Richard Cheesmar wrote:
>
> Hi, 
>
> Is it going to be possible anytime soon to setup SSL for a custom domain 
> without a Google App account directly from the Google cloud developers 
> console? Signing up for yet another Google account is bordering on making 
> me insane. 
>
> I have setup a custom domain via the Google cloud developers console for 
> my app project, and this is serving as a naked url...no problem. 
>
> Then I tried to setup a Google App account with an existing account linked 
> to my Google App Engine project as an owner, but it didn't like it. So I 
> setup a new one (deleted now) and re-verified the custom domain, which then 
> stopped the serving of the custom domain. I then deleted the Google App 
> account and it started serving the custom domain again. I have no idea why, 
> what or how...
>
> I have purchased an SSL certificate from Comodo, not yet activated, and 
> all I want to do is set it up without giving myself an emotional hernia, I 
> get enough of those from coding! And, yes, read the docs, but you know, 
> they suck! A step by step idiots example would be great!
>
> In fact back to the question at the beginning, is it going to be possible 
> to setup SSL for a custom domain from the Google cloud developers console? 
>
> Thanks one and all
>
>
>

-- 
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/f651f90e-d041-4d48-aca4-4b501796740c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.