[google-appengine] Re: The server encountered an error and could not complete your request.

2013-02-13 Thread Kristopher Giesing
That typically means your app returned a 500 error code to whatever was 
fetching the document (it's not clear below whether you're running in a 
browser or making an API call from an app or something else).

You should check the admin console for the deployed app and go to the logs 
section.  Any query that returns a 500 should be tagged as an error, so if 
you filter on that you should see the full log for the failed query.  A 500 
is returned in numerous circumstances; one of the more common cases is a 
null pointer exception in your Java code, just to give you an idea.  But 
the log should tell you what happened in any case.

https://developers.google.com/appengine/docs/adminconsole/index

- Kris

On Monday, February 11, 2013 8:02:01 PM UTC-8, inviteef...@gmail.com wrote:

 Hi all,

 I used JDO to implement a query. Everything is fine in my localhost. But 
 when I deployed my code, it shows:

 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.
 for the query page.

 I didn't get any error in eclipse console, nor warning. And I did exactly 
 as the 
 https://developers.google.com/appengine/docs/java/datastore/jdo/queries
 the page can be fine as long as I do not process the results. What might 
 be wrong? Anyone have any suggestions?

 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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Re: The server encountered an error ?

2010-10-28 Thread Ikai Lan (Google)
Hey guys, thanks for hanging in there with us. The official downtime-notify
thread is here:

http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/ef6283c1566c401d

If you aren't subscribed to this list, please do so.

Also note that we have a maintenance period on November 6th (Saturday).

--
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 Wed, Oct 27, 2010 at 9:23 PM, Tim Jones t...@eff.org wrote:

 +1, it is appreciated.
 =T=


 On Oct 27, 2010, at 8:53 PM, supercobra wrote:

  Awesome.
  --
  superco...@gmail.com
 
 
 
  On Wed, Oct 27, 2010 at 10:24 PM, Raymond C. windz...@gmail.com wrote:
  Thanks GAE team for the quick action~
 
  On Oct 28, 11:12 am, Sundar cyberto...@gmail.com wrote:
  And now it's all ok. It's amazing how well it works when it does, and
 how I
  have crazy anxiety when things go wonky on GAE :)
 
 
 
  On Wed, Oct 27, 2010 at 11:04 PM, Sundar cyberto...@gmail.com wrote:
  Would a state of elevated for datastor or task queues affect
 deployments?
  I'm unable to deploy my app.
 
  On Wed, Oct 27, 2010 at 11:02 PM, blackpawn 
 pharmapsycho...@gmail.comwrote:
 
  yep me too.  system status says there is an Anomaly with the
 Datastore
  that is being investigated.  :O
 
  --
  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%2bunsubscr...@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.comgoogle-appengine%2bunsubscr...@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.comgoogle-appengine%2bunsubscr...@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.comgoogle-appengine%2bunsubscr...@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: The server encountered an error ?

2010-10-27 Thread Dan Paul
It's not just you, I'm getting the same error as a user to GQueues. It
is when trying to authenticate using the Google Apps account.

I'm guessing unscheduled maintenance

-- 
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: The server encountered an error ?

2010-10-27 Thread Bethany
I have been getting the same error message off and on for 2
days...quite annoying. I just cant figure out why one minute it works
and the next it dont.

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



Re: [google-appengine] Re: The server encountered an error ?

2010-10-27 Thread Rohit
I was getting lots of DeadLineExceeded exceptions. The status page showed
Elevated for both the datastore and task queues.



On Wed, Oct 27, 2010 at 7:53 PM, Bethany bethanyp...@gmail.com wrote:

 I have been getting the same error message off and on for 2 days...quite
 annoying. I just cant figure out why one minute it works and the next it
 dont.

 --
 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%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.




-- 
Rohit

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



Re: [google-appengine] Re: The server encountered an error ?

2010-10-27 Thread Dmitry Anipko
I'm seeing the same for app uploads :( Errors 500 and then 409, because
rollback in upload has not finished correctly.

