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: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.X EE
    • Fix Version/s: Master
    • Component/s: Liferay Push
    • 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

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            ankitsrivastava37@gmail.com Ankit Srivastava
            Participants of an Issue:
            Recent user:
            Manoel Cyreno
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 24 weeks ago

                Packages

                Version Package
                Master