Google App Engine项目已部署但未在xxx.appspot.com上更新

Rya*_*ter 0 google-app-engine

我在本地创建了一个Google应用,并尝试在app_id .appspot.com 上看到它.该应用程序的项目是在Google Developer的控制台上设置的,我可以使用以下日志输出从App Engine Launcher成功部署:

    2015-07-17 08:42:59 Running command: "['C:\\Python27\\pythonw.exe', '-    u', 'C:\\Program Files (x86)\\Google\\google_appengine\\appcfg.py', '--   oauth2_credential_file=C:\\Users\\xxxx/.appcfg_oauth2_tokens', 'update',    'C:\\Program Files\\Google\\Cloud SDK\\app-id\default']"
    08:43 AM Application: app-id; version: 6
    08:43 AM Host: appengine.google.com
    08:43 AM 
    Starting update of app: app-id, version: 6
    08:43 AM Getting current resource limits.
    08:43 AM Scanning files on local disk.
    08:43 AM Scanned 500 files.
    08:43 AM Cloning 2 static files.
    08:43 AM Cloning 727 application files.
    08:43 AM Uploading 1 files and blobs.
    08:43 AM Uploaded 1 files and blobs.
    08:43 AM Compilation starting.
    08:43 AM Compilation completed.
    08:43 AM Starting deployment.
    08:43 AM Checking if deployment succeeded.
    08:43 AM Deployment successful.
    08:43 AM Checking if updated app version is serving.
    08:43 AM Completed update of app: app-id, version: 6
    08:43 AM Uploading index definitions.
    2015-07-17 08:43:22 (Process exited with code 0)

    You can close this window now.
Run Code Online (Sandbox Code Playgroud)

我在Windows 7上并且在cmd上也尝试了相同的输出.我已经尝试更改版本号,等待一夜,并在app.yaml中将"default_expiration"设置为"1m",但没有骰子.地址app_id .appspot.com仍会显示应用程序的旧版本.关于该怎么做的任何建议?

Jos*_*h J 6

您似乎正在使用版本标签6上传您的应用程序.登录Google云端控制台并检查版本6是否设置为默认服务版本.

https://console.developers.google.com/project/<your-app-id>/appengine/versions

  • 它还允许您运行代码的并行版本,可通过http:// <version>.<app_id> .appspot.com或https:// <version> -dot- <app_id> .appspot.com寻址,这对于部署验证. (2认同)