On Wed, Oct 27, 2010 at 7:54 PM, Rohit rjenv...@gmail.com wrote:

 I was getting lots of DeadLineExceeded exceptions. The status page showed
 Elevated for both the datastore and task queues.



 On Wed, Oct 27, 2010 at 7:53 PM, Bethany bethanyp...@gmail.com wrote:

 I have been getting the same error message off and on for 2 days...quite
 annoying. I just cant figure out why one minute it works and the next it
 dont.

 --
 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%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.




 --
 Rohit

 --
 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%2bunsubscr...@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.



Re: [google-appengine] Re: The server encountered an error ?

2010-10-27 Thread blackpawn
yep me too. system status says there is an Anomaly with the Datastore
that is being investigated. :O

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



Re: [google-appengine] Re: The server encountered an error ?

2010-10-27 Thread bethany pond
Error 500 is the one i get over and over again :(

On Wed, Oct 27, 2010 at 10:00 PM, Dmitry Anipko dmitry.ani...@gmail.comwrote:

 I'm seeing the same for app uploads :( Errors 500 and then 409, because
 rollback in upload has not finished correctly.


 On Wed, Oct 27, 2010 at 7:54 PM, Rohit rjenv...@gmail.com wrote:

 I was getting lots of DeadLineExceeded exceptions. The status page showed
 Elevated for both the datastore and task queues.



 On Wed, Oct 27, 2010 at 7:53 PM, Bethany bethanyp...@gmail.com wrote:

 I have been getting the same error message off and on for 2 days...quite
 annoying. I just cant figure out why one minute it works and the next it
 dont.

 --
 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%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.




 --
 Rohit

 --
 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%2bunsubscr...@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.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.




-- 
Bethany Pond

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



Re: [google-appengine] Re: The server encountered an error ?

2010-10-27 Thread Sundar
Would a state of elevated for datastor or task queues affect deployments?
I'm unable to deploy my app.

On Wed, Oct 27, 2010 at 11:02 PM, blackpawn pharmapsycho...@gmail.comwrote:

 yep me too.  system status says there is an Anomaly with the Datastore that
 is being investigated.  :O

 --
 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%2bunsubscr...@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.



Re: [google-appengine] Re: The server encountered an error ?

2010-10-27 Thread supercobra
We experience lots of timeouts too. I think Google guys are trying to
upgrade their infrastructure during the nights and we see some side
effects...

--
superco...@gmail.com



On Wed, Oct 27, 2010 at 10:04 PM, Sundar cyberto...@gmail.com wrote:
 Would a state of elevated for datastor or task queues affect deployments?
 I'm unable to deploy my app.

 On Wed, Oct 27, 2010 at 11:02 PM, blackpawn pharmapsycho...@gmail.com
 wrote:

 yep me too.  system status says there is an Anomaly with the Datastore
 that is being investigated.  :O

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

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


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



Re: [google-appengine] Re: The server encountered an error ?

2010-10-27 Thread Sundar
And now it's all ok. It's amazing how well it works when it does, and how I
have crazy anxiety when things go wonky on GAE :)

On Wed, Oct 27, 2010 at 11:04 PM, Sundar cyberto...@gmail.com wrote:

 Would a state of elevated for datastor or task queues affect deployments?
 I'm unable to deploy my app.


 On Wed, Oct 27, 2010 at 11:02 PM, blackpawn pharmapsycho...@gmail.comwrote:

 yep me too.  system status says there is an Anomaly with the Datastore
 that is being investigated.  :O

 --
 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%2bunsubscr...@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: The server encountered an error ?

2010-10-27 Thread Raymond C.
Thanks GAE team for the quick action~

On Oct 28, 11:12 am, Sundar cyberto...@gmail.com wrote:
 And now it's all ok. It's amazing how well it works when it does, and how I
 have crazy anxiety when things go wonky on GAE :)



 On Wed, Oct 27, 2010 at 11:04 PM, Sundar cyberto...@gmail.com wrote:
  Would a state of elevated for datastor or task queues affect deployments?
  I'm unable to deploy my app.

  On Wed, Oct 27, 2010 at 11:02 PM, blackpawn 
  pharmapsycho...@gmail.comwrote:

  yep me too.  system status says there is an Anomaly with the Datastore
  that is being investigated.  :O

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



