IBM工作灯6.0 - 推送订阅停止工作 [英] IBM Worklight 6.0 - Push subscribing stopped from working

查看:180
本文介绍了IBM工作灯6.0 - 推送订阅停止工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想获得推送通知在Android 4.1.2设备上运行的工作灯V6.0.0.1应用工作。

I am trying to get push notifications working on a Worklight V6.0.0.1 app running on an Android 4.1.2 device.

这是我看到的唯一错误是在设备LogCat中:

The only error that I see is in the device LogCat:

无法预订,通知令牌不更新服务器上

Can't subscribe, notification token is not updated on the server

下面是几行错误之前(含IDS修改):

Here are a few lines prior to the error (with ids modified):

20 12-03:12:49.013:D / GCMBaseIntentService(7218):handleRegistration:
  registrationId =
  xxxxxxxxx_xxxxxxx_xxxxxxx-XXXXXXXXXX-XXXXXXXXXXXXXX-xxxxxxxxxxxxxxxxx-XXXXXX,
  错误= NULL,未注册= NULL

12-03 20:12:49.013: D/GCMBaseIntentService(7218): handleRegistration: registrationId = xxxxxxxxx_xxxxxxx_xxxxxxx-xxxxxxxxxx-xxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxx-xxxxxx, error = null, unregistered = null

12-03 20:12:49.013:
  D / GCMRegistrar(7218):重置为com.abc123退避

12-03 20:12:49.013: D/GCMRegistrar(7218): resetting backoff for com.abc123

20 12-03:12:49.013:D / WLDroidGap(7218):在GCM服务器注册
  注册ID
  xxxxxxxxxxxxxxx_xxxxxxxxxxx_xxxx-XXXXXXXXX-XXXXXX-xxxxxxx_xxxx-XXXXXXXXX

12-03 20:12:49.013: D/WLDroidGap(7218): Registered at the GCM server with registration id xxxxxxxxxxxxxxx_xxxxxxxxxxx_xxxx-xxxxxxxxx-xxxxxx-xxxxxxx_xxxx-xxxxxxxxx

20 12-03:12:49.013:W / CordovaPlugin(7218):试图发送一个第二
  回调ID:Push12345678

12-03 20:12:49.013: W/CordovaPlugin(7218): Attempted to send a second callback for ID: Push12345678

12-03 20:12:49.013:
  W / CordovaPlugin(7218):结果为:
  xxxxxxxxx_xxxxxxxxxx_xxxx-xxxxxxxxxxs-xxxxxxxxxx_xxxx-xxxxxxxxxxx_xxxxxx-XXXX

12-03 20:12:49.013: W/CordovaPlugin(7218): Result was: "xxxxxxxxx_xxxxxxxxxx_xxxx-xxxxxxxxxxs-xxxxxxxxxx_xxxx-xxxxxxxxxxx_xxxxxx-xxxx"

20 12-03:12:54.451:E / ABC123(7218):不能订阅,通知
  令牌未在服务器上更新

12-03 20:12:54.451: E/abc123(7218): Can't subscribe, notification token is not updated on the server

我没有看到工作灯服务器日志的任何错误。我也曾尝试开启com.worklight.integration。*跟踪标志,但我没有看到任何其他错误消息。

I don't see any errors in the Worklight server log. I have also tried turning on the com.worklight.integration.* trace flag, but I didn't see any additional error messages.

我已经使用了相同的 pushSender senderId 在过去的值。

I have used the same pushSender key and senderId values in the past.

是否有事情,我能做得到,为什么这订阅请求失败的详细调试信息有什么建议?

Are there any suggestions for things I can do to get more debug information on why this subscription request is failing?

推荐答案

在你得到错误无法预订,通知令牌不更新服务器上,必须有向服务器发送一些请求消息,可以你分享PLS?

Before you get the error "Can't subscribe, notification token is not updated on the server", there must be some request messages sent to the server,can you share it pls?

这篇关于IBM工作灯6.0 - 推送订阅停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