【发布时间】:2015-01-05 09:12:52
【问题描述】:
我正在使用 ASP.NET 服务器向 APNS 发送推送通知。我正在使用 PushSharp 库。突然,推送通知停止工作。我遇到了这个异常,
The maximum number of Send attempts to send the notification was reached
我搜索发现APNS不再支持SSL v3。 https://developer.apple.com/news/?id=10222014a 我发现最新版本的库也在使用 Tls。所以我更新了图书馆。但现在我明白了,
System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.
我的 .p12 证书有效期为 2014 年 3 月 4 日至 2015 年 3 月 4 日。当 APNS 支持 SSL v3 时,我生成了 .p12 证书文件。我需要更新 p12 证书吗?
【问题讨论】:
标签: ios asp.net security ssl pushsharp