Logstash websockets input generates `force_encoding` exceptions

(Loek van Gool) #1

Logstash: 6.2.2

Installed logstash-input-websocket via logstash-plugin


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


[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.

(Loek van Gool) #2

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