【问题标题】:blackberry push sdk service黑莓推送sdk服务
【发布时间】:2017-01-08 20:55:25
【问题描述】:

我已经安装了黑莓推送 SDK,并将 Tomcat 放在具有真实 IP 的服务器中。我使用了简单的 sample-push-initiator 并将其注册到设备中并成功注册。

问题:当我尝试使用 sample-push-initiator 从 Tomcat 服务器发送推送通知时出现错误

ERROR: Unauthorized to communicate with the PPG at URL:    
  https://pushapi.eval.blackberry.com/mss/PD_pushRequest with 
username: xxxxxxxx and and password: xxxxxxxxx

是什么导致了这个错误,我该如何解决?

【问题讨论】:

    标签: blackberry


    【解决方案1】:

    您必须使用 HTTP Auth Basic Method 传递您的用户名和密码(来自 blackberry 注册)。

    即:https://username:password@pushapi.eval.blackberry.com/mss/PD_pushRequest

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多