将文件复制到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
,仍然无法正常工作。