[google-appengine] Re: Error
Was same here for a while...same for visiting appspot.com. app id: khanexercises On Jun 28, 6:20 am, Atif Gulzar atif.gul...@gmail.com wrote: Same here. -- Best Regards, Atif Gulzar I Unicode, ɹɐzlnƃ ɟıʇɐ On Tue, Jun 28, 2011 at 6:16 PM, Massimiliano massimiliano.pietr...@gmail.com wrote: Hi, I'm trying to access my applications, but I'm displaying the message below. Please help. Server Error A server error has occurred. Return to Applications screen » https://appengine.google.com/ -- http://www.twitter.com/grostein www.themaxbuddies.comhttp://goo.gl/WoxEN Ti serve dropbox?https://www.dropbox.com/referrals/NTI4MzgyMjM5?src=ab_global8 -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Is AppEngine Down ??
Same problems here, consistently for many hours. app id: 'khanexercises' On Jun 27, 2:19 am, Joops john.b...@gmail.com wrote: Just to add a likely irrelevant point of data. My very low traffic HR app is fine. On Jun 27, 10:01 am, Waleed Abdulla wal...@ninua.com wrote: Same here. A lot of writes are timing out for several hours now (m/s datastore), even though the app engine status page doesn't show anything out of the ordinary. On Sun, Jun 26, 2011 at 10:43 PM, Robert Kluin robert.kl...@gmail.comwrote: Yeah also seeing huge spike in deadline exceeded errors on Master Slave apps right now. On Mon, Jun 27, 2011 at 01:39, Mike mickn...@gmail.com wrote: I am seeing this also, and getting user complaints... Anyone oncall reading this? On Jun 27, 3:32 pm, Atif Gulzar atif.gul...@gmail.com wrote: Hi, Many of our applications at GAE are facing deadline exceed errors? -- Best Regards, Atif Gulzar I Unicode, ɹɐzlnƃ ɟıʇɐ -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.-Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Seemingly random TemplateNotFound errors only on specific instances
This is now fixed. Was caused by some instances being spun up by / mapreduce requests, which are initially handled by a non-main.py handler, which meant that our django settings (specifically the template loader) were not being configured correctly. On Apr 30, 9:09 am, kamens kam...@gmail.com wrote: We've started seeing bursts of TemplateNotFound errors when invoking fairly standard template rendering code: __ from django.template.loader import render_to_string path = os.path.join(os.path.dirname(__file__), 'video_comments_content.html') html = render_to_string(path, {}) __ and the error that is seen somewhat randomly: __ /base/data/home/apps/khanexercises/de514da0ee02.350078430120358844/ discussion/video_comments_content.html Traceback (most recent call last): File /base/python_runtime/python_lib/versions/1/google/appengine/ ext/webapp/__init__.py, line 634, in __call__ handler.get(*groups) File /base/data/home/apps/khanexercises/ de514da0ee02.350078430120358844/discussion/comments.py, line 39, in get html = render_to_string(path, template_values) File /base/python_runtime/python_lib/versions/third_party/ django-0.96/django/template/loader.py, line 101, in render_to_string t = get_template(template_name) File /base/python_runtime/python_lib/versions/third_party/ django-0.96/django/template/loader.py, line 79, in get_template source, origin = find_template_source(template_name) File /base/python_runtime/python_lib/versions/third_party/ django-0.96/django/template/loader.py, line 72, in find_template_source raise TemplateDoesNotExist, name TemplateDoesNotExist: /base/data/home/apps/khanexercises/ de514da0ee02.350078430120358844/discussion/video_comments_content.html __ For some reason these errors only show up on specific instances. We've tried redeploying, but after a few hours I come back to check the console and see tons of these errors. When I look at the Instances panel, I can see that all instances are fine (0 or 1 errors) and one or two are disastrous (100+ errors). It's extremely hard to reproduce the crash because sometimes we have 100 instances running, so reloading the page over and over almost always works (I was only able to see the crash once, presumably when my request was routed to a problematic instance, but I did verify that it's happening). It's almost as if some of the instances are brought up either without that specific template file or with a different template loading environment. Note that the path in that error report .../discussion/ video_comments_content.html looks correct to me. Thanks in advance. appid: khanexercises -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Seemingly random TemplateNotFound errors only on specific instances
We've started seeing bursts of TemplateNotFound errors when invoking fairly standard template rendering code: __ from django.template.loader import render_to_string path = os.path.join(os.path.dirname(__file__), 'video_comments_content.html') html = render_to_string(path, {}) __ and the error that is seen somewhat randomly: __ /base/data/home/apps/khanexercises/de514da0ee02.350078430120358844/ discussion/video_comments_content.html Traceback (most recent call last): File /base/python_runtime/python_lib/versions/1/google/appengine/ ext/webapp/__init__.py, line 634, in __call__ handler.get(*groups) File /base/data/home/apps/khanexercises/ de514da0ee02.350078430120358844/discussion/comments.py, line 39, in get html = render_to_string(path, template_values) File /base/python_runtime/python_lib/versions/third_party/ django-0.96/django/template/loader.py, line 101, in render_to_string t = get_template(template_name) File /base/python_runtime/python_lib/versions/third_party/ django-0.96/django/template/loader.py, line 79, in get_template source, origin = find_template_source(template_name) File /base/python_runtime/python_lib/versions/third_party/ django-0.96/django/template/loader.py, line 72, in find_template_source raise TemplateDoesNotExist, name TemplateDoesNotExist: /base/data/home/apps/khanexercises/ de514da0ee02.350078430120358844/discussion/video_comments_content.html __ For some reason these errors only show up on specific instances. We've tried redeploying, but after a few hours I come back to check the console and see tons of these errors. When I look at the Instances panel, I can see that all instances are fine (0 or 1 errors) and one or two are disastrous (100+ errors). It's extremely hard to reproduce the crash because sometimes we have 100 instances running, so reloading the page over and over almost always works (I was only able to see the crash once, presumably when my request was routed to a problematic instance, but I did verify that it's happening). It's almost as if some of the instances are brought up either without that specific template file or with a different template loading environment. Note that the path in that error report .../discussion/ video_comments_content.html looks correct to me. Thanks in advance. appid: khanexercises -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Subclassing webapp.RequestHandler and GAE error logging
Does Google App Engine's error logging (as seen on the Dashboard) rely on webapp.RequestHandler.handle_exception being called? In other words, if I subclass webapp.RequestHandler, implement handle_exception, and one of my code paths does not call webapp.RequestHandler.handle_exception, will the dashboard continue to count/display these crashes? Example: class RequestHandler(webapp.RequestHandler): def handle_exception(self, e, *args): if False: return webapp.RequestHandler.handle_exception(self, e, args) Note that I'm trying to implement a custom error handler for all crashes to, say, send the error to another service and render a custom error page. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Subclassing webapp.RequestHandler and GAE error logging
Nevermind, I think I answered my own question via Nick Johnson's post here: http://stackoverflow.com/questions/1318960/python-gae-web-request-error-handling ...it looks like it's safe to call handle_exception on all code paths b/c only the debug version prints anything to response.out. On Feb 20, 11:13 am, kamens kam...@gmail.com wrote: Does Google App Engine's error logging (as seen on the Dashboard) rely on webapp.RequestHandler.handle_exception being called? In other words, if I subclass webapp.RequestHandler, implement handle_exception, and one of my code paths does not call webapp.RequestHandler.handle_exception, will the dashboard continue to count/display these crashes? Example: class RequestHandler(webapp.RequestHandler): def handle_exception(self, e, *args): if False: return webapp.RequestHandler.handle_exception(self, e, args) Note that I'm trying to implement a custom error handler for all crashes to, say, send the error to another service and render a custom error page. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Hourly bursts of deadline exceeded errors
Is there an Issue open for this so we can track when the change has been made? Same problem on our app (id: khanexercises). On Jan 12, 2:54 pm, Ikai Lan (Google) ikai.l+gro...@google.com wrote: Hey guys, sorry about the delay getting back to you on this, but I wanted to get the answer before posting. There was a push made to an hour job that computes quotas. The push inadvertently locks blocks of data so they cannot be written. In the short term, we've changed the job to lock far less frequently, and we are moving to a model where locks are infrequent or unnecessary. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:http://googleappengine.blogspot.com Reddit:http://www.reddit.com/r/appengine Twitter:http://twitter.com/app_engine On Tue, Jan 11, 2011 at 5:51 PM, Raymond C. windz...@gmail.com wrote: looking forward to reply from google, as least if there is any possible solution to tackle this. It seems to me that this is an issue with Google's server. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib e...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Unable to deploy since 3.10pm EST
Same exact situation/error here. On Dec 22, 3:20 pm, Sundar cyberto...@gmail.com wrote: I keep getting the following from about 3.10pm EST, when trying to deploy my application: Error 500: --- begin server output --- htmlhead meta http-equiv=content-type content=text/html;charset=utf-8 title500 Server Error/title /head body text=#00 bgcolor=#ff h1Error: Server Error/h1 h2The server encountered an error and could not complete your request.pIf the problem persists, please A HREF=http://code.google.com/appengine/community.html;report/A your problem and mention this error message and the query that caused it./h2 h2/h2 /body/html --- end server output --- I was able to deploy to one application just fine, then the second failed, and now the first also fails. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Unable to deploy since 3.10pm EST
If it helps: App ID: khanexercises On Dec 22, 3:22 pm, kamens kam...@gmail.com wrote: Same exact situation/error here. On Dec 22, 3:20 pm, Sundar cyberto...@gmail.com wrote: I keep getting the following from about 3.10pm EST, when trying to deploy my application: Error 500: --- begin server output --- htmlhead meta http-equiv=content-type content=text/html;charset=utf-8 title500 Server Error/title /head body text=#00 bgcolor=#ff h1Error: Server Error/h1 h2The server encountered an error and could not complete your request.pIf the problem persists, please A HREF=http://code.google.com/appengine/community.html;report/A your problem and mention this error message and the query that caused it./h2 h2/h2 /body/html --- end server output --- I was able to deploy to one application just fine, then the second failed, and now the first also fails. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] etags and webkit's response -- any way to disable in GAE?
Situation: running a Google App Engine site with my static content's default_expiration set to 14d Problem: in Chrome and Safari, visiting a URL (not reloading, just putting the cursor in the address bar and hitting Enter), causes a ton of requests to be fired with If-None-Match headers. The responses are always 304 Not Modified, as expected. I can watch these requests get fired in a debugging proxy like Charles or Fiddler. Want: to avoid these requests and 304 responses entirely for static content -- simply trust the browser's cached content when it's available. We use the standard cache static content for a really long time, we'll take care of appending ?version={version} modifications to our query strings when we need to bust the cache system, so we'd really like to avoid the 304's. Belief: I think this is caused by the etag header that app engine sends down with every static content response. The app engine SDK does not send this header down, and I don't see this 304 behavior when messing around with the SDK. Any advice? Can you turn off etags for app engine's static content? Updated with an example piece of static content: http://www.khanacademy.org/stylesheets/default.css?846.346809036617399050 See a full summary of this question and various responses here: http://stackoverflow.com/questions/4406651/webkit-etags-and-google-app-engine-caching-behavior -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: etags and webkit's response -- any way to disable in GAE?
Yes, they have the proper Expires headers. As described in http://stackoverflow.com/questions/4406651/webkit-etags-and-google-app-engine-caching-behavior, it appears as though expires is overruled by the Etags header and its need to send an If-None-Match request. On Dec 15, 12:31 pm, 风笑雪 kea...@gmail.com wrote: It works fine with Chrome 7 and Safari 5 on Windows XP in my app, no any requests are sent after the first visiting. Have you checked the static files if they had an Expires header? Also don't enable resource tracking for webkit which will always request for all the resources, just check the background logs. -- keakon My blog(Chinese):www.keakon.net Blog source code:https://bitbucket.org/keakon/doodle/ On Wed, Dec 15, 2010 at 9:50 AM, kamens kam...@gmail.com wrote: Situation: running a Google App Engine site with my static content's default_expiration set to 14d Problem: in Chrome and Safari, visiting a URL (not reloading, just putting the cursor in the address bar and hitting Enter), causes a ton of requests to be fired with If-None-Match headers. The responses are always 304 Not Modified, as expected. I can watch these requests get fired in a debugging proxy like Charles or Fiddler. Want: to avoid these requests and 304 responses entirely for static content -- simply trust the browser's cached content when it's available. We use the standard cache static content for a really long time, we'll take care of appending ?version={version} modifications to our query strings when we need to bust the cache system, so we'd really like to avoid the 304's. Belief: I think this is caused by the etag header that app engine sends down with every static content response. The app engine SDK does not send this header down, and I don't see this 304 behavior when messing around with the SDK. Any advice? Can you turn off etags for app engine's static content? Updated with an example piece of static content: http://www.khanacademy.org/stylesheets/default.css?846.34680903661739... See a full summary of this question and various responses here: http://stackoverflow.com/questions/4406651/webkit-etags-and-google-ap... -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib e...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.