<div dir="ltr">Hi,<div><br></div><div>I think you are using an older version of the UPS.</div><div><br></div><div>For 1.1.0, we actually did add support for the GCM-3 token format (InstanceID).</div><div><br></div><div>Can you tell us the version number ? </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 8, 2016 at 5:28 PM, Matthias Wessendorf <span dir="ltr">&lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>did you managed to get it working? I am wondering if it was a temporary issue for you - looks like for Summers it worked </div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 30, 2016 at 5:14 PM, Summers Pittman <span dir="ltr">&lt;<a href="mailto:supittma@redhat.com" target="_blank">supittma@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I know &quot;Works on my machine&quot; is a bad response, but well, works on my machine*<div><br></div><div>The caveats are I am using UPS 1.1.2 and AGDroid-push 3.0.0-SNAPSHOT.  As far as I know AGDroid 2.2.2 does not use Instance ID.</div><div><br></div><div>I&#39;ve uploaded some screen shots here : <a href="http://imgur.com/a/eKF4F" target="_blank">http://imgur.com/a/eKF4F</a></div><div><br></div><div>Can you provide some more details?  What versions of things are you using?  Can you gist your source code, etc.</div><div><br></div><div><br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 23, 2016 at 8:34 PM, Matthias Wessendorf <span dir="ltr">&lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Thu, Mar 24, 2016 at 1:00 AM, Matthias Wessendorf <span dir="ltr">&lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;</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"><div dir="ltr">Hello,<div><br></div><div>sorry for the late reply, but the mail got stuck in my moderation queue :-( </div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote"><span>On Thu, Mar 17, 2016 at 2:44 PM, cel <span dir="ltr">&lt;<a href="mailto:heldner@glue.ch" target="_blank">heldner@glue.ch</a>&gt;</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">The new device Token returned by the new GCM - API for Android (using<br>
InstanceId.getToken  instead of gcm.register(context), which is deprecated)<br></blockquote><div><br></div></span><div>For that we have a ticket, but weren&#39;t able to get to it:</div><div><a href="https://issues.jboss.org/browse/AGDROID-427" target="_blank">https://issues.jboss.org/browse/AGDROID-427</a><br></div><span><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">
is not accepted by the Aerogear server. The format of the<br>
InstanceId.getToken is different.<br>
Example:<br>
Beginnning of gcm.register - Token :<br>
APA91bGdSq3-OKaDV_pyvunTZpnD_LKb6OrxIk7...<br>
Beginning of InstanceId.getToken : eArreQ7017w:APA91bFe5lTYzEoNSivfPYaID...<br>
 So if I try to register with the InstanceId.getToken using the Restful<br>
interface &quot;/registry/device&quot; the Http response of the aerogear server is:<br>
&quot;200 OK&quot;, but I still cannot find it in the installations. Consequently no<br></blockquote></span></div></div></div></blockquote><div><br></div></span><div>I think the weird part is, that it&#39;s returning 200 to the Android device, which means it was accepted,</div><div>but something else went wrong, while sending.</div><div><br></div><div>Any more logs? Or can you increase logging on the UPS?</div><div><a href="https://aerogear.org/docs/unifiedpush/ups_userguide/index/#debugging" target="_blank">https://aerogear.org/docs/unifiedpush/ups_userguide/index/#debugging</a><br></div><span><div><br></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"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span><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">
push notifications from aerogear can be sent to that device. Is this a Bug?<br>
Has this been fixed in newer versions?<br></blockquote><div><br></div></span><div>yes, that&#39;s a bug - looks like the token format changed w/ InstanceId, and our &#39;validator&#39; needs to be updated.</div><div><br></div><div>Thanks for reporting, I have filed a JIRA and we will be looking at it:</div><div><a href="https://jira.jboss.org/browse/AGPUSH-1600" target="_blank">https://jira.jboss.org/browse/AGPUSH-1600</a><br></div><div><br></div><div>-Matthias</div><span><div><br></div><div><br></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>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://aerogear-dev.1069024.n5.nabble.com/GCM-Device-Token-not-accepted-tp12403.html" rel="noreferrer" target="_blank">http://aerogear-dev.1069024.n5.nabble.com/GCM-Device-Token-not-accepted-tp12403.html</a><br>
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" target="_blank">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</blockquote></span></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div>
</font></span></div></div>
</blockquote></span></div><span><br><br clear="all"><div><br></div>-- <br><div>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div>
</span></div></div>
<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div>
</div>