B4J Question B4X Push Server doesn't sent notifications

Discussion in 'B4J Questions' started by mauro vicamini, Jul 21, 2015.

  1. mauro vicamini

    mauro vicamini Active Member Licensed User

    Hi Everyone,
    I've try to make work the B4X Push Server, I've configurede everything (certs,provisioning files, keystore, API KEY,etc..) end when I try to send it seems to go all ok but the notification never arrive neither on iPhones neither on Android.

    This is the log;
    Code:
    Program started.
    2015-07-21 14:55:00.521:INFO::main: Logging initialized @1386ms
    2015-07-21 14:55:00.603:INFO:oejs.Server:main: jetty-9.1.z-SNAPSHOT
    2015-07-21 14:55:00.627:WARN:oejh.MimeTypes:main: java.util.MissingResourceException: Can't find bundle for base name org/eclipse/jetty/http/encoding, locale it_IT
    2015-07-21 14:55:00.646:INFO:oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@5d1ae567{/,file:/D:/b4japps/PushServer/Objects/www,AVAILABLE}
    2015-07-21 14:55:00.649:INFO:oejs.AbstractNCSARequestLog:main: Opened D:\b4japps\PushServer\Objects\logs\b4j-2015_07_21.request.log
    2015-07-21 14:55:00.682:INFO:oejs.ServerConnector:main: Started ServerConnector@3810c0f7{HTTP/1.1}{0.0.0.0:51044}
    2015-07-21 14:55:00.682:INFO:oejs.Server:main: Started @1570ms
    Emulated network latency: 100ms
    server version: 0.95
    server is listening on port: 51044
    Socket connected.
    Feedback Socket connected.
    feedback terminated
    send message to
    Message was sent successfully
    what could it be?

    Thanks
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    The logs look correct.
    Lets start with the Android app. What are you doing with the push message? Can you post the code that handles the message?

    Are you monitoring the logs?
     
  3. mauro vicamini

    mauro vicamini Active Member Licensed User

    Thanks Erel, It's all okay: it was only me suffering for the hot summer in Milan! :)
    I did not put the code to get the notifications... :oops:
     
    Erel likes this.
Loading...