Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-100938

Push notifications are failing with error: com.google.android.gcm.server.InvalidRequestException: HTTP Status Code: 400(Error=DeprecatedEndpoint)

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 6.2.X EE
    • Fix Version/s: None
    • Component/s: Push Notifications
    • Labels:
      None

      Description

      Hi,

      We are having an android web screenlet app with push notifications. Push notifications were working fine earlier. But due to change in cloud messaging services from GCM to FCM, we see the error in Liferay logs, while sending push notifications using Liferay Control Panel>> Push Notifications >> Test.

      Device registration is working fine. But the app is not receiving notification, getting below error in Liferay Logs:

       

      17:49:03,934 ERROR [liferay/push_notification_response-1][PushNotificationsResponseMessageListener:37] {"id":null,"succeeded":false,"platform":"android","status":"HTTP Status Code: 400(Error=DeprecatedEndpoint)","token":null,"javaClass":"com.liferay.pushnotifications.sender.BaseResponse","payload":null}
      17:49:03,941 ERROR [http-bio-8080-exec-1159][JSONWebServiceServiceAction:87] com.google.android.gcm.server.InvalidRequestException: HTTP Status Code: 400(Error=DeprecatedEndpoint)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 weeks, 1 day ago

                Packages

                Version Package