[Aerogear-users] Device registration - Method not allowed

Summers Pittman supittma at redhat.com
Thu Jun 2 09:08:46 EDT 2016


Ok I did some digging and discovered a confound which might be the issue.

When I make a request to your UPS instance using curl I get a redirect.  It
is possible that the agdroid push library does not handle this redirect
elegantly.

The redirect is from "$YOUR_URL/ag-push/rest/registry/device" to
"$YOUR_URL/ag-push/rest/registry/device/".  Notice how a "/" is added onto
the end.

I'm not convinced this is the issue, but it does seem like something to
investigate.


On Thu, Jun 2, 2016 at 7:58 AM, Summers Pittman <supittma at redhat.com> wrote:

> So I don't think you are experiencing AGDROID-270.
>
> I've used the Android N network security tooling and still get the same
> error.  Additionally I have successfully registered with a different
> instance of UPS using the sample code.
>
> Which version of the UPS server are you running?
>
> On Thu, Jun 2, 2016 at 7:13 AM, Summers Pittman <supittma at redhat.com>
> wrote:
>
>>
>>
>> On Thu, Jun 2, 2016 at 1:53 AM, Ramona.Cristea <Ramona.Cristea at mvise.de>
>> wrote:
>>
>>> Unfortunately the client wants to support API 16 and up, so we have to
>>> find a
>>> solution also for the older android versions. I sent you yesterday
>>> evening
>>> the sample app through email, hope you received it.
>>>
>>> Could you test the workaround in an Android N emulator?  If the app
>> works in that situation we know you are facing
>> https://issues.jboss.org/browse/AGDROID-270 and we can work out a better
>> work around which works for Android 16 (and fixes this for everyone else).
>>
>> I'm taking a look at the sample today.
>>
>>
>>>
>>> --
>>> View this message in context:
>>> http://aerogear-users.1116366.n5.nabble.com/Aerogear-users-Device-registration-Method-not-allowed-tp685p698.html
>>> Sent from the aerogear-users mailing list archive at Nabble.com.
>>> _______________________________________________
>>> Aerogear-users mailing list
>>> Aerogear-users at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/aerogear-users
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20160602/956c37c5/attachment-0001.html 


More information about the Aerogear-users mailing list