APNS closes connection with no response

I am using the PushSharp open-source libraries for C#.Net to send out push notifications to apns. I am able to successfully register and store my device tokens for my app, and I am using the certificate exported as a .p12 file through the keychain.


I am consistently having the issue where upon sending a push notification to the apn server, the server will close the connection and not respond with any data. As per tn2265 this should mean "the connection was closed because of an error such as an invalid command byte or other parsing error". If I pass an invalid token I get the appropriate error code, and I am consistently getting this result in both sandbox AND production. However, I have gotten a single token value to work properly in the sandbox environment despite making no changes, and even then the notification does not appear on the device.


Is there any way to determine what is going wrong?

APNS closes connection with no response
 
 
Q