Wanted to point out a potential bug on wmi.rb. on row 70 there is a retry command in case of exception
raise. The problem is in case of error on the WMI socket connection, there is no re-connection command and a straight jump to the query all over again what might cause an infinite loop.
I suggest either to remove the retry or set a fixed number of retries, or put a re-connection section inside the begin/rescue scope.
(This issue was originally filed by @barakSpoj at https://github.com/elastic/logstash-contrib/issues/150)
Hi,
Wanted to point out a potential bug on wmi.rb. on row 70 there is a retry command in case of exception raise. The problem is in case of error on the WMI socket connection, there is no re-connection command and a straight jump to the query all over again what might cause an infinite loop. I suggest either to remove the retry or set a fixed number of retries, or put a re-connection section inside the begin/rescue scope.