Re: [google-appengine] Re: The server encountered an error ?

2010-10-27 Thread supercobra
Awesome.
--
superco...@gmail.com



On Wed, Oct 27, 2010 at 10:24 PM, Raymond C. windz...@gmail.com wrote:
 Thanks GAE team for the quick action~

 On Oct 28, 11:12 am, Sundar cyberto...@gmail.com wrote:
 And now it's all ok. It's amazing how well it works when it does, and how I
 have crazy anxiety when things go wonky on GAE :)



 On Wed, Oct 27, 2010 at 11:04 PM, Sundar cyberto...@gmail.com wrote:
  Would a state of elevated for datastor or task queues affect deployments?
  I'm unable to deploy my app.

  On Wed, Oct 27, 2010 at 11:02 PM, blackpawn 
  pharmapsycho...@gmail.comwrote:

  yep me too.  system status says there is an Anomaly with the Datastore
  that is being investigated.  :O

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



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



Re: [google-appengine] Re: The server encountered an error ?

2010-10-27 Thread Tim Jones
+1, it is appreciated.
=T=


On Oct 27, 2010, at 8:53 PM, supercobra wrote:

 Awesome.
 --
 superco...@gmail.com
 
 
 
 On Wed, Oct 27, 2010 at 10:24 PM, Raymond C. windz...@gmail.com wrote:
 Thanks GAE team for the quick action~
 
 On Oct 28, 11:12 am, Sundar cyberto...@gmail.com wrote:
 And now it's all ok. It's amazing how well it works when it does, and how I
 have crazy anxiety when things go wonky on GAE :)
 
 
 
 On Wed, Oct 27, 2010 at 11:04 PM, Sundar cyberto...@gmail.com wrote:
 Would a state of elevated for datastor or task queues affect deployments?
 I'm unable to deploy my app.
 
 On Wed, Oct 27, 2010 at 11:02 PM, blackpawn 
 pharmapsycho...@gmail.comwrote:
 
 yep me too.  system status says there is an Anomaly with the Datastore
 that is being investigated.  :O
 
 --
 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.
 
 
 
 -- 
 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.
 

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



Re: [google-appengine] Re: The server encountered an error and could not complete your request.

2010-03-06 Thread Waleed Abdulla
I think I know what's happening now, so I'm sharing it for everyone's
benefit. I was using the feedparser library to parse a feed, and that got
into some sort of infinite loop. What worries me, though, is the fact that
the App Engine didn't log any information from any of the logging.info()
messages that executed before reaching the infinite loop, which made it
really hard to find out what was going on. On localhost, the logging happens
even if the process dies eventually, but on the live app engine that doesn't
seem to be the case.

Waleed




