Skip to Content
author's profile photo Former Member
Former Member

SMP Push Notifications


I am trying to implement GCM PUSH Notifications using SMP.

Steps done:

1. API Key and Sender ID added to PUSH tab in application.

2. Registered on SMP and then Registered for GCM Token.

3. Registered GCM token on SMP.

After that i try to send GCM Push Notification using Rest Client using URL:

http://<SMP Server IP>:8080/Notification/<APPCID>

But i still dont receive notification on my android device.

Server log shows following:

#2.0#2016-09-23 data to be pushed to device#

#2.0#2016-09-23 Push: End time for processing Push Notification (UTC): 1474627137506#

#2.0#2016-09-23 non-gateway GCM Push#

#2.0#2016-09-23 Gateway Notification#

#2.0#2016-09-23 Notification data from headers#

#2.0#2016-09-23 getC2DMNotification()#

I have opened ports 5228,5229,5230,5223 for incoming connection but the same have not been opened for outgoing connection.

Can this be an issue?

Need some urgent help to solve this issue.


Nikhil Deshmukh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 05, 2016 at 08:02 AM

    Hello Nikhil,

    Check whether you have mentioned senderID in your index.html file of application, if not try once by adding as a parameter in registerForPush() method.

    Also, change url http://<SMP Server IP>:8080/Notification/<APPCID> you are passing from rest client to http://host:port/restnotification/application/APPCID.

    When you post a request from rest client, in response you should get status as 201 created and value in response of the registration id as "ok" for getting push notification on device

    for ex:

    "results": [


    "status": {

    "value": "OK",

    "code": 0


    "registrationId": "(registrationID)"


    Hope it will be helpful for you.


    Kalyani Nagpurkar

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Kalyani,

      When I hit the notification URL i get 201 Created status.

      Also I get a message as : Notification submitted for processing.

      Still I dont get any notification on my device.








      Does payload seem to be right?

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.