0

谷歌应用引擎

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 上部署应用程序时,会生成此日志。但它显示了

错误:服务器错误 服务器遇到错误,无法完成您的请求。

如果问题仍然存在,请报告您的问题并提及此错误消息和导致它的查询。

谁能告诉我,为什么我会看到这个错误? APP在几个小时前运行良好。您可以在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)
4

2 回答 2

0

该应用程序现在正在运行。Google App Engine 在最初启动时经常显示错误 500,因为它启动速度太慢,并且在未能满足自己的响应请求的最后期限时会自行终止。

于 2013-11-12T20:37:13.343 回答
0

问题是因为 app.yaml 文件。我在 GAE 上的 locahost 中使用如下所示,它工作正常,但在服务器上部署时它不起作用。

- url: /(.*)\.php
  script: /\1.php

要在服务器上部署它,您需要这样做。

  • 网址:/(.*).php 脚本:\1.php

第二个实现不以斜线开头(即在第二行脚本中:-no-slash-here \1.php)

于 2013-11-12T20:55:25.647 回答