我无法从生产服务器获得苹果推送通知,我该如何解决...? [英] I couldn't get apple push notification from production server , How can I solve it...?

查看:92
本文介绍了我无法从生产服务器获得苹果推送通知,我该如何解决...?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法从我的生产服务器获得苹果推送通知,但本地和我的电脑的IIS工作正常,当我在我的生产服务器中托管此应用程序时,无法返回任何错误。如何解决这个问题... ?

解决方案

我改变dll代码如下:

stream.AuthenticateAsClient(settings.FeedbackHost,certificates,System.Security.Authentication .SslProtocols。**默认**,false);





http://stackoverflow.com/questions/23116726/pushsharp-notifications-to-ios-are-not-reaching-device [ ^

I couldn't get apple push notification from my production server but locally and my pc's IIS it working properly , when I host this application in my production server couldn't get any errors return.How can I solve this...?

解决方案

I change the dll code as like this :
stream.AuthenticateAsClient(settings.FeedbackHost, certificates, System.Security.Authentication.SslProtocols.**Default**, false);


http://stackoverflow.com/questions/23116726/pushsharp-notifications-to-ios-are-not-reaching-device[^]


这篇关于我无法从生产服务器获得苹果推送通知,我该如何解决...?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