[aerogear-dev] Android Push: 3G /WiFi

Erik Jan de Wit edewit at redhat.com
Thu Feb 27 09:55:20 EST 2014


Hi Torben,

> 
> I am just starting to build a proof of concept with Aerogear unified push
> server on openshift with the openshift cartridge, and I must say that it
> looks really good!

Super, nice to hear.

> 
> I have one anomaly which looks strange: on iOS everything receives great on
> Tablet and Phone devices.
> If I test it on Android phone (running 4.4) I have to switch from Wifi to 3G
> to receive notifications. On a Wifi only tablet I do receive not any events.
> 
Regardless if your device is connected with Wifi or 3G it should be able to receive events. What you could also check is that the device registered in the UnifiedPush server under Installation.

> -------------
> In the server log I see something like this:
> 2014/02/27 05:19:06,921 INFO 
> [org.jboss.aerogear.unifiedpush.rest.sender.PushNotificationSenderEndpoint]
> (http-127.5.104.1-127.5.104.1-8080-1) Message submitted to PushNetworks for
> further processing
> 2014/02/27 05:19:08,437 INFO  [com.notnoop.apns.internal.ApnsConnectionImpl]
> (Thread-99) Exception while waiting for error code:
> java.net.SocketException: Socket closed
> 	at java.net.SocketInputStream.socketRead0(Native Method) [rt.jar:1.7.0_51]
> 	at java.net.SocketInputStream.read(SocketInputStream.java:152)
> [rt.jar:1.7.0_51]
> 	at java.net.SocketInputStream.read(SocketInputStream.java:122)
> [rt.jar:1.7.0_51]
> 	at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)
> [jsse.jar:1.7.0_51]
> 	at sun.security.ssl.InputRecord.read(InputRecord.java:480)
> [jsse.jar:1.7.0_51]
> 	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)
> [jsse.jar:1.7.0_51]
> 	at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:884)
> [jsse.jar:1.7.0_51]
> 	at sun.security.ssl.AppInputStream.read(AppInputStream.java:102)
> [jsse.jar:1.7.0_51]
> 	at java.io.InputStream.read(InputStream.java:101) [rt.jar:1.7.0_51]
> 	at
> com.notnoop.apns.internal.ApnsConnectionImpl$1MonitoringThread.run(ApnsConnectionImpl.java:114)
> [apns-0.2.3.jar:]
> -------------------
> 
This error seems to be generated from the iOS side of things.




More information about the aerogear-dev mailing list