mappcenter / javapns

Automatically exported from code.google.com/p/javapns
0 stars 0 forks source link

Remote host closed connection during handshake #244

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.when i run Test.java to push notification to i phone6
2.
3.

javax.net.ssl.SSLHandshakeException: Remote host closed connection during 
handshake
 at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
 at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
 at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source)
 at sun.security.ssl.AppOutputStream.write(Unknown Source)
 at java.io.OutputStream.write(Unknown Source)
 at javapns.notification.PushNotificationManager.sendNotification(PushNotificationManager.java:402)
 at javapns.notification.PushNotificationManager.sendNotification(PushNotificationManager.java:350)
 at javapns.notification.PushNotificationManager.sendNotification(PushNotificationManager.java:320)
 at javapns.Push.sendPayload(Push.java:177)
 at javapns.Push.payload(Push.java:149)
 at com.cytilife.pushnotification.Test.main(Test.java:38)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
 at sun.security.ssl.InputRecord.read(Unknown Source)

Original issue reported on code.google.com by ramkp...@gmail.com on 4 Jul 2015 at 6:31

Attachments: