【问题标题】:ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred while creating a Google Cloud Storage bucket错误:(gcloud.app.deploy) 错误响应:[13] 创建 Google Cloud Storage 存储桶时发生内部错误
【发布时间】:2021-12-28 14:35:58
【问题描述】:

我正在关注本教程:link

这是我使用的谷歌云版本:

(venv) C:\Users\user\Desktop\python-docs-samples\appengine\standard_python3\django>gcloud --version
Google Cloud SDK 367.0.0
bq 2.0.72
core 2021.12.10
gsutil 5.5

在部署过程中,我收到以下错误:

(venv) C:\Users\user\Desktop\python-docs-samples\appengine\standard_python3\django>gcloud app deploy
Initializing App Engine resources...failed.
ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred while creating a Google Cloud Storage bucket.

我从各种来源进行了搜索,他们建议运行这个:

gcloud config set app/use_deprecated_preparation True

但是当我运行时出现错误:

(venv) C:\Users\user\Desktop\python-docs-samples\appengine\standard_python3\django>gcloud config set app/use_deprecated_preparation True
ERROR: (gcloud.config.set) Section [app] has no property [use_deprecated_preparation].

我在项目目录文件夹中运行它。

谁能帮帮我?

【问题讨论】:

  • 为了隔离潜在问题,您能否尝试从理想情况下的 Cloud Shell 执行此部署?否则,具有不同环境的不同计算机就足够了
  • 你能解决这个问题吗?

标签: python django google-app-engine deployment gcloud


【解决方案1】:

您的网络有代理吗? 也许您可以尝试不使用代理的命令。

【讨论】:

  • 按照教程,我使用 cloud_sql_proxy.exe。我尝试将其关闭并再次运行 gcloud app deploy 但仍然出现相同的错误
猜你喜欢
  • 2018-05-05
  • 1970-01-01
  • 2018-05-07
  • 2016-02-03
  • 2018-02-14
  • 2021-01-24
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多