[google-appengine] Re: Sitewide 500 errors

2010-02-02 Thread tijer
I am experiencing the same issue on my domain/appengine app, however
it seems to differ for users depending on what browser they use
(Chrome seems to be more affected than others, one user using Safari
also submitted the issue).

Pls advice

On Feb 2, 2:32 pm, Matthew Trinneer matt.trinn...@gmail.com wrote:
 I'm seeing the same thing this morning too.  Nothing in my logs, but
 site is inaccessible using Safari 4.0.4 (www.bijout.com)

 Error Message

 Error: Server Error

 The server encountered an error and could not complete your request.
 If the problem persists, please report your problem and mention this
 error message and the query that caused it.

 /Error Message

 On Feb 2, 8:00 am, Jesse Grosjean je...@hogbaysoftware.com wrote:



  I'm seeing the following error on all of my app engine sites
  including:

 https://appengine.google.com/http://www.hogbaysoftware.com/http://www...
  ...

  -
  Error: Server Error

  The server encountered an error and could not complete your request.
  If the problem persists, please report your problem and mention this
  error message and the query that caused it.

-- 
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] How to gracefully deal with the maintenance in 12 hours time

2009-08-31 Thread tijer

12 hours from now everything will revert to read-only and memcache
will fail. So, what to do? Well, x from Google provided a very useful
option on how to detect that the server has gone into read-only mode:

capabilities.CapabilitySet('datastore_v3', ['write']).is_enabled()

This will return a boolean value, and should look something like the
following in python:

from google.appengine.api import capabilities # check capabilities
with this import

if capabilities.CapabilitySet('datastore_v3', ['write']).is_enabled()
== False:
  # render page normally here, including relying on writes and
memcache
else:
  # fail gracefully here - possibly letting the user know that there's
maintenance going on and that he/she should wait half an hour and
check again

HOWEVER, there is a huge problem. I just did something similar for my
app, with the result that it immediately gave me massive quota-fails.
As soon as 100 of the capabilities.CapabilitySet('datastore_v3',
['write']).is_enabled() had been used, it began returning over-quota
errors in the logs.

I can't find the quota-reference that I have presumably been
surpassing anywhere in the documentation, but it suddenly showed up as
Capability Configs Requested and Capability Configs Recieved. This
should really have been reflected in the email sent out, or at least
in the quota documentation.

Under normal circumstances I would cache the response by is_enabled()
in memcache - but since this will not work either during maintenance -
there's really nothing to use the above for unless your site will have
less than 100 hits.

I write this, so that others might not do the same.




--~--~-~--~~~---~--~~
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] iPhone cannot log in any more, system-wide issue, Google pls help

2009-05-09 Thread tijer

To reproduce the problem go to the google-developed app
shell.appspot.com and try to login with an iphone.

It not having an iphone then spoof the useragent to the iphone (like
with Safari 4's debug menu) and try logging in then. It fails with a
500-error page.

What to do? This has been going on for two days now.

It really sux when you're developing an iPhone application :)
--~--~-~--~~~---~--~~
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] An error occurred for the API request datastore_v3.RunQuery()

2009-05-02 Thread tijer

One of the requests to my app today resulted in this weird error,
resulting in a blank page for the user. After a refresh it went away.

It has happened a few other times, but it seems that there is nothing
I can do to avoid a blank page when it happens. The error looks like
this:

Error: An error occurred for the API request datastore_v3.RunQuery().

Is there any explanation for it?

the app id is rby, the error occoured at 05-02 10:59AM 00.005
--~--~-~--~~~---~--~~
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] What does api_cpu_ms mean?

2009-04-29 Thread tijer

Since around some time last week a ms-count for api_cpu began showing
up next to the normal cpu ms-count in the App Engine Dashboard and
logs. So what does this new api_cpu_ms mean? Is it datastore-use and
alle the other apis compared to processing it in the script?

Thx
--~--~-~--~~~---~--~~
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] Extreme amount of timeouts and other errors today

2009-04-23 Thread tijer

There seems to be an extreme amount of timeouts and other errors
today.

My app is almost inaccessible... From the System Status I cannot see
anything bout this situation, can somebody from Google please respond
to the situation?
--~--~-~--~~~---~--~~
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] The new Google Analytics API and App Engine

2009-04-21 Thread tijer

Hi, I'm trying to use the new Google Analytics API with App Engine.

It works great on the development server locally, but as soon as I
upload it to the production environment the authorization doesn't seem
to go through.

I call https://www.google.com/accounts/ClientLogin as specified in the
api, then I pull the Auth= part and add it to an Authorization header
that calls Google Analytics for a crosscut of data.

It works in the development server, but when I do the same in the
production environment I get the Auth= token from
https://www.google.com/accounts/ClientLogin just fine, but as soon as
I call Analytics using the token I get an error that the Authorization
did not come through.

Is the Authorization header disabled in the production environment? Or
how do I solve this problem?

Thx
--~--~-~--~~~---~--~~
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] Error returned on images in static dir

2009-01-04 Thread tijer

This morning some weird behavior began to emerge on my application.
Some of the images began to give errors even though they are placed in
a static dir and have nothing to do with the python-code (hence it
could not be an error somewhere here). Moving the image away from the
folder, uploading the app (without the image), then placing the image
back and uploading again seems to fix it. But then some other image or
series of images in the static dir instead begin to return errors.

This is very odd behavior, are you guys (Google AppEngine team)
working on something and I'm seeing the sideeffects of it?
--~--~-~--~~~---~--~~
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: Does the datastore cache?

2008-09-19 Thread tijer

To follow up... Users are reporting that they do in fact not see the
newest page when they go to the site, and have to reload or force-
reload the page a couple of times before they get updated content...

It is unclear to me whether the error lies in the datastore or in some
cached-page setting that have been implemented recently by google. I
did however check the headers to see that the server isnt sending back
cache-allow pages, and that the browser doesn't request that...

Could someone from google please look this through? It will render App
Engine completely useless for anything but static content over time...

On Sep 19, 7:31 am, tijer [EMAIL PROTECTED] wrote:
 I have the same problem... my webpage is suddenly frustrating for many
 users because of this newly introduced latency... I don't know what to
 say but this is not what I expected from google... When something is
 submitted you're being redirected to it - but it results in 404
 because the datastore seems to not work properly any more... It's been
 like this for more than a day now...

 :(

 On Sep 19, 7:08 am, Andreas Krohn [EMAIL PROTECTED] wrote:



  Changes made to datastore entities are not available via GQL requests.
  My users can change some configurations, these configs are stored in
  the datastore and then retreived there via a GQL request and get().
  The problem is that the GQL request picks up the old values (ie before
  the user changed the config) and not the new ones. I am not using
  Memcache or any other cache as far as I am aware of.

  If I take a look in the users admin panel the value shown there is
  correct, and this is also picked up via a GQL get() request. What I
  suspect is happening is that the Datastore caches the requests somehow
  and I just get the cached value, not the current value.

  Is there such a datastore cache in place? If there is, how do I get
  around it so that I am sure that I am always getting the current
  value?

  Thanks
  /Andreas- 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---