Open GoogleCodeExporter opened 8 years ago
This is an issue on our end.
We're rolling out some changes that should address the root cause of this error.
Can you provide more details on the failure mode you see under
"use_appengine_api False"?
Thanks for the feedback!
Original comment by lball...@google.com
on 7 Jan 2016 at 8:48
Ah, good to hear. I'll wait for that to be resolved then.
Here's the debug log:
DEBUG: Send: /api/appversion/create, params={'version': 'mike-test-5',
'app_id': 'decent-digit-629', 'module': 'flibble'}
DEBUG: _Authenticate configuring auth; needs_auth=False
DEBUG: Sending request to
https://appengine.google.com/api/appversion/create?app_id=decent-digit-629&modul
e=flibble&version=mike-test-5 headers={'X-appcfg-api-version': '1',
'content-length': '2107', 'Content-Type': 'application/octet-stream'}
body=api_version: '1'
auto_id_policy: default
builtins:
- appstats: 'on'
- default: 'on'
derived_file_type:
- python_precompiled
env_variables:
REDACTED
handlers:
- script: google.appengine.ext.appstats.ui.app
secure: optional
url: /_ah/stats.*
- secure: optional
static_files: static/portal/img/favicon.ico
upload: static/portal/img/favicon\.ico
url: /favicon\.ico
- secure: optional
static_files: static/robots.txt
upload: static/robots\.txt
url: /robots\.txt
- secure: optional
static_files: static/apple-touch-icon.png
upload: static/apple-touch-icon\.png
url: /apple-touch-icon\.png
- secure: optional
static_files: static/apple-touch-icon-76x76.png
upload: static/apple-touch-icon-76x76\.png
url: /apple-touch-icon-76x76\.png
- secure: optional
static_files: static/apple-touch-icon-120x120.png
upload: static/apple-touch-icon-120x120\.png
url: /apple-touch-icon-120x120\.png
- secure: optional
static_files: static/apple-touch-icon-152x152.png
upload: static/apple-touch-icon-152x152\.png
url: /apple-touch-icon-152x152\.png
- secure: optional
static_files: static/apple-touch-icon-180x180.png
upload: static/apple-touch-icon-180x180\.png
url: /apple-touch-icon-180x180\.png
- application_readable: true
secure: always
static_dir: __static__/static
url: /static
- script: google.appengine.ext.appstats.ui.app
secure: always
url: /_ah/stats.*
- script: webapp.wsgi.application
secure: always
url: /.*
instance_class: F4
libraries:
- name: MySQLdb
version: 1.2.4b4
- name: ssl
version: '2.7'
- name: PIL
version: 1.1.7
module: flibble
runtime: python27
skip_files:
^(.*/)?.*\.scss$|^(.*/)?#.*#$|^(.*/)?.*~$|^(.*/)?.*\.py[co]$|^(.*/)?.*/RCS/.*$|^
(.*/)?\..*$|^lib\/.*info$|^lib\/PIL|^lib\/setuptools\/script.*dev.*.tmpl|README.
md|LICENSE
threadsafe: true
vm_settings:
module_yaml_path: app.yaml
Updating module [flibble]...\DEBUG: Got http error 400.
DEBUG: Unexpected results: {'status': '400', 'alternate-protocol':
'443:quic,p=1', 'content-length': '90', 'expires': 'Mon, 01 Jan 1990 00:00:00
GMT', 'server': 'Google Frontend', 'cache-control': 'no-cache', 'date': 'Thu,
07 Jan 2016 20:56:23 GMT', 'alt-svc': 'quic=":443"; ma=604800;
v="30,29,28,27,26,25"', 'content-type': 'text/plain'}
Updating module [flibble]...failed.
DEBUG: (gcloud.preview.app.deploy) Server responded with code [400]:
Bad Request Unexpected HTTP status 400.
The version field in the app.yaml file must match the version provided as a GET parameter.
Traceback (most recent call last):
File "/tmp/snap/google-cloud-sdk/lib/googlecloudsdk/calliope/cli.py", line 609, in Execute
result = args.cmd_func(cli=self, args=args)
File "/tmp/snap/google-cloud-sdk/lib/googlecloudsdk/calliope/backend.py", line 1228, in Run
resources = command_instance.Run(args)
File "/tmp/snap/google-cloud-sdk/lib/googlecloudsdk/surface/preview/app/deploy.py", line 288, in Run
gae_client.DeployModule(module, version, info.parsed, info.file)
File "/tmp/snap/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/appengine_client.py", line 309, in DeployModule
return appversion.DoUpload()
File "/tmp/snap/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/appengine_deployments.py", line 1026, in DoUpload
missing_files = self.Begin()
File "/tmp/snap/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/appengine_deployments.py", line 559, in Begin
payload=config_copy.ToYAML())
File "/tmp/snap/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/util.py", line 293, in Send
result = self.rpcserver.Send(url, payload=payload, **kwargs)
File "/tmp/snap/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/util.py", line 358, in Send
response = self._server.Send(*args, **kwargs)
File "/tmp/snap/google-cloud-sdk/lib/googlecloudsdk/third_party/appengine/tools/appengine_rpc_httplib2.py", line 286, in Send
'Unexpected HTTP status %s' % status)
File "/tmp/snap/google-cloud-sdk/lib/googlecloudsdk/third_party/appengine/tools/appengine_rpc_httplib2.py", line 69, in RaiseHttpError
raise urllib2.HTTPError(url, response_info.status, msg, response_info, stream)
RPCError: Server responded with code [400]:
Bad Request Unexpected HTTP status 400.
The version field in the app.yaml file must match the version provided as a GET parameter.
ERROR: (gcloud.preview.app.deploy) Server responded with code [400]:
Bad Request Unexpected HTTP status 400.
The version field in the app.yaml file must match the version provided as a GET parameter.
michael@stump:~/git/codeforlife-deploy-appengine$
Original comment by m...@mikebryant.me.uk
on 7 Jan 2016 at 9:00
(Is there an eta on when appengine deployments will be available again?)
Original comment by mike.bry...@ocado.com
on 8 Jan 2016 at 11:25
The planned rolled for the fix is this week.
Original comment by che...@google.com
on 11 Jan 2016 at 4:05
I was told the fix has been rolled out. Can you try and let us know if you
still experience any issues.
Original comment by che...@google.com
on 11 Jan 2016 at 10:43
I just tried again - got the same error code 13
Original comment by mike.bry...@ocado.com
on 11 Jan 2016 at 11:21
Our rollout is complete, would you mind posting your deployment output from a
new attempt?
Original comment by lball...@google.com
on 13 Jan 2016 at 12:18
Tried again this morning, and it's working now.
Thanks!
Original comment by mike.bry...@ocado.com
on 13 Jan 2016 at 12:57
Well, it completes - however it's currently failing to upload all of the files.
I can see from the debug output, when it gives the manifest:
...
"webapp/__init__.py": {
"sha1Sum": "c0c0afc4e762ed53e81593c705d6d5ea8acdcbbf",
"sourceUrl": "https://storage.googleapis.com/staging.decent-digit-629.appspot.com/c0c0afc4e762ed53e81593c705d6d5ea8acdcbbf.py"
},
"webapp/lib/memcache.py": {
"sha1Sum": "f8048885d5a9f5c3bc53ceab8bcada959e07767b",
"sourceUrl": "https://storage.googleapis.com/staging.decent-digit-629.appspot.com/f8048885d5a9f5c3bc53ceab8bcada959e07767b.py"
},
"webapp/settings.py": {
"sha1Sum": "01bec231df86ac85a6f574925864a44cc0487bfb",
"sourceUrl": "https://storage.googleapis.com/staging.decent-digit-629.appspot.com/01bec231df86ac85a6f574925864a44cc0487bfb.py"
},
"webapp/urls.py": {
"sha1Sum": "1af504ec5f4c6fed7a8fbdd53814b2fa88162fc8",
"sourceUrl": "https://storage.googleapis.com/staging.decent-digit-629.appspot.com/1af504ec5f4c6fed7a8fbdd53814b2fa88162fc8.py"
},
"webapp/wsgi.py": {
"sha1Sum": "9c18fd528c42d0498efacf25a80f9240264a5342",
"sourceUrl": "https://storage.googleapis.com/staging.decent-digit-629.appspot.com/9c18fd528c42d0498efacf25a80f9240264a5342.py"
}
But in the appengine logs, from doing a directory listing:
13:01:46.404
ls: ['snap-ci-console.log', 'main.py', 'deploy.sh', 'app.yaml',
'app.yaml.tmpl', 'README.md', 'client-key.pem', 'build.sh', 'manage.py',
'static', 'LICENSE', 'appengine_config.py', 'server-ca.pem', 'client-cert.pem',
'lib']
Is this part of the same general failure to work issue, or should I open this
separately?
Original comment by mike.bry...@ocado.com
on 13 Jan 2016 at 1:08
Original issue reported on code.google.com by
mike.bry...@ocado.com
on 7 Jan 2016 at 6:02