Open sreeja2371 opened 6 years ago
I am getting this same error under Windows Server. My config: `input { websocket { id => "my_id" codec => "json" url => "wss://external-url.com/inbound/log/data" } }
output { elasticsearch { hosts => ["localhost:9200"] } stdout { codec => rubydebug } }`
My websocket URL is returning data, as I am able to see it with wscat (nodejs cli tool).
The websocket input which is working fine in Linux is not working in Windows. Getting
[2018-07-27T12:19:49,037][WARN ][logstash.inputs.websocket] websocket input client threw exception, restarting {:exception=>#<Errno::EBADF: Bad file descriptor - No message available>} [2018-07-27T12:20:15,582][WARN ][logstash.inputs.websocket] websocket input client threw exception, restarting {:exception=>#<Errno::EBADF: Bad file descriptor - No message available>}
Config file I am using is
input { websocket { url => "ws://0.0.0.0:8081/" } }
Could output { file { path => "C:\ouput_log\logdata.log" } }
Could anyone please help?