Alerta fatal recibida: handshake_failure
Estoy tratando de enviar notificaciones push a mi dispositivo usando javapns biblioteca en liferay. Aquí está el código:
private void pushNotification(ActionRequest actionRequest,
ActionResponse actionResponse) {
try {
System.out.println("Push");
Push.alert("Hello World!", "ck.p12", "PASSPHRASE", false, "TOKEN");
} catch (CommunicationException e) {
System.out.println("CommunicationException");
e.printStackTrace();
} catch (KeystoreException e) {
System.out.println("KeystoreException");
e.printStackTrace();
}
}
Recibo este error cuando se llama a pushNotification:
ERROR [PushNotificationManager:450] Delivery error: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
Lo busqué en Google pero no pude encontrar ninguna solución.
¿Alguien sabe cómo solucionar este problema