7.8 C
London
Tuesday, February 13, 2024

what causes: “java.io.IOException: Stream closed earlier than a reply was acquired” concern working wit apple pans Notifications


In my app I take advantage of notifications, out of the blue they weren’t delivered anymore. this occurs kind of each two months. I remedy it restarting the container for my server. There is no such thing as a error in my server, messages are accurately delivered, no concern. Downside is about notifications, they’re merely not arriving. Trying right here and there it appears to be a problem with connection between my server and Apple’s however I would like to grasp it higher, can not discover Apple docs about this conduct. WHY, and above all HOW apple stops this connection? I believe Pushy shouldn’t be instantly concerned. Is it doable that it “merely occurs” ? dangerous connection and Apple kills the connection? I would like some extra information on the final mechanism.

WARN  [2024-02-12 10:19:41,750] org.whispersystems.textsecuregcm.push.RetryingApnsClient: Execution exception
! java.io.IOException: Stream closed earlier than a reply was acquired
! at com.eatthepath.pushy.apns.ApnsClientHandler.<clinit>(ApnsClientHandler.java:84)
! at com.eatthepath.pushy.apns.TokenAuthenticationApnsClientHandler$TokenAuthenticationApnsClientHandlerBuilder.construct(TokenAuthenticationApnsClientHandler.java:88)
! at com.eatthepath.pushy.apns.TokenAuthenticationApnsClientHandler$TokenAuthenticationApnsClientHandlerBuilder.construct(TokenAuthenticationApnsClientHandler.java:60)
! at io.netty.handler.codec.http2.AbstractHttp2ConnectionHandlerBuilder.buildFromCodec(AbstractHttp2ConnectionHandlerBuilder.java:551)
! at io.netty.handler.codec.http2.AbstractHttp2ConnectionHandlerBuilder.buildFromConnection(AbstractHttp2ConnectionHandlerBuilder.java:540)
! at io.netty.handler.codec.http2.AbstractHttp2ConnectionHandlerBuilder.construct(AbstractHttp2ConnectionHandlerBuilder.java:504)
! at com.eatthepath.pushy.apns.ApnsClientHandler$ApnsClientHandlerBuilder.construct(ApnsClientHandler.java:145)
! at com.eatthepath.pushy.apns.ApnsChannelFactory$1.initChannel(ApnsChannelFactory.java:128)
! at com.eatthepath.pushy.apns.ApnsChannelFactory$1.initChannel(ApnsChannelFactory.java:100)
! at io.netty.channel.ChannelInitializer.initChannel(ChannelInitializer.java:129)
! at io.netty.channel.ChannelInitializer.handlerAdded(ChannelInitializer.java:112)
! at io.netty.channel.AbstractChannelHandlerContext.callHandlerAdded(AbstractChannelHandlerContext.java:938)
! at io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:609)
! at io.netty.channel.DefaultChannelPipeline.entry$100(DefaultChannelPipeline.java:46)
! at io.netty.channel.DefaultChannelPipeline$PendingHandlerAddedTask.execute(DefaultChannelPipeline.java:1463)
! at io.netty.channel.DefaultChannelPipeline.callHandlerAddedForAllHandlers(DefaultChannelPipeline.java:1115)
! at io.netty.channel.DefaultChannelPipeline.invokeHandlerAddedIfNeeded(DefaultChannelPipeline.java:650)
! at io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:502)
! at io.netty.channel.AbstractChannel$AbstractUnsafe.register(AbstractChannel.java:468)
! at io.netty.channel.SingleThreadEventLoop.register(SingleThreadEventLoop.java:87)
! at io.netty.channel.SingleThreadEventLoop.register(SingleThreadEventLoop.java:81)
! at io.netty.channel.MultithreadEventLoopGroup.register(MultithreadEventLoopGroup.java:86)
! at io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:323)
! at io.netty.bootstrap.Bootstrap.doResolveAndConnect(Bootstrap.java:155)
! at io.netty.bootstrap.Bootstrap.join(Bootstrap.java:116)
! at com.eatthepath.pushy.apns.ApnsChannelFactory.lambda$create$2(ApnsChannelFactory.java:176)
! at io.netty.util.concurrent.PromiseTask.runTask(PromiseTask.java:98)
! at io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:170)
! at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
! at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
! at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
! at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
! at io.netty.util.inner.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
! at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
! at java.base/java.lang.Thread.run(Thread.java:829)

Latest news
Related news

LEAVE A REPLY

Please enter your comment!
Please enter your name here