mappcenter / javapns

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

Fatal SSL handshake error: #184

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

133578 [JobCourier7] DEBUG javapns.communication.ConnectionToAppleServer  - 
Creating SSLSocket to gateway.push.apple.com:2195
134545 [JobCourier7] DEBUG javapns.notification.PushNotificationManager  - 
Initialized Connection to Host: [gateway.push.apple.com] Port: [2195]: 
Socket[addr=gateway.push.apple.com/17.149.35.167,port=2195,localport=63101]
134554 [JobCourier7] DEBUG javapns.notification.PushNotificationManager  - 
Building Raw message from deviceToken and payload
134555 [JobCourier7] DEBUG javapns.notification.PushNotificationManager  - 
Built raw message ID 1 of total length 292
134996 [JobCourier7] ERROR javapns.notification.PushNotificationManager  - 
Delivery error: java.io.IOException: Fatal SSL handshake error: 
java.lang.NullPointerException: CertificateChain and PrivateKey may not be null!
134997 [JobCourier7] DEBUG javapns.notification.PushNotificationManager  - 
Reading responses
135007 [JobCourier7] DEBUG javapns.notification.PushNotificationManager  - 
Closing connection
Till here1
All notifications failed (1):
  [1] not transmitted to token 33488..1b24c  java.io.IOException: Fatal SSL handshake error: java.lang.NullPointerException: CertificateChain and PrivateKey may not be null!

What version of the product are you using? On what operating system?
I am using Tibco and OS is Windows 7 

Please provide any additional information below.

Original issue reported on code.google.com by saurabh4...@gmail.com on 12 May 2013 at 11:50

GoogleCodeExporter commented 9 years ago
I am getting "Delivery error: java.io.IOException: Fatal SSL handshake error: 
java.lang.NullPointerException: CertificateChain and PrivateKey may not be 
null!" 

Can somebody please advise how to rectify this error.

Original comment by saurabh4...@gmail.com on 12 May 2013 at 11:51

GoogleCodeExporter commented 9 years ago
Have you followed PRECISELY all the steps necessary to create your keychain?  
You are most likely missing a step...

Original comment by sype...@gmail.com on 23 May 2013 at 7:47

GoogleCodeExporter commented 9 years ago
Closing for lack of feedback from original poster.

Original comment by sype...@gmail.com on 10 Jul 2013 at 9:31