On Thu, Mar 4, 2010 at 10:49 PM, Waleed Abdulla wal...@ninua.com wrote:

 I might have more information after a lot of testing. It seems that if an
 internal error happens while processing the request on the App Engine, then
 that process is killed and none of the log messages are recorded. Can
 someone from Google confirm this?

 That might explain why I don't see any of the my logging.info() messages,
 which led me to think that that request is not hitting my app. Anyone else
 experienced this?

 Waleed




 On Tue, Mar 2, 2010 at 4:57 PM, Waleed Abdulla wal...@ninua.com wrote:

 Hi Mark,
 I'm testing this on my dev app, which has no load at all, so it's not
 the simultaneous requests limit. Although the same problem happens on the
 production app for that specific request. It's a reproducible problem. This
 is what I see in the logs:


 03-02 04:42PM 08.454 /api/pshb?bid=363429source=ppphub=http%3A%2F%
 2Fdev.networkedblogs.com%2Ftopic=http%3A%2F%
 2Fchaoswrappedinchocolate-coveredgrins.blogspot.com%2Ffeeds%2Fposts%2Fdefaultsig=6aed0a71ee0d7573fe6fc37a7f40ac6f5f27071f
 500 40097ms 8cpu_ms 8api_cpu_ms 0kb NetworkedBlogs,gzip(gfe),gzip(gfe)

 173.203.209.168 - - [02/Mar/2010:16:42:48 -0800] POST
 /api/pshb?bid=363429source=ppphub=http%3A%2F%2Fdev.networkedblogs.com
 %2Ftopic=http%3A%2F%2Fchaoswrappedinchocolate-coveredgrins.blogspot.com%2Ffeeds%2Fposts%2Fdefaultsig=6aed0a71ee0d7573fe6fc37f7f40ac6f5f27071f
 HTTP/1.1 500 0 - NetworkedBlogs,gzip(gfe),gzip(gfe)


 I have a logging.info() statement right at the start of the app as
 follows:

 def main():
 logging.info(processing request)
 wsgiref.handlers.CGIHandler().run(application)

 But I don't see that info message in the log, so I'm taking that to
 mean that the execution is not hitting my app. I don't see any other details
 in the log other than what I lited above. The size of the POST body I'm
 sending is 139836 bytes, which is not that big.

 Any other ideas?


 Regards,
 Waleed




 On Tue, Mar 2, 2010 at 8:29 AM, Marc Provost mprov...@gmail.com wrote:

 Hi Waleed,

 You are not seeing any errors/warnings in the logs? There are a few
 possibilities here.

 If the request hits your app:

 * You could be hitting the 30 seconds limit (maybe because the input
 is too large or something). You should see an error in the logs.
 * Your code could also be raising an exception that you do not catch.
 You should see an error in the logs.
 * It is also possible that the return status of the request is set to
 500 somehow. In this case, if your application could silently catch
 the exception without logging anything. But you should be able to
 debug it by logging info messages in your request handler.

 If your request does not hit your app:

 * You could be hitting the simultaneous requests limit. That's a
 warning in the logs, but it shouldn't be reproducible every time.

 Hope it helps,
 Marc

 On Mar 2, 3:09 am, Waleed wal...@ninua.com wrote:
  I'm getting this error for some requests:
 
  The server encountered an error and could not complete your
  request.pIf the problem persists, please A HREF=http://
  code.google.com/appengine/community.htmlreport/A your problem and
  mention this error message and the query that caused it.
 
  It's repeatable and the error happens every time for that specific
  request I'm sending. I tested with another AE app and I get the same
  problem. The request doesn't seem to be hitting my app, but fails
  before that, so I can't do anything about it. When I submit the same
  request with different data in the POST body, it goes through and
  works well.
 
  My request is a simple POST with a blog feed in the body of the post.
  Nothing particularly unique about it. And as I mentioned earlier, it
  works for most feeds, except for a few where it breaks 100% of the
  time.
 
  How can I debug this? Can anyone shed some light? App id is:
  networkedblogs

 --
 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%2bunsubscr...@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 

Re: [google-appengine] Re: The server encountered an error and could not complete your request.

2010-03-04 Thread Waleed Abdulla
I might have more information after a lot of testing. It seems that if an
internal error happens while processing the request on the App Engine, then
that process is killed and none of the log messages are recorded. Can
someone from Google confirm this?

That might explain why I don't see any of the my logging.info() messages,
which led me to think that that request is not hitting my app. Anyone else
experienced this?

Waleed



