部署网络应用时出现gcloud应用引擎错误

时间:2019-05-26 03:15:45

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

将文件复制到App Engine时发生以下错误:

  

无法复制文件。

在将应用程序部署到Google云平台上时显示此错误。

File upload done.
Updating service [default]...failed.
ERROR: (gcloud.app.deploy) Error Response: [3] The following errors occurred while copying files to App Engine:
File https://storage.googleapis.com/staging.xxxx.appspot.com/9da4e24cec2641fdeaff4b1d6c3b3d88bcf1c524 failed with: Failed to copy file.

Details: [
  [
    {
      "@type": "type.googleapis.com/google.rpc.ResourceInfo",
      "description": "Failed to copy file.",
      "resourceName": "https://storage.googleapis.com/staging.xxxxx.appspot.com/9da4e24cec2641fdeaff4b1d6c3b3d88bcf1c524",
      "resourceType": "file"
    }
  ]
]

我想生成URL并使用https://xxxxx.appspot.com

运行项目

我尝试从存储桶9da4e24cec2641fdeaff4b1d6c3b3d88bcf1c524中删除文件staging.xxxxx.appspot.com,然后再次运行gcloud app deploy,仍然无法正常工作。

0 个答案:

没有答案