Re: [google-appengine] where can i buy SNI SSL certificate?

2012-08-03 Thread Cayden Meyer
Hi, You can buy SSL certificates from a number of Certificate Authorities and resellers. Common CAs are GoDaddy, Comodo, Verisign, Entrust, Geotrust and Thawte. Regards, Cayden Meyer Product Manager, Google App Engine On 3 August 2012 15:42, KT kyawt...@gmail.com wrote: where can i buy SNI

[google-appengine] None global variable called global in logs

2012-08-03 Thread HsoulT
This is the log traceback I got: File line 65, in get content = self.get_data_reddit() line 86, in get_data_reddit result = self.url_open(a,1) File line 99, in url_open url_open(self,request,count+1) NameError: global name 'url_open' is not defined The code itself looks like:

[google-appengine] Google cloud sql instance

2012-08-03 Thread Dave
Hello, I am new to google cloud sql instance, and I try to develop an app engine application in JUno eclipse using google cloud sql. For my configuration under the properties, it is aking me the instance of the database which i know but i forget the database username and password. I

[google-appengine] Re: What to do if you have problems signing up for an App Engine account

2012-08-03 Thread Garima Amit Agarwal
Hello Amy, I have tried many times to send sms to my mobile number but haven't received any yet and my phone is receiving other sms perfectly. Now as I have tried multiple times so now I am getting error 'too many sms smg sent'. I also tried to use 'sms_issues' link but no reply on that

Re: [google-appengine] Re: What to do if you have problems signing up for an App Engine account

2012-08-03 Thread Takashi Matsuo
Hi Garima, Please fill out the form bellow: https://appengine.google.com/waitlist/sms_issues and wait a bit. Thanks, On Fri, Aug 3, 2012 at 1:45 PM, Garima Amit Agarwal amitgar...@gmail.comwrote: Hello Amy, I have tried many times to send sms to my mobile number but haven't received

Re: [google-appengine] Re: How to move data reliably from front to backends ?

2012-08-03 Thread Richard Watson
What are the performance characteristics of connecting to Google Compute Engine? Maybe slap the in-memory app onto that. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit

[google-appengine] Re: Boat Load of Questions (which might turn in to feature requests)

2012-08-03 Thread Kyle Finley
Why can’t I configure how many requests Frontends handle? F1’s serving 8 requests is silly. F4’s handling 8 requests is often equally silly in the opposite direction. Good idea. I have created a feature request for it, Please star it:

[google-appengine] Re: Boat Load of Questions (which might turn in to feature requests)

2012-08-03 Thread Kristopher Giesing
On Sunday, July 29, 2012 12:43:31 PM UTC-7, Brandon Wirtz wrote: Why can’t I configure how many requests a backend can handle? Or have a back end act like a front end and handle 8? The Java version has an experimental field in backends.xml called max-concurrent-requests. I would assume

Re: [google-appengine] Re: How to move data reliably from front to backends ?

2012-08-03 Thread Mauricio Aristizabal
Takashi, is there some more detailed information on why Google doesn't encourage using a connection pool? Is it simply to encourage allowing the db instance to wind down instead of being kept alive only by pool connection health checks? If so I'm sure it could be configured to avoid this. It

Re: [google-appengine] Custom SSL certificate with more than two intermediate CAs

2012-08-03 Thread Nacho Coloma
Hi Cayden, Thanks for your reply. You appear to have the incorrect CNAME for your domain. This is most probably what is causing android browsers to fail to connect. The correct CNAME can be found in your Google Apps control panel. The uploading and configuring certificates section of the SSL

Re: [google-appengine] Suggestion: Python Requests library

2012-08-03 Thread Helge Tesdal
If you use buildout and a recipe like http://pypi.python.org/pypi/rod.recipe.appengine/ you add requests as a dependency in the setup.py of your package, and add it to the packages list in the buildout configuration to make it part of a packages.zip. You then include packages.zip to sys.path and

Re: [google-appengine] Problem with ctypes

2012-08-03 Thread Helge Tesdal
I think the page could be made easier to understand by tweaking the text. It says C Modules Supported in Python 2.7 and the text goes on to say the list contains modules NOT allowed. The next heading is for Python 2.5 and lists modules that ARE allowed. If the top header says something like C

