Redth / PushSharp

A server-side library for sending Push Notifications to iOS (iPhone/iPad APNS), Android (C2DM and GCM - Google Cloud Message), Windows Phone, Windows 8, Amazon, Blackberry, and (soon) FirefoxOS devices!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

【Solved】APNS "ConnectionError" "SSL Stream Failed" on production server, but on develop pc is ok

12343954 opened this issue · comments

What version of PushSharp are you using?

4.0.10.0
PushSharp.Core;
PushSharp.Apple;

Describe your issue:

1,p12 file is generated on mac
2,put it on the development pc (windows 8.1) to test the push service, no problem, send notifications successfully.
image

3,but put it on the product machine(another windows server 2008 r2), it shows "ConnectionError".
image

image

What are the steps required to reproduce this issue?

firewall is closed.

Please provide any Exception Stack Traces

Unable to read data from transport connection, remote host forced to close an existing connection.
at PushSharp.Apple.ApnsServicesConnection.d__2.MoveNext()

solved it!
our network administrator deny the "Stream" connections on the router!