[英]Unable to send push notification to iOS devices in an IBM Worklight app
我们正在尝试在我们的项目中实现推送通知。 我们已经成功地在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文件引起的。 请看一下这个线程 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.