<div dir="ltr">In Android N I have documented a workaround for this particular issue : <a href="https://blog.sagaoftherealms.net/?p=578">https://blog.sagaoftherealms.net/?p=578</a></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 1, 2016 at 8:20 AM, 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"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Jun 1, 2016 at 6:43 AM, Ramona.Cristea <span dir="ltr">&lt;<a href="mailto:Ramona.Cristea@mvise.de" target="_blank">Ramona.Cristea@mvise.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I&#39;m a colleague of Philipp, only that I&#39;m working on integrating the android<br>
part.<br>
<br>
We generated again variantID and variantSecret and we send them correctly.<br>
Also we tested the request using Advance REST client chrome extension and<br>
there the connection succeeds with 200 status code and a json response. But<br>
inside the app we still receive error 405 Method not allowed.<br>
<br>
Exception received: org.jboss.aerogear.android.pipe.http.HttpException: The<br>
server returned the error code 405.<br>
Stacktrace:<br>
&quot;org.jboss.aerogear.android.pipe.http.HttpRestProvider.getHeaderAndBody(HttpRestProvider.java:287)&quot;<br>
&quot;org.jboss.aerogear.android.pipe.http.HttpRestProvider.post(HttpRestProvider.java:148)&quot;<br>
&quot;org.jboss.aerogear.android.pipe.http.HttpRestProvider.post(HttpRestProvider.java:134)&quot;<br>
&quot;org.jboss.aerogear.android.unifiedpush.gcm.AeroGearGCMPushRegistrar$4.doInBackground(AeroGearGCMPushRegistrar.java:170)&quot;<br>
&quot;org.jboss.aerogear.android.unifiedpush.gcm.AeroGearGCMPushRegistrar$4.doInBackground(AeroGearGCMPushRegistrar.java:135)&quot;<br>
&quot;android.os.AsyncTask$2.call(AsyncTask.java:292)&quot;<br>
&quot;java.util.concurrent.FutureTask.run(FutureTask.java:237)&quot;<br>
&quot;android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)&quot;<br>
&quot;java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)&quot;<br>
&quot;java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)&quot;<br>
&quot;java.lang.Thread.run(Thread.java:818)&quot;<br>
<br>
After some more digging we suspect that this is the issue we are<br>
experiencing <a href="https://issues.jboss.org/browse/AGDROID-270" rel="noreferrer" target="_blank">https://issues.jboss.org/browse/AGDROID-270</a> , only that we<br>
don&#39;t receive inside the app an exception similar to that described in the<br>
jira ticket. According to the steps described there, it seems that aero gear<br>
library fails to establish a connection to a unified Push Server using<br>
HTTPS, which is exactly what we are trying to do. We can provide the sample<br>
app with our server configuration set up if needed.<br>
<br></blockquote></div></div><div>The sample app would be great.  Just link us a github (or any other public repo) and we can take a look. </div><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
--<br>
View this message in context: <a href="http://aerogear-users.1116366.n5.nabble.com/Aerogear-users-Device-registration-Method-not-allowed-tp685p694.html" rel="noreferrer" target="_blank">http://aerogear-users.1116366.n5.nabble.com/Aerogear-users-Device-registration-Method-not-allowed-tp685p694.html</a><br>
Sent from the aerogear-users mailing list archive at Nabble.com.<br>
<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>
</div></div></blockquote></span></div><br></div></div>
</blockquote></div><br></div>