【问题标题】:How to send apple push notification in mule 3.9.1?如何在 mule 3.9.1 中发送苹果推送通知?
【发布时间】:2019-04-14 21:13:44
【问题描述】:

我正在使用苹果推送连接器。

我收到以下错误:

    INFO  2019-04-15 17:12:50,934 [Thread-11] com.notnoop.apns.internal.ApnsConnectionImpl: Exception while waiting for error code
java.io.IOException: Unexpected command byte 0
    at com.notnoop.apns.internal.ApnsConnectionImpl$1MonitoringThread.run(ApnsConnectionImpl.java:118) ~[mule-module-apple-push-4.1.0.jar:?]
DEBUG 2019-04-15 17:12:50,955 [[api-gateway].standardHTTPS.worker.01] org.mule.module.http.internal.HttpMessageLogger: LISTENER
HTTP/1.1 200 
Content-Length: 0
Date: Mon, 15 Apr 2019 22:12:50 GMT

如何解决这个问题并让连接器正常工作?

谢谢

参考:https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns

http://mulesoft.github.io/apple-push-connector/mule/apple-push.html

【问题讨论】:

    标签: http apple-push-notifications mule mule-studio


    【解决方案1】:

    我改用了 pushy 库,可以成功发送苹果推送通知。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-01-12
      • 1970-01-01
      • 1970-01-01
      • 2011-07-26
      • 1970-01-01
      • 1970-01-01
      • 2011-09-19
      • 2011-05-19
      相关资源
      最近更新 更多