Re: [google-appengine] Re: How to move data reliably from front to backends ?

2012-08-03 Thread Richard
Connection pooling might be a good idea. Since there are people in every game round and each round is 3 minutes, the SQL db will always be up. I did try it, but I think my connection from home was limited. RE: SQL solution: Can some of you with LOTS of bandwidth (from a *nix machine),

Re: [google-appengine] How can I block curl requests

2012-08-03 Thread Joshua Smith
What might be helpful would be: 1. Add some logging. Up top: import logging then in the __call__ method: def __call__(self, environ, start_response): logging.info('__call__ sees UA: %s', environ['HTTP_USER_AGENT']) if environ['HTTP_USER_AGENT'].startswith('curl'): 2.

Re: [google-appengine] Re: How to move data reliably from front to backends ?

2012-08-03 Thread Takashi Matsuo
On Fri, Aug 3, 2012 at 10:04 PM, Richard steven...@gmail.com wrote: Connection pooling might be a good idea. Since there are people in every game round and each round is 3 minutes, the SQL db will always be up. I did try it, but I think my connection from home was limited. RE: SQL

Re: [google-appengine] Re: How to move data reliably from front to backends ?

2012-08-03 Thread alex
From Rackspace (London): ab -n 1000 -c 200 http://sven-anagramhero.appspot.com/client/loadtest This is ApacheBench, Version 2.3 $Revision: 655654 $ Server Software:Google Server Hostname:sven-anagramhero.appspot.com Server Port:80 Document Path:

Re: [google-appengine] How can I block curl requests

2012-08-03 Thread Kyle Finley
Hi Joshua, Thank you, that's a good thought. Kate sent me some files offline, and I believe we've figured out the problem. For the middleware to work you must be using WSGI not CGI. Someone please correct me if I'm wrong, but I believe she would have to upgrade here App to python27 to use

Re: [google-appengine] How can I block curl requests

2012-08-03 Thread Joshua Smith
There are couple problems with your snippet. First, she's getting HEAD not GET requests, so you need to use different handler. Also, you aren't returning, so if you were in a GET request, it would proceed to handle the request regardless. Something more like this (untested): class

Re: [google-appengine] How can I block curl requests

2012-08-03 Thread Kyle Finley
Yes, thank you. Do you have any thoughts on how to return error code 429? On Aug 3, 2012, at 9:51 AM, Joshua Smith wrote: There are couple problems with your snippet. First, she's getting HEAD not GET requests, so you need to use different handler. Also, you aren't returning, so if you

[google-appengine] Re: Startup time exceeded...on F4?!

2012-08-03 Thread Kyle Finley
While startup times appears to be a contentious topic. I think that we can all agree that: *Fewer Instance *==* Few Cold Starts *==* Happy Customers *==* Smaller Bills * Currently Apps of all sizes are capped at 10 concurrent requests. F4 instance can handle no more concurrent request then a

Re: [google-appengine] How can I block curl requests

2012-08-03 Thread Kyle Finley
I think you change 401 in this code to 429 I wish it was that easy. Webapp2 uses dictionary to return the status code / message and 429 didn't make the list. preTraceback (most recent call last): File

RE: [google-appengine] How can I block curl requests

2012-08-03 Thread Drake
Ah, I hadn't checked. I usually return a permission denied Error, or a Busy Error, 503 I think (sorry not at my desk) From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Kyle Finley Sent: Friday, August 03, 2012 8:43 AM To:

Re: [google-appengine] How can I block curl requests

2012-08-03 Thread Joshua Smith
I would have thought self.error(429). That doesn't work? Is there a doc that says what codes are are allowed to return? On Aug 3, 2012, at 11:02 AM, Kyle Finley kylefin...@gmail.com wrote: Yes, thank you. Do you have any thoughts on how to return error code 429? On Aug 3, 2012, at 9:51 AM,

Re: [google-appengine] How can I block curl requests

