gpt4 book ai didi

ios - 无法在 IBM Worklight 应用程序中向 iOS 设备发送推送通知

转载 作者:行者123 更新时间:2023-11-29 01:39:15 24 4
gpt4 key购买 nike

我们正在尝试在我们的项目中实现推送通知。我们成功地为 Android 和 Windows 实现了它,但无法为 iOS 实现。

设备已成功注册推送通知,并且可以在 Worklight 控制台中看到该设备,但是当我们发送通知时,我们收到以下错误。

[ERROR   ] Couldn't send message after 3 retries.Message(Id=2; Token="token"; Payload={"aps":{"alert":{"body":"gdf g dfg dfg","action-loc-key":null},"sound":"","badge":1},"payload":"{\"alias\":\"myPush\",\"custom\":\"data\"}"})
Remote host closed connection during handshake
[ERROR ] FPWSE1083E: Failed to send APNS notification with identifier 2, device token: "Token"
Remote host closed connection during handshake

一段时间后我得到这个错误

[WARNING ] Failed to retreive invalid devices
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
[WARNING ] Failed to retreive invalid devices
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
[WARNING ] Failed to retreive invalid devices
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
[ERROR ] Couldn't get feedback connection
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
[ERROR ] Unknown exception: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
Unknown exception: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

最佳答案

此错误是由于 .p12 文件不正确造成的。请看这个thread .

关于ios - 无法在 IBM Worklight 应用程序中向 iOS 设备发送推送通知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32609597/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com