You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 10, 2018. It is now read-only.
I've found an issue in the fetch method of the Splunk_Job class.
If you try to run a complex search query and/or the searchhead is under heavy load a query can stay in the Queued or Parsing dispatchState for longer than ~1 second which leads to an Splunk_HttpException with the Error Message "HTTP 200 OK".
The Problem occurs if you run the search async like in this example.
The method calls isDone, getProgress and refresh are possible triggers as well as any other method invoking a method which calls Splunk_Job->fetch.
There are multiple ways (increase timeout, increase number of retries...) how to work around this issue but to properly resolve it a proper isReady method should be implemented and used.
For example see how the python sdk implemented this: is_ready method usage of this method (just ignore the missing call to sleep before pass command ;))