2012-08-03 Thread Kyle Finley
@Brandon Yes, 503 would probably be better then 401. @Joshua No 429 doesn't work. I don't know if the allowed return values are documented, but here's the source: http://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/ext/webapp/_webapp25.py#345 On Aug 3, 2012, at

Re: [google-appengine] Re: How to move data reliably from front to backends ?

2012-08-03 Thread Richard
Thanks Alex, VERY much appreciated, since I can't test this myself without buying a shell account somewhere. Luckily, the backend crashed due to being unable to reuse the connection for the delete. So I added some exception handling :) Can I ask some more people to try this link:

[google-appengine] Conversion-API (Java) failure in convert into PDF file

2012-08-03 Thread satyarao
Helo to allI, I am trying to convert text/HTML file into Pdf file. I am using AppEngine Conversion-API (for java). I am getting proper output on browser(Jsp page). But the created pdf page, from the HTML is not good. It looks like without proper alignment. Attached is

[google-appengine] Problem in authorizing my App Engine app to access Big Query Cloud Storage

2012-08-03 Thread Vivek Madurai
Hi , I am a Google Apps account user of mydomain.com. I have my application running at myappspot. I created a Big Query project in Google apis console, as I wanted to analyse data from myappspot using Big Query. As per the 'Authorize App Engine app' step in this tutorial

[google-appengine] Re: API serving not allowed for this application

2012-08-03 Thread Albert
Hi, I think this happens because you need to be Trusted Tester to be able to use this feature https://endpoints-trusted-tester.appspot.com/ четверг, 19 июля 2012 г., 16:08:28 UTC+3 пользователь adt написал: Hello. I am attempting to follow the tutorial at:

[google-appengine] What are the pros and cons of using Google App engine for my startup?

2012-08-03 Thread Levi Campbell
I'm building a startup, and I'm considering GAE as the platform, however I've been having a hard time finding information on why a startup might consider GAE instead of the many cloud providers out there. Let me explain what I'm working on. I'm a big fan of David Allen's Getting Things Done:

[google-appengine] Re: What are the pros and cons of using Google App engine for my startup?

2012-08-03 Thread Andrei Volgin
Pros: You don't need your own servers. You don't need system admins. You don't need database admins. You don't worry about replication and backups. Many useful built-in services (Users, Blobstore, etc.) Appengine is free until your traffic picks up. Seamless (almost) deployment of new versions.

RE: [google-appengine] What are the pros and cons of using Google App engine for my startup?

2012-08-03 Thread Drake
I have a video on the topic coming shortly. Boils down to GAE is pretty much the only PAAS, and IAAS still requires an I Manager. So you save a head count out the get go. Plus GAE is the most elastic of the Rapidly Elastic, so when CrunchMashSlashScobleForbesModo writes about you all on the

Re: [google-appengine] APP DOWN due to some sort of undocumented Google security system

2012-08-03 Thread Jon Stevens
If you are upset by Google's pricing for SSL, please star this issue: http://code.google.com/p/googleappengine/issues/detail?id=7932 jon On Thursday, August 2, 2012 10:46:14 AM UTC-7, Chris Ramsdale wrote: Jeff, et al.-- We have verified that a configuration change on our side led to

Re: [google-appengine] APP DOWN due to some sort of undocumented Google security system

2012-08-03 Thread Jon Stevens
Here is another issue to star... SSL is too difficult to setup. http://code.google.com/p/googleappengine/issues/detail?id=7933 jon On Friday, August 3, 2012 10:16:36 AM UTC-7, Jon Stevens wrote: If you are upset by Google's pricing for SSL, please star this issue:

[google-appengine] Re: How to move data reliably from front to backends ?

2012-08-03 Thread hyperflame
Richard, I did some testing overnight, and I have some good news, and some bad news. Good news, I can give you a system that stores 1,000 users and scores in roughly 1 second. In less than a second, I can pull out all 1,000 scores, sort the scores numerically, and print out the score list. Bad

[google-appengine] Re: How to move data reliably from front to backends ?

2012-08-03 Thread Richard
Sounds interesting. but how do you handle write contention to the memcache datastorage structure from multiple F1's serving client side score submissions ? Also, I thought memcache had a size limit ? I store a lot more than just username + score (including a full stream of all actions the

