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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...