All Apps and Add-ons

HomeAssistant app for Splunk: How to resolve "Error saving event to Splunk: ('Connection aborted.', BadStatusLine("''",))"?

dominiquevocat
SplunkTrust
SplunkTrust

I configured the HTTP Event Collector and tested it successfully with wget/curl

HomeAssistant app for Splunk complains however and i do not get any events from HomeAssistant as per the below snippet from the log.

16-11-25 22:37:49 homeassistant.components.splunk: Error saving event to Splunk: ('Connection aborted.', BadStatusLine("''",))
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 594, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 391, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 387, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.4/http/client.py", line 1172, in getresponse
    response.begin()
  File "/usr/lib/python3.4/http/client.py", line 351, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.4/http/client.py", line 321, in _read_status
    raise BadStatusLine(line)
http.client.BadStatusLine: ''
0 Karma

averyml
Explorer

This is more likely an issue with the Splunk component of Home Assistant, or its configuration, not the Splunk App itself. Can you open up an issue on the github project , including all of the requested information (log, relevant config, etc.) as well as the working curl command, so that I can take a look at it?

0 Karma
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...