[google-appengine] Re: How to move data reliably from front to backends ?

2012-08-03 Thread hyperflame
On Aug 3, 1:13 pm, Richard steven...@gmail.com wrote: Sounds interesting. but how do you handle write contention to the memcache datastorage structure from multiple F1's serving client side score submissions ? I'm sure it could be done, I have some ideas regarding that (perhaps vary the

[google-appengine] Re: How to move data reliably from front to backends ?

2012-08-03 Thread Richard
Sorry, I should have been more explicit. I thought memcache had a size limit on a single object (1MB). Now imagine I have 2000 people submitting data for a game. i don't think I will be fitting all that into 1MB. Which means I need to store multiple objects and fan out/fan in results into

[google-appengine] Re: Problem in authorizing my App Engine app to access Big Query Cloud Storage

2012-08-03 Thread Stephen Lewis
It seems that you can't do this via the API Console, but you can achieve the same effect by settings appropriate ACLs to grant permissions to your service account using gsutil: https://developers.google.com/storage/docs/gsutil_reference_guide#setorgetacls We've done this with an API project

[google-appengine] Re: How to move data reliably from front to backends ?

2012-08-03 Thread Richard
Just moved the scoring over to CloudSQL . and got Featured on Google Play Store 30 min ago. Let's PRAY that Cloud SQL saves our ass or else I am screwed. On Friday, August 3, 2012 2:38:32 PM UTC-4, Richard wrote: Sorry, I should have been more explicit. I thought memcache had a

[google-appengine] Re: How to move data reliably from front to backends ?

2012-08-03 Thread hyperflame
I'm assuming you need storage space to log past user actions so you can prevent cheating, correct? If so, couldn't you just log, say, the past 5 (or some relatively small number) of actions and check those for cheating? It's difficult to talk hypothetically about these issues without a diagram

[google-appengine] Re: How to move data reliably from front to backends ?

2012-08-03 Thread hyperflame
Congrats! Let's see some graphs afterwards, I'd be interested in seeing how Cloud SQL holds up. On Aug 3, 2:34 pm, Richard steven...@gmail.com wrote: Just moved the scoring over to CloudSQL . and got Featured on Google Play Store 30 min ago. Let's PRAY that Cloud SQL saves our ass or

[google-appengine] Re: How to move data reliably from front to backends ?

2012-08-03 Thread Richard
Well, Cloud SQL is NOT the answer it is topping out around 500 users. The extra's don't make it into the DB within the 10 second window. Then they get shown in the next window. I can 'fix' this by silently deleting the extra's and doing a client update that will insert the user into the

[google-appengine] Re: How to move data reliably from front to backends ?

2012-08-03 Thread Richard
Ditched Cloud SQL. Went back to the old system of savign lightweight DB objects. I have no idea what to do tonight when DB queries stop working again (like they do every night for the last week!) On Friday, August 3, 2012 3:55:01 PM UTC-4, Richard wrote: Well, Cloud SQL is NOT the

[google-appengine] IOError: [Errno 13] file not accessible after install setuptools

2012-08-03 Thread coto
I installed setuptools on my Macbook Pro Mountain Lion, and Babel with Jinja2 in order to run Babel locally. $ sh setuptools-0.6c11-py2.7.egg --prefix=~ --install-dir=/Library/Python/2.7/site-packages/ $ easy_install babel jinja2 After install those packages, I have this warning per any

[google-appengine] Re: How to move data reliably from front to backends ?

2012-08-03 Thread Richard
Currently moved to the following: Lightweight Score() db object has a timestamp with the following: timestamp = db.DateTimeProperty(auto_now=True) B1 backend reaps all Score()'s with a timestamp 1 min old. 20 secs after the reap, the B1 deletes all Score()'s with timestamp at least 10

[google-appengine] Re: How to move data reliably from front to backends ?

2012-08-03 Thread Richard
Number of users in a game: 522 577 575 602 623 653 259 - WTF ? 684 So, queries are still slow/lazy/bad/don't work properly. G. The fail list: - use a synchronised cron job to reap Score() . had to build my own NTP query engine because cron is unreliable under load -

Re: [google-appengine] Custom SSL certificate with more than two intermediate CAs

2012-08-03 Thread johnP
Are you using a VIP certificate? If so, you need to change the cname, as Cayden said. The ghs cname does not support VIP - SNI only. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit

Re: [google-appengine] Re: How to move data reliably from front to backends ?

2012-08-03 Thread Takashi Matsuo
On Sat, Aug 4, 2012 at 6:33 AM, Richard steven...@gmail.com wrote: Number of users in a game: 522 577 575 602 623 653 259 - WTF ? 684 So, queries are still slow/lazy/bad/don't work properly. G. The fail list: - use a synchronised cron job to reap Score() . had

Re: [google-appengine] APP DOWN due to some sort of undocumented Google security system

2012-08-03 Thread Francois Masurel
Will we have an explanation from Google or CloudFlare about what went wrong? Everything seems to be back to normal at the moment but for how long? Is GAE CDN incompatible? Thanx for your answers. Francois On Wednesday, August 1, 2012 9:06:05 PM UTC+2, Takashi Matsuo (Google) wrote: Hi

Re: [google-appengine] What are the pros and cons of using Google App engine for my startup?

2012-08-03 Thread Brandon Thomson
I'm building a startup, and I'm considering GAE as the platform, however I've been having a hard time finding information on why a startup might consider GAE instead of the many cloud providers out there. Let me explain what I'm working on. GAE is really hard to beat for most startups. I think

[google-appengine] Re: What are the pros and cons of using Google App engine for my startup?

2012-08-03 Thread hyperflame
It would be a good fit for most of those subjects, but keep in mind that GAE cannot access email through IMAP or POP3 because it doesn't support sockets, only standard url fetch. If you want to include email in your service, you'll have to base a proxy somewhere else, such as Rackspace,

Re: [google-appengine] APP DOWN due to some sort of undocumented Google security system

2012-08-03 Thread Damon Billian
Hi Francois, A Google employee already posted about the issue. Jeff, et al.-- We have verified that a configuration change on our side led to certain requests being denied / redirected. The rollback of this change started earlier this morning and should be completed shortly. We are actively

[google-appengine] Is Google Apps for your Domain going away and what's the impact for GAE users?

2012-08-03 Thread Emanuele Ziglioli
I'm puzzled: http://support.google.com/a/bin/answer.py?hl=enanswer=2669622 1. What's apps for your team? Google always used apps for your domain, where did that name come from 2. GAE has forced us to create a Google Apps for your Domain account in order to map the app to a custom domain and for

Re: [google-appengine] Re: How to move data reliably from front to backends ?

2012-08-03 Thread Richard
Hi Takashi, Yes, I read your post with a theoretical model, but unfortunately, I don't really know how to tell it to scale up/down ? -R On Friday, August 3, 2012 6:07:10 PM UTC-4, Takashi Matsuo (Google) wrote: Just wanted to make sure... Have you seen my post about auto-scaling in-memory

RE: [google-appengine] Is Google Apps for your Domain going away and what's the impact for GAE users?

2012-08-03 Thread Drake
Apps for your Team is a thing no one used, and is different from apps for domains. This likely won't affect you unless you got bamboozled a long while ago by one of the people who was a Apps Affiliate. And you'd remember because the thing would have ruined your life so long ago that you'd never

Re: [google-appengine] Re: How to move data reliably from front to backends ?

2012-08-03 Thread Takashi Matsuo
Dynamic backend instances automatically scale up/down. On Aug 4, 2012 9:21 AM, Richard steven...@gmail.com wrote: Hi Takashi, Yes, I read your post with a theoretical model, but unfortunately, I don't really know how to tell it to scale up/down ? -R On Friday, August 3, 2012 6:07:10 PM

Re: [google-appengine] Re: How to move data reliably from front to backends ?

2012-08-03 Thread Richard
6 hours of straight coding and testing later, we now have a new backend with 10 static B1's acting as a sharded memory proxy for the results. We seem to be handling around 900 players with no problems at the moment. Special thanks to Takashi for the design a lot more! Time for some much