来自asp .net的ios推送通知

时间:2013-10-26 10:06:26

标签: asp.net ios apple-push-notifications

我尝试从服务器发送通知消息,

当我尝试使用php时,它的工作正常,但在.Net中它不起作用。我正在使用MoonAPNS

我没有使用https服务器,只能在localhost中运行。

我收到错误

对SSPI的调用失败,请参阅内部异常。

An unknown error occurred while processing the certificate

   at System.Net.Security.SslState.CheckThrow(Boolean authSucessCheck)
   at System.Net.Security.SslState.get_SecureStream()
   at System.Net.Security.SslStream.BeginRead(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback, Object asyncState)
   at MoonAPNS.PushNotification.SendQueueToapple(IEnumerable`1 queue) in D:\Sample\PushNotification to iPhone\Moon-APNS-master\Moon-APNS-master\Application\MoonApns\PushNotification.cs:line 128
   at MoonAPNS.PushNotification.SendToApple(List`1 queue) in D:\Sample\PushNotification to iPhone\Moon-APNS-master\Moon-APNS-master\Application\MoonApns\PushNotification.cs:line 99
   at PushNotify._Default.Page_Load(Object sender, EventArgs e) in D:\Sample\PushNotification to iPhone\Moon-APNS-master\Moon-APNS-master\PushNotify\Default.aspx.cs:line 19
   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

任何人都可以为此提供帮助。任何其他方式是使用.Net

发送通知

0 个答案:

没有答案