<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 17, 2014 at 2:19 PM, oxsav <span dir="ltr"><<a href="mailto:vmfamaral@gmail.com" target="_blank">vmfamaral@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hmm did it. And the problem persists.<br>
<br>
I analysed the log from the jboss and when I try to open the URL:<br>
<a href="http://150.140.184.246:4441/unifiedpush-server-0.10.0" target="_blank">http://150.140.184.246:4441/unifiedpush-server-0.10.0</a> , returns me the<br>
following error:<br>
<br>
/*5:07:49,969 ERROR [org.jboss.as.ejb3.invocation] (default task-1)<br>
JBAS014134: EJB Invocation failed on component Ping for method public<br>
javax.ws.rs.core.Response<br>
org.jboss.aerogear.unifiedpush.rest.util.Ping.ping():<br>
javax.ejb.EJBException:<br>
org.jboss.aerogear.security.exception.AeroGearSecurityException: Not<br>
authorized!*/<br></blockquote><div><br></div><div>The first "Ping" Rest call will always return this, the admin client uses this to check if you are connected or not. So, having this log (probably at the beginning) make sense. </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
The weird thing is, I can access that well and create my application, my<br>
variant and I already have an device registered to a variant :S ..<br>
Any idea?<br></blockquote><div><br></div><div>Again, sorry again for asking stupid questions but you are sure to not have left the "{" and "}" around the PushId and the masterID, check this valid example : <a href="https://github.com/sebastienblanc/chuckpush/blob/master/CURL.txt">https://github.com/sebastienblanc/chuckpush/blob/master/CURL.txt</a></div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Tks,<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-Problem-with-Push-notification-chrome-app-tp6817p6854.html" target="_blank">http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-Problem-with-Push-notification-chrome-app-tp6817p6854.html</a><br>
<div class=""><div class="h5">Sent from the aerogear-dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</div></div></blockquote></div><br></div></div>