# Got Invalid Frame Type Exception even Filebeat version is same which pointing to Logstash 5.6.14

**URL:** <https://discuss.elastic.co/t/got-invalid-frame-type-exception-even-filebeat-version-is-same-which-pointing-to-logstash-5-6-14/237255>\
**Category:** Logstash\
**Created:** [June 16, 2020, 8:40am UTC](https://discuss.elastic.co/t/got-invalid-frame-type-exception-even-filebeat-version-is-same-which-pointing-to-logstash-5-6-14/237255 "2020-06-16T08:40:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ridwanbejo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ridwanbejo/32/70355_2.png) [@ridwanbejo](https://discuss.elastic.co/u/ridwanbejo)\
**Post date:** [June 16, 2020, 8:40am UTC](https://discuss.elastic.co/t/got-invalid-frame-type-exception-even-filebeat-version-is-same-which-pointing-to-logstash-5-6-14/237255/1 "2020-06-16T08:40:48Z")

</div>

Hi Magnus,

I have problems with Filebeat and Logstash setup. So I assigned to move logstash service to dockerize one. Then, I use logstash Docker with version 5.6.14. But I have an exception when attempt to redirect one of my server to new logstash service. I got "Invalid Frame Type" exception on Logstash side.

Here are different configuration between old logstash and new logstash:

- old logstash version: 5.6.8

- new logstash version: 5.6.14

- redis server send log to new logstash service (5.6.14)

filebeat.yml:

```auto
# cat /etc/filebeat/filebeat.yml
# << ansible managed file >>

filebeat:
  prospectors:
    - input_type: log
      paths:
        - /var/log/syslog
        - /var/log/auth.log
      document_type: syslog

output:
  logstash:
    hosts: ['10.100.0.37:5044']

```

filebeat version:

```auto
# /usr/share/filebeat/bin/filebeat --version
filebeat version 5.4.0 (amd64), libbeat 5.4.0

```

ubuntu version:

```auto
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial

```

- elasticsearch server send log to old logstash service (5.6.8)

filebeat.yml:

```auto
# cat /etc/filebeat/filebeat.yml
# << ansible managed file >>

filebeat:
  prospectors:
    - input_type: log
      paths:
        - /var/log/syslog
        - /var/log/auth.log
      document_type: syslog
    - input_type: log
      paths:
        - /var/log/elasticsearch/*/*cluster.log
      document_type: elasticsearch_log
output:
  logstash:
    hosts: ['10.100.0.7:5044']

```

filebeat version:

```auto
# /usr/share/filebeat/bin/filebeat --version
filebeat version 5.4.0 (amd64), libbeat 5.4.0

```

ubuntu version:

```auto
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial

```

When I tried to redirect elasticsearch filebeat to `10.100.0.37` from `10.100.0.7`, new logstash service got an error like this:

```auto
[org.logstash.beats.BeatsHandler] Exception: 

org.logstash.beats.BeatsParser$InvalidFrameProtocolException: Invalid Frame Type

```

On the other hand, both of hosts are able to perform telnet to new logstash service. So, I could consider there are no any network issue such as blocked by Firewall.

elasticsearch instance:

```auto
es1:/home/users/ridwan# telnet 10.100.0.37 5044
Trying 10.100.0.37...
Connected to 10.100.0.37.
Escape character is '^]'.
^CConnection closed by foreign host.

```

redis instance:

```auto
redis1:/home/users/ridwan# telnet 10.100.0.37 5044
Trying 10.100.0.37...
Connected to 10.100.0.37.
Escape character is '^]'.
^CConnection closed by foreign host.

```

I also didn't set SSL both for Filebeat or Logstash.

Do you have any suggestion or Feedback, Magnus?

---

<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:** [July 14, 2020, 8:40am UTC](https://discuss.elastic.co/t/got-invalid-frame-type-exception-even-filebeat-version-is-same-which-pointing-to-logstash-5-6-14/237255/2 "2020-07-14T08:40:53Z")

</div>

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