Since I switched my App Engine app to a flexible environment, it seems that all tasks failed to run. I was surprised that all tasks failed. But when I open the logs, I got only this:
01:33:56.026POST500167 B4 msAppEngine-Google; (+http://code.google.com/appengine)/_ah/queue/deferred The status code is 500, but when I expand it, there is only this information inside: 0.1.0.2 - - [29/Sep/2016:01:33:56 +0800] "POST /_ah/queue/deferred HTTP/1.1" 500 167 http://0.xxxxxxx.module-sync.xxxxxxxxx.appspot.com/_ah/background "AppEngine-Google; (+http://code.google.com/appengine)" "module-sync.xxxxxxxxxx.appspot.com" ms=4 cpu_ms=0 cpm_usd=1.8663e-8 loading_request=0 instance=- app_engine_release=1.9.45 trace_id=- { metadata: {…} protoPayload: {…} insertId: "2016-09-28|10:34:00.180396-07|10.106.31.139|1292268011" log: "appengine.googleapis.com/request_log" httpRequest: {…} operation: {…} } There is no exception or stack trace or anything else that I usually see when I was using the standard environment. How can I troubleshoot this? Why are my deferred tasks not run? -- 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 https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/5c95805b-7936-416c-ba7d-3ae509d5876d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.