Got a reply from Miguel:

Hi Matthias,

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 <> wrote:
Miguel, note the redirect to https is only on OpenShift - on you local machine, all stays http


On Mon, Feb 17, 2014 at 7:23 AM, Matthias Wessendorf <> wrote:
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

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 ( ) ?


On Sun, Feb 16, 2014 at 5:25 PM, Miguel Lemos <> 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: 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


Matthias Wessendorf


Matthias Wessendorf