【发布时间】:2013-11-12 19:20:13
【问题描述】:
谷歌应用引擎
2013-11-13 00:45:52 Running command: "['C:\\Python27\\pythonw.exe', '-u', 'C:\\Program Files (x86)\\Google\\google_appengine\\appcfg.py', '--no_cookies', u'--email=sulemannbd@gmail.com', '--passin', 'update', 'C:\\google\\test']"
12:45 AM Application: testcboy; version: 1
12:45 AM Host: appengine.google.com
12:45 AM
Starting update of app: testcboy, version: 1
12:45 AM Getting current resource limits.
Password for sulemannbd@gmail.com: 12:46 AM Scanning files on local disk.
12:46 AM Cloning 167 application files.
12:46 AM Uploading 7 files and blobs.
12:46 AM Uploaded 7 files and blobs
12:46 AM Compilation starting.
12:46 AM Compilation completed.
12:46 AM Starting deployment.
12:46 AM Checking if deployment succeeded.
12:46 AM Deployment successful.
12:46 AM Checking if updated app version is serving.
12:46 AM Completed update of app: testcboy, version: 1
2013-11-13 00:46:18 (Process exited with code 0)
You can close this window now.
当我在 Google 上部署应用程序时生成了此日志。但它显示了
错误:服务器错误服务器遇到错误,无法 完成您的请求。
如果问题仍然存在,请报告您的问题并提及 错误消息和导致它的查询。
谁能告诉我,为什么我会看到这个错误? 应用在几个小时前运行良好。 您可以通过http://testcboy.appspot.com/查看应用程序
错误日志
XX.XXX.XXX.XX - - [12/Nov/2013:11:32:49 -0800] "GET / HTTP/1.1" 500 0 - "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36" "testcboy.appspot.com" ms=61 cpu_ms=0 loading_request=1 exit_code=204 app_engine_release=1.8.7 instance=00c61b117ca04018be59d2d5878f8fb3467f71
I 2013-11-12 11:32:49.816
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.
W 2013-11-12 11:32:49.816
A problem was encountered with the process that handled this request, causing it to exit. This is likely to cause a new process to be used for the next request to your application. (Error code 204)
【问题讨论】:
-
查看应用引擎控制台中的日志,过滤到“错误”并以这种方式查看原因。此外,如果您有 debug=True,您应该会得到更多的错误,然后是 500。
-
@PaulCollingwood 我在问题中添加了错误日志,请告诉我如何解决这些错误。
标签: google-app-engine server-error