13 Replies Latest reply on Feb 21, 2013 8:51 AM by Adel Sari

    RhoConnect Error: Skipping ping for non-registered client_id

    Tahir Zamir

      Hi,

       

      I've just started to explore RhoMobile and I have run through the tutorials to create the StoreManager Rhodes client and the StoreServer RhoConnect app and source adapter. 

       

      I can sync successfully.

       

      I have then tried using RhoConnect to push a message to the client for the Android platform.

       

      I cannot seem to get push messaging to work regardless of which approach I use and I always get the message "Skipping ping for non-registered client_id".

       

      I have tested on both RhoSimulator and the Android simulator.

       

      I have tried pinging from the RhoConnect console as well.

       

      Can anyone give a clue as to what might be wrong.

       

      Regards,

       

      Tahir

       

      SETUP

      Rhoconnect Server v3.4.2

      Redis version 2.4.0

      MotorolaRhoMobileSuite 2.2.1.12

      rhodes 3.5.1.12

      Tested on Android SDK 2.2 & 4.0

      RhoSimulator and the Android Simulator

       

      APPROACH1

      StoreManager Rhodes client app

      StoreServer RhoConnect app

       

      settings.yml

       

      :development:

        :licensefile: settings/license.key

        :redis: localhost:6379

        :syncserver: http://192.6.12.171:9292/api/application/

        :api_token: my-rhoconnect-token

       

      build.yml

       

      capabilities:

        - push

       

      APPROACH2

      StoreManager Rhodes client app

      StoreServer RhoConnect app

      Rhoconnect push service

      GCM Project Number and API used

       

      settings.yml

       

      :development:

        :licensefile: settings/license.key

        :redis: localhost:6379

        :syncserver: http://192.6.12.171:9292/api/application/

        :push_server: http://someappname@localhost:8675/

        :push_notify: true

        :api_token: my-rhoconnect-token

        :gcm_api_key: **************************

       

      build.yml

       

      android:

        push:

          sender: "***********"

          notifications: "background"