Hi,

I am getting query expired error. Here is the complete text of the
error.

"The requested query has expired. Please restart it with the last
cursor to read more results."

This error occurs in one of the queued tasks. The task succeeds with a
status code of 200. The code of the handler in which the error occurs
uses iterator returned by db.Query.run() to get the result from the
datastore. I have looked at the code of the App Engine SDK and I can
see that the iterator uses cursor to iterate over the result. I have
tried to find the text of the error in the SDK to get any clue on how
to solve the error but I did not find the text anywhere which makes me
think that this error can only occur on the production server.

The only thing I can perceive from this error is that the cursor
responsible to get the result expires during the execution of the task
but I have no clue which cursor as there are multiple places where
cursors returned by db.Query.run() are used.

Any help is appreciated. Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
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.

Reply via email to