<div dir="ltr"><br><div>Ok, sorry for answering this late but i had to get a Mac in order to do the right debug. Xcode log files don&#39;t give any info. What&#39;s more when I debug the application using Xcode, neither the success or error callback handlers are called. The UPS server log also doesn&#39;t show anything. Any idea what could be happening?</div></div><br><div class="gmail_quote"><div dir="ltr">El jue., 3 de sept. de 2015 a la(s) 1:07 a. m., Erik Jan de Wit &lt;<a href="mailto:edewit@redhat.com">edewit@redhat.com</a>&gt; escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Fabio,</div><div><br></div>Can you have a look in the UPS logs? The device log might also provided some extra information. Running it from xcode you can see this log. Not being able to register can not be the cause of the certificate is not configured correctly, that will only prevent UPS from sending a message to the device.<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"></div></div><div class="gmail_extra"><div class="gmail_quote">On Wed, Sep 2, 2015 at 10:06 PM, Fabio Turizo <span dir="ltr">&lt;<a href="mailto:fabio.turizo@gmail.com" target="_blank">fabio.turizo@gmail.com</a>&gt;</span> wrote:<br></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Greetings.<div><br></div><div>Ia have an error when i try to register an user in a Cordova app to the Unified Push Server. The error callback in this code:</div><div><br></div><div><div><i>function registerPush(alias) {</i></div><div><i>    if(typeof push !== &#39;undefined&#39;){</i></div><div><i>        console.log(&#39;Registering push notifications for: &#39; + alias);</i></div><div><i>        $.ajax({</i></div><div><i>            url: &quot;push-config.json&quot;,</i></div><div><i>            dataType: &quot;json&quot;</i></div><div><i>        }).then(function (pushConfig) {</i></div><div><i>            pushConfig.alias = alias;</i></div><div><i>            push.register(onNotification, successHandler, errorHandler, pushConfig);</i></div><div><i><br></i></div><div><i>            function successHandler() {</i></div><div><i>                console.log(&#39;Succesfully registered to aerogear push!&#39;);</i></div><div><i>            }</i></div><div><i><br></i></div><div><i>            function errorHandler(message) {</i></div><div><i>                console.log(&#39;Error registering aerogear push: &#39; + message);</i></div><div><i>            }</i></div><div><i>        });</i></div><div><i>    }</i></div><div><i>}</i></div></div><div><br></div><div>Gets called with a &#39;null&#39; message. Do you have any suggestions to debug this issue further? I&#39;ve tried re-issuing a new APN certiticate but it didn&#39;t work.</div></div>
<br></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Cheers,<div>       Erik Jan</div></div></div>
</div>
_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
</blockquote></div>