首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法向IBM Worklight应用程序中的iOS设备发送推送通知

无法向IBM Worklight应用程序中的iOS设备发送推送通知
EN

Stack Overflow用户
提问于 2015-09-16 21:11:54
回答 1查看 960关注 0票数 0

我们正在尝试在我们的项目中实现推送通知。我们能够成功地在安卓和视窗上实现它,但无法在iOS上实现。

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

代码语言:javascript
复制
[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

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

代码语言:javascript
复制
[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
EN

回答 1

Stack Overflow用户

发布于 2015-09-17 00:29:17

此错误是由错误的.p12文件引起的。请看一下这个thread

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/32609597

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档