Alerta fatal recebido: handshake_failure
Estou tentando enviar notificações por push para o meu dispositivo usando javapns biblioteca em liferay. Aqui está o 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();
}
}
Estou recebendo esse erro quando o pushNotification é chamado:
ERROR [PushNotificationManager:450] Delivery error: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
Eu pesquisei no Google, mas não consegui encontrar nenhuma solução.
Alguém sabe como resolver esse problema