15-03-20 15:12:26.871 [nioEventLoopGroup-2-1] TRACE c.r.pushy.apns.ApnsConnection - TestPushManager-connection-0 sending SendableApnsPushNotification [sequenceNumber=10, token=xxxxx, payload=payload that gets delivered}, deliveryInvalidation=null]
15-03-20 15:12:26.873 [nioEventLoopGroup-2-1] TRACE c.r.pushy.apns.ApnsConnection - TestPushManager-connection-0 successfully wrote notification 10
---long inactive time ---
15-03-20 23:09:19.215 [nioEventLoopGroup-2-1] TRACE c.r.pushy.apns.ApnsConnection - TestPushManager-connection-0 sending SendableApnsPushNotification [sequenceNumber=11, token=xxx, payload=payload that does NOT get detlivered,}, deliveryInvalidation=null]
15-03-20 23:09:19.392 [nioEventLoopGroup-2-1] TRACE c.r.pushy.apns.ApnsConnection - TestPushManager-connection-0 successfully wrote notification 11
15-03-20 23:09:21.077 [nioEventLoopGroup-2-1] DEBUG c.r.pushy.apns.ApnsConnection - TestPushManager-connection-0 caught an exception.
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcher.read0(Native Method) ~[na:1.6.0_22]
at sun.nio.ch.SocketDispatcher.read(Unknown Source) ~[na:1.6.0_22]
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source) ~[na:1.6.0_22]
at sun.nio.ch.IOUtil.read(Unknown Source) ~[na:1.6.0_22]
at sun.nio.ch.SocketChannelImpl.read(Unknown Source) ~[na:1.6.0_22]
at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:311) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:881) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:225) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) [netty-all-4.0.24.Final.jar:4.0.24.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468) [netty-all-4.0.24.Final.jar:4.0.24.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) [netty-all-4.0.24.Final.jar:4.0.24.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) [netty-all-4.0.24.Final.jar:4.0.24.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [netty-all-4.0.24.Final.jar:4.0.24.Final]
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [netty-all-4.0.24.Final.jar:4.0.24.Final]
at java.lang.Thread.run(Unknown Source) [na:1.6.0_22]
15-03-20 23:09:21.571 [nioEventLoopGroup-2-1] TRACE c.relayrides.pushy.apns.PushManager - Connection closed: ApnsConnection [name=TestPushManager-connection-0]
15-03-20 23:09:21.733 [pool-1-thread-1] DEBUG c.r.pushy.apns.ApnsConnection - TestPushManager-connection-1 beginning connection process.
15-03-20 23:09:22.235 [nioEventLoopGroup-2-1] DEBUG c.r.pushy.apns.ApnsConnection - TestPushManager-connection-1 connected; waiting for TLS handshake.
15-03-20 23:09:23.069 [nioEventLoopGroup-2-1] DEBUG c.r.pushy.apns.ApnsConnection - TestPushManager-connection-1 successfully completed TLS handshake.
15-03-20 23:09:23.070 [nioEventLoopGroup-2-1] TRACE c.relayrides.pushy.apns.PushManager - Connection succeeded: ApnsConnection [name= TestPushManager-connection-1]
15-03-20 23:11:45.178 [nioEventLoopGroup-2-1] TRACE c.r.pushy.apns.ApnsConnection - TestPushManager-connection-1 sending SendableApnsPushNotification [sequenceNumber=1, token=xxxx, payload=gets delivered again}, deliveryInvalidation=null]
15-03-20 23:11:45.179 [nioEventLoopGroup-2-1] TRACE c.r.pushy.apns.ApnsConnection - TestPushManager-connection-1 successfully wrote notification 1
It seems weird that i get a confirmation that the notification was received, but an exception right after. Is this some known problem?
--
Pushy is an open-source Java library for sending APNs (iOS and OS X) push notifications. Pushy is brought to you by the engineers at RelayRides.
---
You received this message because you are subscribed to the Google Groups "pushy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pushy-apns+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.