# io.netty.handler.codec.compression.DecompressionException: Input is not in the GZIP format

**URL:** <https://discuss.elastic.co/t/io-netty-handler-codec-compression-decompressionexception-input-is-not-in-the-gzip-format/165514>\
**Category:** Elasticsearch\
**Created:** [January 24, 2019, 2:20am UTC](https://discuss.elastic.co/t/io-netty-handler-codec-compression-decompressionexception-input-is-not-in-the-gzip-format/165514 "2019-01-24T02:20:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiaoyao](https://avatars.discourse-cdn.com/v4/letter/x/cdc98d/32.png) [@xiaoyao](https://discuss.elastic.co/u/xiaoyao)\
**Post date:** [January 24, 2019, 2:20am UTC](https://discuss.elastic.co/t/io-netty-handler-codec-compression-decompressionexception-input-is-not-in-the-gzip-format/165514/1 "2019-01-24T02:20:37Z")

</div>

[2019-01-24T10:04:40,406][WARN][o.e.h.n.Netty4HttpServerTransport] [HC-Elasticsearch-node02\_N] caught exception while handling client http traffic, closing connection [id: 0xbcdf3dcf, L:/es-ip:9200 ! R:/logstash-ip:50878]  
io.netty.handler.codec.compression.DecompressionException: Input is not in the GZIP format  
at io.netty.handler.codec.compression.JdkZlibDecoder.readGZIPHeader(JdkZlibDecoder.java:244) ~[netty-codec-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.handler.codec.compression.JdkZlibDecoder.decode(JdkZlibDecoder.java:153) ~[netty-codec-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:489) ~[netty-codec-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:428) ~[netty-codec-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265) ~[netty-codec-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) ~[netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) ~[netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) ~[netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334) ~[netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926) ~[netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:274) ~[netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.handler.codec.http.HttpContentDecoder.decode(HttpContentDecoder.java:233) ~[netty-codec-http-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.handler.codec.http.HttpContentDecoder.decodeContent(HttpContentDecoder.java:155) ~[netty-codec-http-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.handler.codec.http.HttpContentDecoder.decode(HttpContentDecoder.java:147) ~[netty-codec-http-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.handler.codec.http.HttpContentDecoder.decode(HttpContentDecoder.java:46) ~[netty-codec-http-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:88) ~[netty-codec-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310) [netty-codec-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284) [netty-codec-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86) [netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334) [netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926) [netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:134) [netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:644) [netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:544) [netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:498) [netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:458) [netty-transport-4.1.13.Final.jar:4.1.13.Final]  
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [netty-common-4.1.13.Final.jar:4.1.13.Final]  
at java.lang.Thread.run(Thread.java:748) [?:1.8.0\_131]

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 24, 2019, 3:51am UTC](https://discuss.elastic.co/t/io-netty-handler-codec-compression-decompressionexception-input-is-not-in-the-gzip-format/165514/2 "2019-01-24T03:51:10Z")

</div>

Please don't post the same question more than once, it makes it harder for people to help you 🙂

> [@Caught exception while handling client http traffic, closing connection \[id: 0xbcdf3dcf, L:/es-ip:9200 ! R:/logstash-ip:50878\]](https://discuss.elastic.co/t/caught-exception-while-handling-client-http-traffic-closing-connection-id-0xbcdf3dcf-l-es-ip-9200-r-logstash-ip-50878/165517):
>
> [2019-01-24T10:04:40,406][WARN][o.e.h.n.Netty4HttpServerTransport] [HC-Elasticsearch-node02\_N] caught exception while handling client http traffic, closing connection [id: 0xbcdf3dcf, L:/es-ip:9200 ! R:/logstash-ip:50878] io.netty.handler.codec.compression.DecompressionException: Input is not in the GZIP format at io.netty.handler.codec.compression.JdkZlibDecoder.readGZIPHeader(JdkZlibDecoder.java:244) ~[netty-codec-4.1.13.Final.jar:4.1.13.Final] at io.netty.handler.codec.compression.JdkZlib…

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 24, 2019, 3:51am UTC](https://discuss.elastic.co/t/io-netty-handler-codec-compression-decompressionexception-input-is-not-in-the-gzip-format/165514/3 "2019-01-24T03:51:14Z")

</div>


