Axis P3344 with Hassio and Home Assistant. Constant error, but works?

I just installed an Axis P3344 with my Home Assistant config today. It seems to work and I get a pic on the homepage, but my logs are spewing this error:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 399, in _make_request
    assert_header_parsing(httplib_response.msg)
  File "/usr/lib/python3.6/site-packages/urllib3/util/response.py", line 66, in assert_header_parsing
    raise HeaderParsingError(defects=defects, unparsed_data=unparsed_data)
urllib3.exceptions.HeaderParsingError: [StartBoundaryNotFoundDefect(), MultipartInvariantViolationDefect()], unparsed data: ''
2017-11-25 17:55:32 WARNING (SyncWorker_19) [urllib3.connectionpool] Failed to parse headers (url=http://192.168.1.119:80/axis-cgi/mjpg/video.cgi): [StartBoundaryNotFoundDefect(), MultipartInvariantViolatio
nDefect()], unparsed data: ''

Any ideas what is wrong or what will fix this?

Thanks Matt

This seems similar to the previous urllib issue documented in the mjpeg camera component that the Axis camera support is based on. It just warns for extra data that is not parsed, annoying but nothing special. It’s a bug in urllib if I remember correctly.

I was beginning to think so, but with 20 minutes my pi us unusable. The log rate was slowing the whole system to a crawl, I think if I could figure out how to not log that it would be harmless, but dumping to SD is kinda rough on it…

Check out the logger component to limit what logs you get from different parts of hass

Hmm, seems the same problem as I mentioned in this thread.

Would I set the logger to ignore the camera to stop this?

There should be examples on the forum on how to do it