IBM 推送通知仪表板抛出内部服务器错误 PUSHD102E

IBM Push Notifications Dashboard Throwing Internal Server Error PUSHD102E

当尝试访问我的 Bluemix 应用程序的 IBM Push Notifications 服务仪表板时,我被重定向到一个空白页面,并且在我的 Web 控制台中,请求 returns 出现 500 错误,响应如下:

Internal server error occurred. Please contact admin. (Internal error code: PUSHD102E)

使用 10 月 5 日之前创建的 IBM Push Notifications 服务实例时,最有可能发生此错误。自 10 月 5 日起,IBM Push Notifications 的新实例随服务的唯一应用程序秘密一起交付,用于保护服务及其功能。

要确认您的推送实例是否因缺少应用程序密码而失败,请从您的应用程序仪表板检查您的 IBM 推送通知服务凭证。

以上是将导致 PUSHD102E 错误的服务凭据示例。请注意 credentials 数组中仅有的两个值是 urladmin_url。将其与以下内容进行比较,这是在 10 月 5 日之后为同一应用程序创建的推送实例的示例。请注意现在添加到 credentials 数组的 appSecret 值。

如果您确实缺少 IBM Push Notifications 凭据中的 appSecret 值,您只需删除或取消绑定该服务(通过两个图像右上角的浅灰色小齿轮完成),然后获取通过应用程序仪表板上的 ADD A SERVICE OR API 按钮创建一个新的 IBM Push Notifications 实例。

请注意,在添加新实例时,您需要重新配置 IBM Push Notifications 服务并重新添加 APNS 证书 and/or GCM 凭据。