gcloud.app.deploy 错误响应:[13] 默认 Cloud Build 服务帐户或用户指定的服务帐户无权访问存储桶

问题描述 投票:0回答:1

我正在尝试将 Ktor 服务器部署到谷歌云应用程序引擎,但是当我运行

./gradlew appengineDeploy
时,出现以下错误:

ERROR: (gcloud.app.deploy) Error Response: [13] Failed to create cloud build: invalid bucket "[xxxxxxxxxxxx].cloudbuild-logs.googleusercontent.com"; default Cloud Build service account or user-specified service account does not have access to the bucket
com.google.net.rpc3.client.RpcClientException: <eye3 title='/ArgoAdminNoCloudAudit.CreateBuild, INVALID_ARGUMENT'/> APPLICATION_ERROR;google.devtools.cloudbuild.v1/ArgoAdminNoCloudAudit.CreateBuild;invalid bucket "[xxxxxxxxxxxx].cloudbuild-logs.googleusercontent.com"; default Cloud Build service account or user-specified service account does not have access to the bucket;AppErrorCode=3;StartTimeMs=1711387952607;unknown;ResFormat=uncompressed;ServerTimeSec=0.782722356;LogBytes=256;Non-FailFast;EndUserCredsRequested;EffSecLevel=none;ReqFormat=uncompressed;ReqID=49272bf8591f5427;GlobalID=0;Server=[2002:a05:6f20:2d92:b0:190:a0f7:31dc]:4001.

不确定是否还有其他信息与解决此问题相关?

我尝试进入“云构建设置”页面,然后启用“App Engine 管理”服务,但这没有执行任何操作。 我还尝试使用

gcloud auth login
重新进行身份验证,并使用不同的帐户,但这不起作用。

google-cloud-platform google-app-engine websocket gcloud ktor
1个回答
0
投票

我遇到了类似的问题,我被告知这是 GCP 中断。有一个建议的解决方法也适合我:为应用程序部署失败的项目启用 Compute Engine API。我想知道它是否也对你有帮助。

© www.soinside.com 2019 - 2024. All rights reserved.