I recently switched from Hass.io to Hassbian. Shortly after that I’ve been getting a lot of Invalid Handshake errors. I’m not sure how to troubleshoot this issue further. I’ve even reinstalled Hassbian a second time. Only thing I’ve done so far is copy over my YAML files. I’m running 0.67.1
Invalid handshake
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/websockets/server.py", line 193, in read_http_request
path, headers = yield from read_request(self.reader)
File "/srv/homeassistant/lib/python3.5/site-packages/websockets/http.py", line 85, in read_request
raise ValueError("Unsupported HTTP version: %r" % version)
ValueError: Unsupported HTTP version: b'HTTP/1.0'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/websockets/server.py", line 88, in handler
extra_headers=self.extra_headers,
File "/srv/homeassistant/lib/python3.5/site-packages/websockets/server.py", line 426, in handshake
path, request_headers = yield from self.read_http_request()
File "/srv/homeassistant/lib/python3.5/site-packages/websockets/server.py", line 195, in read_http_request
raise InvalidMessage("Malformed HTTP message") from exc
websockets.exceptions.InvalidMessage: Malformed HTTP message