I'd like to try to replicate this error, but I am getting a 401 when I attempt to POST arbitrary data to that url:
curl -d "a=1" http://pg-sandstrom-guestbook.appspot.com/checklists What you should try to do is replicate the error using command line tools or by monitoring the low level request. If this URL works in a browser but not from an Android application, you should try to trace the request and find the difference between the requests. 2009/11/23 Per Sandström <[email protected]> > Hi! > > This is the exact message I retrieve when my servlet is the way I want > it to be: > > <html><head> > <meta http-equiv="content-type" content="text/html;charset=utf-8"> > <title>500 Server Error</title> > </head> > <body text=#000000 bgcolor=#ffffff> > <h1>Error: Server Error</h1> > <h2>The server encountered an error and could not complete your > request.<p>If 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> > > But still, there are no entries in my admin panel-log under "errors". > However, I just noticed that they appear under "requests" like this: > > 11-23 03:04AM 23.201 /checklists 500 41499ms 175cpu_ms > 175api_cpu_ms 0kb Apache-HttpClient/UNAVAILABLE (java 1.4),gzip(gfe) > See details > > 81.224.65.211 - - [23/Nov/2009:03:05:04 -0800] "POST /checklists > HTTP/1.1" 500 0 - "Apache-HttpClient/UNAVAILABLE (java 1.4),gzip(gfe)" > > They take up 40000ms CPU! I tried decreasing the amount of code that I > executed to find the problem, but it only helped when I didnt access > the permanent storage. So I tried deleting everything that I had > stored, and after that it worked fine even after putting in new > entries. However, my datastore only held ~40 entries. There are > absolutely no reason for this kind of delay on my side. I have no > loops in loops or potentially infinite while-loops or anything like > that. I really do believe this is an error on the GAE-side. Also, I > have now tried to once again fill the datastore with ~40 entries, and > the CPU-time never goes over 250ms. This feels somewhat scary, since > we are planning on releasing our product quite soon, and then the > datastore will be much larger. > > On Nov 12, 8:28 pm, "Ikai L (Google)" <[email protected]> wrote: > > What is the exact error? Also, can you host a static asset and try to > > retrieve it with the Android application? I want to rule out that it's a > > connectivity issue. > > > > 2009/11/11 Per Sandström <[email protected]> > > > > > > > > > > > > > I am doing an app that is supposed to be used from my android phone. > > > Some communication with my GAE-app works, but when I try to send a > > > post-message tohttp://pg-sandstrom-guestbook.appspot.com/checklistsI > > > get a server error. This only holds true from my android phones. > > > Nothing is shown in the Admin panel log, so I dont think the error is > > > due to my GAE-code. Any help would be greatly appriciated. > > > --~--~---------~--~----~------------~-------~--~----~ > > > 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]<google-appengine%[email protected]> > <google-appengine%[email protected]<google-appengine%[email protected]> > > > > > For more options, visit this group at > > >http://groups.google.com/group/google-appengine?hl=en > > > -~----------~----~----~----~------~----~------~--~--- > > > > -- > > Ikai Lan > > Developer Programs Engineer, Google App Engine > > -- > > 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]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=. > > > -- Ikai Lan Developer Programs Engineer, Google App Engine -- 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=.
