更新服务错误(Google Cloud - Flask App)
updating service error (Google Cloud - Flask App)
我正在尝试在 Google 云上部署我的 Flask 应用程序,但出现错误
╚══════════════════════════════════════════ ════════════════╝
文件上传完成。
更新服务 [默认]...失败。
错误:(gcloud.app.deploy) 错误响应:[3] 将文件复制到 App Engine 时发生以下错误:
文件 https://storage.googleapis.com/staging.content-based-recommendations.appspot.com/d248249521544673e03be52ee573ecc4ba94c3ae 失败:复制文件失败。
详情:[ [
{
"@type": "type.googleapis.com/google.rpc.ResourceInfo",
"description": "Failed to copy file.",
"resourceName": "https://storage.googleapis.com/staging.content-based-recommendations.appspot.com/d248249521544673e03be52ee573ecc4ba94c3ae",
"resourceType": "file"
} ]
]
我尝试从存储桶中删除资源并重新部署,但发现了同样的错误。
有人可以帮助我吗?
根据错误,用户似乎无权访问您尝试部署的存储桶。
请确保用户帐户有足够的权限写入桶。
我正在尝试在 Google 云上部署我的 Flask 应用程序,但出现错误
╚══════════════════════════════════════════ ════════════════╝ 文件上传完成。 更新服务 [默认]...失败。 错误:(gcloud.app.deploy) 错误响应:[3] 将文件复制到 App Engine 时发生以下错误: 文件 https://storage.googleapis.com/staging.content-based-recommendations.appspot.com/d248249521544673e03be52ee573ecc4ba94c3ae 失败:复制文件失败。
详情:[ [ { "@type": "type.googleapis.com/google.rpc.ResourceInfo", "description": "Failed to copy file.", "resourceName": "https://storage.googleapis.com/staging.content-based-recommendations.appspot.com/d248249521544673e03be52ee573ecc4ba94c3ae", "resourceType": "file" } ] ]
我尝试从存储桶中删除资源并重新部署,但发现了同样的错误。
有人可以帮助我吗?
根据错误,用户似乎无权访问您尝试部署的存储桶。 请确保用户帐户有足够的权限写入桶。