Got a reply from Miguel:
I tried the https and I managed to connect! Geat.
The funny part of the whole thing is that I always used the https:// but
with the simplepush string...
Yes, I'll join the mailing list.
based on that (and the earlier provided stack trace), I filed this ticket:
On Mon, Feb 17, 2014 at 7:27 AM, Matthias Wessendorf <matzew(a)apache.org>wrote:
Miguel, note the redirect to https is only on OpenShift - on you
machine, all stays http
On Mon, Feb 17, 2014 at 7:23 AM, Matthias Wessendorf <matzew(a)apache.org>wrote:
> Hello Miguel,
> forwarding this to our developer list (see ). 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
> 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://lists.jboss.org/mailman/listinfo/aerogear-dev
> On Sun, Feb 16, 2014 at 5:25 PM, Miguel Lemos <miguel21op(a)gmail.com>wrote:
>> Dear all,
>> I made an update to your last library version and I get the same
>> 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
>> aerogear-issues mailing list
> Matthias Wessendorf
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf