How to upgrade Aerogear ag-push from 1.3.1 Final to 2.5 latest

24 views
Skip to first unread message

Kailash Gajara

unread,
Mar 1, 2020, 8:11:32 AM3/1/20
to Aerogear
I have already existing setup of Aerogear Ag-push 1.3.1 final. Several projects I have added. Now I'm not able to send notifications (since last several months its been down). I'm getting following errors:

Variant XXX has failed: Error sending payload to APNs server: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_expired

Variant XXX has failed: Error sending payload to GCM server: HTTP Status Code: 301()

Variant XXX has failed: Error sending payload to APNs server: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_expired

What can be the reason? also I would want to retain my projects/users and upgrade ag-push to 2.5. How to do an upgrade? I am not able to find any instructions.

Massimiliano Ziccardi

unread,
Mar 2, 2020, 4:38:38 AM3/2/20
to Kailash Gajara, Aerogear
Hi Kailash, 
there are 2 different reasons why you can't send Push messages anymore:
  1. Android: Google deprecated GCM and moved to FCM. No support for GCM is given since May 2019. That's the reason for the "Variant XXX has failed: Error sending payload to GCM server: HTTP Status Code: 301()"
  2. iOS: the reason for the "Variant XXX has failed: Error sending payload to APNs server: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_expired" is that the certificate contained into the .p12 file you configured in your iOS variant is expired.
The solution for iOS should be easy: just replace the P12 with a new one in your iOS variant using the WebUI. For Android, the only solution is to upgrade to the latest version.

Unfortunately, we are still in the process of writing the upgrade documentation: you can see the progress following the issue AEROGEAR-10131

We already had a discussion about this topic with some hints on how to upgrade here: https://groups.google.com/forum/#!searchin/aerogear/ups$20migration$20documentation|sort:date/aerogear/aCWvoZr9KPc/blHuyK9dAQAJ

Hope this helps.

--
You received this message because you are subscribed to the Google Groups "Aerogear" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aerogear+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aerogear/8a2b8c31-b885-4aaf-9242-2cf27ce9cce9%40googlegroups.com.

Kailash Gajara

unread,
Mar 2, 2020, 5:14:47 AM3/2/20
to Massimiliano Ziccardi, Aerogear, tej...@atulsia.com
Hi Massimiliano,

Thank you for update. I will check the discussion you pointed out and update this thread please.

Kailash



Reply all
Reply to author
Forward
0 new messages