首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用moonApns的苹果推送通知

使用moonApns的苹果推送通知
EN

Stack Overflow用户
提问于 2015-01-17 02:58:34
回答 1查看 345关注 0票数 0

我正在尝试使用moon apns向apple发送推送通知,但收到以下错误

代码语言:javascript
复制
{"An unknown error occurred while processing the certificate"}
{"A call to SSPI failed, see inner exception."}

这是错误行

代码语言:javascript
复制
 _apnsStream.BeginRead(response, 0, 6, ReadResponse, new MyAsyncInfo(response, _apnsStream));

我一直在寻找解决方案,但是什么都没有解决?有人能告诉我为什么会出现这个错误吗?

EN

回答 1

Stack Overflow用户

发布于 2015-01-30 01:13:08

尝试替换此行:

代码语言:javascript
复制
_apnsStream.AuthenticateAsClient(host, certificates, System.Security.Authentication.SslProtocols.Ssl3, false);

代码语言:javascript
复制
_apnsStream.AuthenticateAsClient(host, certificates, System.Security.Authentication.SslProtocols.Default, false);
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/27990909

复制
相关文章

相似问题

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