我们正在尝试在我们的项目中实现推送通知。我们能够成功地在安卓和视窗上实现它,但无法在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发布于 2015-09-17 00:29:17
此错误是由错误的.p12文件引起的。请看一下这个thread。
https://stackoverflow.com/questions/32609597
复制相似问题