I get "Request was aborted after waiting too long to attempt to service your request. This may happen sporadically when the App Engine serving cluster is under unexpectedly high or uneven load. If you see this message frequently, please contact the App Engine team." when there is another request coming in meanwhile my application is being initialized after it is spin-down.
My application takes around 26 seconds to start-up. During this 26 seconds, if there is another request, the request will hit the "Request was aborted after waiting too long to attempt to service your request" error in 2-10 seconds (before the 30s limit). If the system can queue the request for 30s (the hard limit), I believe the request can still be served. The first request which triggers the application start-up was finally served without any problem. However, the second request hits 500 error before the first request being served. This can be observed in the log. 04-25 07:13PM 53.849 /post/0 200 27069ms 38750cpu_ms 444api_cpu_ms 9kb Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.9) Gecko/ 20100315 Firefox/3.5.9,gzip(gfe) See details .... I 04-25 07:13PM 57.570 javax.servlet.ServletContext log: Initializing Spring root WebApplicationContext ... W 04-25 07:14PM 20.916 This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take longer and use more CPU than a typical request for your application. 04-25 07:14PM 09.687 /person/location 500 10022ms 0cpu_ms 0kb Mozilla/ 5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9,gzip(gfe) See details .... W 04-25 07:14PM 19.709 Request was aborted after waiting too long to attempt to service your request. This may happen sporadically when the App Engine serving cluster is under unexpectedly high or uneven load. If you see this message frequently, please contact the App Engine team. In this case, could the "background servers" solve the problem? How can I hand off the request which is coming in when the application is in the midst of starting up to the background worker? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.