[aerogear-dev] [aerogear-issues] Update

Matthias Wessendorf matzew at apache.org
Mon Feb 17 01:23:01 EST 2014


Hello Miguel,

forwarding this to our developer list (see [1]). Feel free to subscribe to
it.


Looking at your stacktrace, I think the problem here is that you are not
using the https scheme
(02-16 15:51:30.899: E/HttpRestProvider(21213): Error on POST of
http://aerogear-metalpush.rhcloud.com/rest/registry/device)

when posting to http, the server does a redirect (302) to the https scheme,
looks like this is not understood by our Android library.

Can you try the same registration process, but instead using https (
https://aerogear-metalpush.rhcloud.com ) ?

Greetings,
Matthias



[1] https://lists.jboss.org/mailman/listinfo/aerogear-dev


On Sun, Feb 16, 2014 at 5:25 PM, Miguel Lemos <miguel21op at gmail.com> wrote:

> Dear all,
>
> I made an update to your last  library  version and I get the same errors.
> My app uses Cordova 3.3 and the device where I test the plugin runs
> Android 4.1.
>
> I attach a small logcat file where is summarized what makes the app not
> register (?) to the service.
>
> The errorHandler function, as I said before, throws this error:
>
> java.io.IOException:BufferedinputStream is closed
>
> The app itself keeps running, though...
> I appreciate any help because I don't know what else I can do.
>
> A  thing I noticed:
>
> Inside the Aerogear Console, where is the Android Variant with all data,
> the table that describes the Token, Device, etc, is empty. I presume it's
> only filled the first time the device manages to register, or else...?
>
> I think your solution is very promising and makes the right approach to a
> real problem, but i must manage to make it work :-(
>
> Thanks again
>
> Miguel
>
> _______________________________________________
> aerogear-issues mailing list
> aerogear-issues at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-issues
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20140217/b650da99/attachment-0001.html 


More information about the aerogear-dev mailing list