All Apps and Add-ons

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

dominiquevocat
Motivator

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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...