On Tue, Mar 2, 2010 at 4:57 PM, Waleed Abdulla wal...@ninua.com wrote:

 Hi Mark,
 I'm testing this on my dev app, which has no load at all, so it's not
 the simultaneous requests limit. Although the same problem happens on the
 production app for that specific request. It's a reproducible problem. This
 is what I see in the logs:


 03-02 04:42PM 08.454 /api/pshb?bid=363429source=ppphub=http%3A%2F%
 2Fdev.networkedblogs.com%2Ftopic=http%3A%2F%
 2Fchaoswrappedinchocolate-coveredgrins.blogspot.com%2Ffeeds%2Fposts%2Fdefaultsig=6aed0a71ee0d7573fe6fc37a7f40ac6f5f27071f
 500 40097ms 8cpu_ms 8api_cpu_ms 0kb NetworkedBlogs,gzip(gfe),gzip(gfe)

 173.203.209.168 - - [02/Mar/2010:16:42:48 -0800] POST
 /api/pshb?bid=363429source=ppphub=http%3A%2F%2Fdev.networkedblogs.com
 %2Ftopic=http%3A%2F%2Fchaoswrappedinchocolate-coveredgrins.blogspot.com%2Ffeeds%2Fposts%2Fdefaultsig=6aed0a71ee0d7573fe6fc37f7f40ac6f5f27071f
 HTTP/1.1 500 0 - NetworkedBlogs,gzip(gfe),gzip(gfe)


 I have a logging.info() statement right at the start of the app as
 follows:

 def main():
 logging.info(processing request)
 wsgiref.handlers.CGIHandler().run(application)

 But I don't see that info message in the log, so I'm taking that to
 mean that the execution is not hitting my app. I don't see any other details
 in the log other than what I lited above. The size of the POST body I'm
 sending is 139836 bytes, which is not that big.

 Any other ideas?


 Regards,
 Waleed




 On Tue, Mar 2, 2010 at 8:29 AM, Marc Provost mprov...@gmail.com wrote:

 Hi Waleed,

 You are not seeing any errors/warnings in the logs? There are a few
 possibilities here.

 If the request hits your app:

 * You could be hitting the 30 seconds limit (maybe because the input
 is too large or something). You should see an error in the logs.
 * Your code could also be raising an exception that you do not catch.
 You should see an error in the logs.
 * It is also possible that the return status of the request is set to
 500 somehow. In this case, if your application could silently catch
 the exception without logging anything. But you should be able to
 debug it by logging info messages in your request handler.

 If your request does not hit your app:

 * You could be hitting the simultaneous requests limit. That's a
 warning in the logs, but it shouldn't be reproducible every time.

 Hope it helps,
 Marc

 On Mar 2, 3:09 am, Waleed wal...@ninua.com wrote:
  I'm getting this error for some requests:
 
  The server encountered an error and could not complete your
  request.pIf the problem persists, please A HREF=http://
  code.google.com/appengine/community.htmlreport/A your problem and
  mention this error message and the query that caused it.
 
  It's repeatable and the error happens every time for that specific
  request I'm sending. I tested with another AE app and I get the same
  problem. The request doesn't seem to be hitting my app, but fails
  before that, so I can't do anything about it. When I submit the same
  request with different data in the POST body, it goes through and
  works well.
 
  My request is a simple POST with a blog feed in the body of the post.
  Nothing particularly unique about it. And as I mentioned earlier, it
  works for most feeds, except for a few where it breaks 100% of the
  time.
 
  How can I debug this? Can anyone shed some light? App id is:
  networkedblogs

 --
 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%2bunsubscr...@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: The server encountered an error and could not complete your request.

2010-03-02 Thread Marc Provost
Hi Waleed,

You are not seeing any errors/warnings in the logs? There are a few
possibilities here.

If the request hits your app:

* You could be hitting the 30 seconds limit (maybe because the input
is too large or something). You should see an error in the logs.
* Your code could also be raising an exception that you do not catch.
You should see an error in the logs.
* It is also possible that the return status of the request is set to
500 somehow. In this case, if your application could silently catch
the exception without logging anything. But you should be able to
debug it by logging info messages in your request handler.

If your request does not hit your app:

* You could be hitting the simultaneous requests limit. That's a
warning in the logs, but it shouldn't be reproducible every time.

Hope it helps,
Marc

