java.lang.IllegalStateException

Channel closed before HTTP/2 preface completed.

Solutions on the web5251

  • Channel closed before HTTP/2 preface completed.
  • Channel closed before HTTP/2 preface completed.
  • via Google Groups by Petar Petrov, 2 months ago
    Channel closed before HTTP/2 preface completed.
  • Stack trace

    • java.lang.IllegalStateException: Channel closed before HTTP/2 preface completed. at com.relayrides.pushy.apns.ApnsClient$2.operationComplete(ApnsClient.java:708)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at com.relayrides.pushy.apns.ApnsClient$2.operationComplete(ApnsClient.java:700)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:683)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:568)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:407)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.DefaultChannelPromise.trySuccess(DefaultChannelPromise.java:82)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.AbstractChannel$CloseFuture.setClosed(AbstractChannel.java:1064)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.AbstractChannel$AbstractUnsafe.doClose0(AbstractChannel.java:689)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.AbstractChannel$AbstractUnsafe.close(AbstractChannel.java:667)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.AbstractChannel$AbstractUnsafe.close(AbstractChannel.java:611)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.DefaultChannelPipeline$HeadContext.close(DefaultChannelPipeline.java:1416)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.ChannelHandlerInvokerUtil.invokeCloseNow(ChannelHandlerInvokerUtil.java:133)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.DefaultChannelHandlerInvoker.invokeClose(DefaultChannelHandlerInvoker.java:297)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeClose(AbstractChannelHandlerContext.java:379)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.AbstractChannelHandlerContext.close(AbstractChannelHandlerContext.java:226)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.ChannelOutboundHandlerAdapter.close(ChannelOutboundHandlerAdapter.java:71)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.ChannelHandlerInvokerUtil.invokeCloseNow(ChannelHandlerInvokerUtil.java:133)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.DefaultChannelHandlerInvoker.invokeClose(DefaultChannelHandlerInvoker.java:297)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeClose(AbstractChannelHandlerContext.java:379)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.AbstractChannelHandlerContext.close(AbstractChannelHandlerContext.java:226)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.handler.ssl.SslHandler.closeOutboundAndChannel(SslHandler.java:1250)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.handler.ssl.SslHandler.close(SslHandler.java:459)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.ChannelHandlerInvokerUtil.invokeCloseNow(ChannelHandlerInvokerUtil.java:133)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.DefaultChannelHandlerInvoker.invokeClose(DefaultChannelHandlerInvoker.java:297)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeClose(AbstractChannelHandlerContext.java:379)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.AbstractChannelHandlerContext.close(AbstractChannelHandlerContext.java:226)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.AbstractChannelHandlerContext.close(AbstractChannelHandlerContext.java:185)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.DefaultChannelPipeline.close(DefaultChannelPipeline.java:1119)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.AbstractChannel.close(AbstractChannel.java:224)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.ChannelFutureListener$2.operationComplete(ChannelFutureListener.java:56)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.ChannelFutureListener$2.operationComplete(ChannelFutureListener.java:52)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:683)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:604)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:564)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:425)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe$1.run(AbstractNioChannel.java:286)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.util.concurrent.PromiseTask$RunnableAdapter.call(PromiseTask.java:38)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:120)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:339)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:373)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:145)[Distribution-Server-2.3.11-RELEASE-jar-with-dependencies.jar:?] at java.lang.Thread.run(Thread.java:722)[?:1.7.0_17]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago