我正在尝试将应用程序部署到GAE,当我得到以下回溯:
Updating service [lstm] (this may take several minutes)...failed.
DEBUG: (gcloud.app.deploy) Error Response: [13] An internal error occurred during deployment.
Traceback (most recent call last):
File "/Applications/sdks/google-cloud-sdk/lib/googlecloudsdk/calliope/cli.py", line 844, in Execute
resources = calliope_command.Run(cli=self, args=args)
File "/Applications/sdks/google-cloud-sdk/lib/googlecloudsdk/calliope/backend.py", line 756, in Run
resources = command_instance.Run(args)
File "/Applications/sdks/google-cloud-sdk/lib/surface/app/deploy.py", line 87, in Run
parallel_build=False)
File "/Applications/sdks/google-cloud-sdk/lib/googlecloudsdk/command_lib/app/deploy_util.py", line 592, in RunDeploy
flex_image_build_option=flex_image_build_option)
File "/Applications/sdks/google-cloud-sdk/lib/googlecloudsdk/command_lib/app/deploy_util.py", line 401, in Deploy
extra_config_settings)
File "/Applications/sdks/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/appengine_api_client.py", line 203, in DeployService
poller=done_poller)
File "/Applications/sdks/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/operations_util.py", line 312, in WaitForOperation
sleep_ms=retry_interval)
File "/Applications/sdks/google-cloud-sdk/lib/googlecloudsdk/api_lib/util/waiter.py", line 251, in WaitFor
sleep_ms, _StatusUpdate)
File "/Applications/sdks/google-cloud-sdk/lib/googlecloudsdk/api_lib/util/waiter.py", line 309, in PollUntilDone
sleep_ms=sleep_ms)
File "/Applications/sdks/google-cloud-sdk/lib/googlecloudsdk/core/util/retry.py", line 228, in RetryOnResult
if not should_retry(result, state):
File "/Applications/sdks/google-cloud-sdk/lib/googlecloudsdk/api_lib/util/waiter.py", line 303, in _IsNotDone
return not poller.IsDone(operation)
File "/Applications/sdks/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/operations_util.py", line 181, in IsDone
encoding.MessageToPyValue(operation.error)))
OperationError: Error Response: [13] An internal error occurred during deployment.
ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred during deployment.
一切都在当地运作良好。我已设置ALLOWED_HOSTS = ['*']
可能是app.yaml
无法识别下划线吗?
entrypoint: gunicorn -b :$PORT --timeout 99999999 model_lstm.wsgi