Logstash websockets input generates `force_encoding` exceptions

Logstash: 6.2.2

Installed logstash-input-websocket via logstash-plugin

Input:

input {
  websocket {
    id => "meetup-rsvp-websocket"
    url => "http://stream.meetup.com/2/rsvps"
  }
}

Errors:

[2018-03-06T01:24:15,246][WARN ][logstash.inputs.websocket] websocket input client threw exception, restarting {:exception=>#<NoMethodError: undefined method `force_encoding' for nil:NilClass>}`

Happens about every second. There is still data flowing, just lots of these exceptions happening. There don't seem to be more logs associated with this error (checked the Logstash logs on DEBUG).

Using ws:// instead of http:// did not help.

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