Logstash is throwing the following error:
[2018-09-14T13:53:47,371][WARN ][logstash.inputs.websocket] websocket input client threw exception, restarting {:exception=>#<Errno::EBADF: Bad file descriptor - No message available>}
I've checked the forum here and on github, and there are reports of this, but no one appears to be doing anything to resolve it. In fact topics here get closed after a month of no activity and no responses. Is this product still supported? The websocket plugin documentation says it was released this past June. Is it still supported?
I'd be happy to provide further details and config info if needed.
The Websocket Input Plugin is a community-contributed plugin that is not (currently) included in the Logstash distribution. If you have a reproducible error, we would be glad to help in getting a patch in to fix it, but the plugin does not appear to be under active development.
There are a number of reasons why Ruby's Socket library would throw a EBADF, mostly having to do with the socket being cleaned up out of under it by the operating system. Can you turn on debug logging? Doing so will cause the error log to include a backtrace.
A TCP dump capturing traffic on the relevant ports may also prove helpful.
You can use the --log.level debug command-line flag, or you can set log.level: debug in your logstash.yml. Additional information about logging, and where logs go based on what distribution you are using (e.g., tarball, deb, rpm), can be found here:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.