首页 > 解决方案 > 当我尝试运行 Gradle Play Publisher 任务时不断收到内部服务器错误

问题描述

我有一个开发者帐户,其中有一个私人(托管的 google play)应用程序。

我之前手动发布了这个应用程序的一个版本,并且组织内的验证用户可以下载/安装它。

我一直在尝试通过 GPP 插件 ( https://github.com/Triple-T/gradle-play-publisher ) 发布另一个版本,或者运行其他任务,例如bootstrapListing但连续几天收到 500 个内部服务器错误。

你知道我错过了什么吗?

我仔细检查的事情

play {
   serviceAccountCredentials.set(file("service.json"))
}

版本

执行的任务

bootstrapListing, bootstrapReleaseListing,publishApk和许多其他的。

预期行为

我应该能够发布 apk 或运行bootstrapListing任务而不会出错。

运行 bootstrapListing 任务时遇到的错误

Execution failed for task ':app:bootstrapReleaseListing'.
> Multiple task action failures occurred:
> A failure occurred while executing com.github.triplet.gradle.play.tasks.Bootstrap$DetailsDownloader
> 500 Internal Server Error
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/***/edits
{
"code": 500,
"errors": [
{
"domain": "global",
"message": "Internal error encountered.",
"reason": "backendError"
}
],
"message": "Internal error encountered.",
"status": "INTERNAL"
}
> A failure occurred while executing com.github.triplet.gradle.play.tasks.Bootstrap$ListingsDownloader
> 500 Internal Server Error
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/***/edits
{
"code": 500,
"errors": [
{
"domain": "global",
"message": "Internal error encountered.",
"reason": "backendError"
}
],
"message": "Internal error encountered.",
"status": "INTERNAL"
}
> A failure occurred while executing com.github.triplet.gradle.play.tasks.Bootstrap$ReleaseNotesDownloader
> 500 Internal Server Error
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/***/edits
{
"code": 500,
"errors": [
{
"domain": "global",
"message": "Internal error encountered.",
"reason": "backendError"
}
],
"message": "Internal error encountered.",
"status": "INTERNAL"
}

标签: androidgradlegoogle-playgradle-play-publisher

解决方案


推荐阅读