On Mar 2, 3:09 am, Waleed wal...@ninua.com wrote:
 I'm getting this error for some requests:

 The server encountered an error and could not complete your
 request.pIf the problem persists, please A HREF=http://
 code.google.com/appengine/community.htmlreport/A your problem and
 mention this error message and the query that caused it.

 It's repeatable and the error happens every time for that specific
 request I'm sending. I tested with another AE app and I get the same
 problem. The request doesn't seem to be hitting my app, but fails
 before that, so I can't do anything about it. When I submit the same
 request with different data in the POST body, it goes through and
 works well.

 My request is a simple POST with a blog feed in the body of the post.
 Nothing particularly unique about it. And as I mentioned earlier, it
 works for most feeds, except for a few where it breaks 100% of the
 time.

 How can I debug this? Can anyone shed some light? App id is:
 networkedblogs

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



Re: [google-appengine] Re: The server encountered an error and could not complete your request.

2010-03-02 Thread Waleed Abdulla
Hi Mark,
I'm testing this on my dev app, which has no load at all, so it's not
the simultaneous requests limit. Although the same problem happens on the
production app for that specific request. It's a reproducible problem. This
is what I see in the logs:


03-02 04:42PM 08.454 /api/pshb?bid=363429source=ppphub=http%3A%2F%
2Fdev.networkedblogs.com%2Ftopic=http%3A%2F%
2Fchaoswrappedinchocolate-coveredgrins.blogspot.com%2Ffeeds%2Fposts%2Fdefaultsig=6aed0a71ee0d7573fe6fc37a7f40ac6f5f27071f
500 40097ms 8cpu_ms 8api_cpu_ms 0kb NetworkedBlogs,gzip(gfe),gzip(gfe)

173.203.209.168 - - [02/Mar/2010:16:42:48 -0800] POST
/api/pshb?bid=363429source=ppphub=http%3A%2F%2Fdev.networkedblogs.com
%2Ftopic=http%3A%2F%2Fchaoswrappedinchocolate-coveredgrins.blogspot.com%2Ffeeds%2Fposts%2Fdefaultsig=6aed0a71ee0d7573fe6fc37f7f40ac6f5f27071f
HTTP/1.1 500 0 - NetworkedBlogs,gzip(gfe),gzip(gfe)


I have a logging.info() statement right at the start of the app as
follows:

def main():
logging.info(processing request)
wsgiref.handlers.CGIHandler().run(application)

But I don't see that info message in the log, so I'm taking that to mean
that the execution is not hitting my app. I don't see any other details in
the log other than what I lited above. The size of the POST body I'm sending
is 139836 bytes, which is not that big.

Any other ideas?


Regards,
Waleed




On Tue, Mar 2, 2010 at 8:29 AM, Marc Provost mprov...@gmail.com wrote:

 Hi Waleed,

 You are not seeing any errors/warnings in the logs? There are a few
 possibilities here.

 If the request hits your app:

 * You could be hitting the 30 seconds limit (maybe because the input
 is too large or something). You should see an error in the logs.
 * Your code could also be raising an exception that you do not catch.
 You should see an error in the logs.
 * It is also possible that the return status of the request is set to
 500 somehow. In this case, if your application could silently catch
 the exception without logging anything. But you should be able to
 debug it by logging info messages in your request handler.

 If your request does not hit your app:

 * You could be hitting the simultaneous requests limit. That's a
 warning in the logs, but it shouldn't be reproducible every time.

 Hope it helps,
 Marc

 On Mar 2, 3:09 am, Waleed wal...@ninua.com wrote:
  I'm getting this error for some requests:
 
  The server encountered an error and could not complete your
  request.pIf the problem persists, please A HREF=http://
  code.google.com/appengine/community.htmlreport/A your problem and
  mention this error message and the query that caused it.
 
  It's repeatable and the error happens every time for that specific
  request I'm sending. I tested with another AE app and I get the same
  problem. The request doesn't seem to be hitting my app, but fails
  before that, so I can't do anything about it. When I submit the same
  request with different data in the POST body, it goes through and
  works well.
 
  My request is a simple POST with a blog feed in the body of the post.
  Nothing particularly unique about it. And as I mentioned earlier, it
  works for most feeds, except for a few where it breaks 100% of the
  time.
 
  How can I debug this? Can anyone shed some light? App id is:
  networkedblogs

 --
 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%2bunsubscr...@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.