# Invalid version of beats protocol?

**URL:** <https://discuss.elastic.co/t/invalid-version-of-beats-protocol/205259>\
**Category:** Logstash\
**Created:** [October 25, 2019, 12:51pm UTC](https://discuss.elastic.co/t/invalid-version-of-beats-protocol/205259 "2019-10-25T12:51:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kavindu\_manaram](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kavindu_manaram/32/56614_2.png) [@kavindu\_manaram](https://discuss.elastic.co/u/kavindu_manaram)\
**Post date:** [October 25, 2019, 12:51pm UTC](https://discuss.elastic.co/t/invalid-version-of-beats-protocol/205259/1 "2019-10-25T12:51:38Z")

</div>

I try to used filebeat and logstash in local machine with cloud Elasticsearch. And some errors comes on filebeat and logstash both.

> [2019-10-25T20:16:46,162][INFO][org.logstash.beats.BeatsHandler][main] [local: 172.16.3.59:5044, remote: 172.16.3.59:55263] Handling exception: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 69  
> [2019-10-25T20:16:46,163][WARN][io.netty.channel.DefaultChannelPipeline][main] An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.  
> io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 69  
> at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:472) ~[netty-all-4.1.30.Final.jar:4.1.30.Final]  
> at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:405) ~[netty-all-4.1.30.Final.jar:4.1.30.Final]  
> at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:372) ~[netty-all-4.1.30.Final.jar:4.1.30.Final]  
> at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:355) ~[netty-all-4.1.30.Final.jar:4.1.30.Final]  
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245) ~[netty-all-4.1.30.Final.jar:4.1.30.Final]  
> at io.netty.channel.AbstractChannelHandlerContext.access$300(AbstractChannelHandlerContext.java:38) ~[netty-all-4.1.30.Final.jar:4.1.30.Final]  
> at io.netty.channel.AbstractChannelHandlerContext$4.run(AbstractChannelHandlerContext.java:236) ~[netty-all-4.1.30.Final.jar:4.1.30.Final]  
> at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66) ~[netty-all-4.1.30.Final.jar:4.1.30.Final]  
> at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:897) [netty-all-4.1.30.Final.jar:4.1.30.Final]  
> at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-all-4.1.30.Final.jar:4.1.30.Final]  
> at java.lang.Thread.run(Thread.java:748) [?:1.8.0\_231]  
> Caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 69  
> at org.logstash.beats.Protocol.version(Protocol.java:22) ~[logstash-input-beats-6.0.3.jar:?]  
> at org.logstash.beats.BeatsParser.decode(BeatsParser.java:62) ~[logstash-input-beats-6.0.3.jar:?]  
> at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:502) ~[netty-all-4.1.30.Final.jar:4.1.30.Final]  
> at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:441) ~[netty-all-4.1.30.Final.jar:4.1.30.Final]

and they refuse to connect with each other. how can I solve this?

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [October 25, 2019, 5:03pm UTC](https://discuss.elastic.co/t/invalid-version-of-beats-protocol/205259/2 "2019-10-25T17:03:35Z")

</div>

I have seen this in the past when beats and logstash do not agree on whether TLS is enabled.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 22, 2019, 5:03pm UTC](https://discuss.elastic.co/t/invalid-version-of-beats-protocol/205259/3 "2019-11-22T17:03:38Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
