Description
What version of PushSharp are you using?
3.0.1 and 3.0.1.15 nuget packages.
Describe your issue:
I use Windows 8.1.
When I try to send just a single push notification to Apple push notification servers, I get the following error:
Exception: System.IO.IOException: Authentication failed because the remote party has closed the transport stream.
at PushSharp.Apple.ApnsServiceConnection.d__2.MoveNext()
I checked out ports 2195 and 2196 to be open.
I tried telnet:
telnet gateway.sandbox.push.apple.com 2195
telnet gateway.push.apple.com 2195
telnet feedback.push.apple.com 2196
All connect successfully.
I tried running VS in administrator mode.
I tried installing certificates to my local machine (only machine I use).
There isn't any proxy server my machine is configured to use.
I'm using development (sandbox) certificate, I can't test production certificate right now because I don't have Device Token assigned with production certificate.
I read about SSL3 & TLS and I checked PushSharp sources, TLS is trying to be used when I download sources.
What are the steps required to reproduce this issue?
Use a valid sandbox certificate and assigned Device Token.
Use Windows 8.1
Try to send an Apple push notification
Please provide any Exception Stack Traces
Exception: System.IO.IOException: Authentication failed because the remote party has closed the transport stream.
at PushSharp.Apple.ApnsServiceConnection.d__2.MoveNext()