Yamaha AVR not connecting to HASS

Receiving this in LOG

2017-08-07 16:37:13 ERROR (Thread-9) [rxv] Failed to fetch http://192.168.1.32:80/YamahaRemoteControl/desc.xml
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connection.py”, line 141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/util/connection.py”, line 83, in create_connection
raise err
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/util/connection.py”, line 73, in create_connection
sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py”, line 600, in urlopen
chunked=chunked)
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py”, line 356, in _make_request
conn.request(method, url, **httplib_request_kw)
File “/usr/lib/python3.4/http/client.py”, line 1090, in request
self._send_request(method, url, body, headers)
File “/usr/lib/python3.4/http/client.py”, line 1128, in _send_request
self.endheaders(body)
File “/usr/lib/python3.4/http/client.py”, line 1086, in endheaders
self._send_output(message_body)
File “/usr/lib/python3.4/http/client.py”, line 924, in _send_output
self.send(msg)
File “/usr/lib/python3.4/http/client.py”, line 859, in send
self.connect()
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connection.py”, line 166, in connect
conn = self._new_conn()
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connection.py”, line 150, in _new_conn
self, “Failed to establish a new connection: %s” % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.HTTPConnection object at 0x6d1e13b0>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/requests/adapters.py”, line 438, in send
timeout=timeout
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py”, line 649, in urlopen
_stacktrace=sys.exc_info()[2])
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/util/retry.py”, line 388, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host=‘192.168.1.32’, port=80): Max retries exceeded with url: /YamahaRemoteControl/desc.xml (Caused by NewConnectionError(’<requests.packages.urllib3.connection.HTTPConnection object at 0x6d1e13b0>: Failed to establish a new connection: [Errno 113] No route to host’,))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/rxv/rxv.py”, line 92, in _discover_features
desc_xml = self._session.get(self.unit_desc_url).content
File “/srv/homeassistant/lib/python3.4/site-packages/requests/sessions.py”, line 531, in get
return self.request(‘GET’, url, **kwargs)
File “/srv/homeassistant/lib/python3.4/site-packages/requests/sessions.py”, line 518, in request
resp = self.send(prep, **send_kwargs)
File “/srv/homeassistant/lib/python3.4/site-packages/requests/sessions.py”, line 639, in send
r = adapter.send(request, **kwargs)
File “/srv/homeassistant/lib/python3.4/site-packages/requests/adapters.py”, line 502, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host=‘192.168.1.32’, port=80): Max retries exceeded with url: /YamahaRemoteControl/desc.xml (Caused by NewConnectionError(’<requests.packages.urllib3.connection.HTTPConnection object at 0x6d1e13b0>: Failed to establish a new connection: [Errno 113] No route to host’,))
2017-08-07 16:37:13 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform yamaha
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connection.py”, line 141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/util/connection.py”, line 83, in create_connection
raise err
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/util/connection.py”, line 73, in create_connection
sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py”, line 600, in urlopen
chunked=chunked)
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py”, line 356, in _make_request
conn.request(method, url, **httplib_request_kw)
File “/usr/lib/python3.4/http/client.py”, line 1090, in request
self._send_request(method, url, body, headers)
File “/usr/lib/python3.4/http/client.py”, line 1128, in _send_request
self.endheaders(body)
File “/usr/lib/python3.4/http/client.py”, line 1086, in endheaders
self._send_output(message_body)
File “/usr/lib/python3.4/http/client.py”, line 924, in _send_output
self.send(msg)
File “/usr/lib/python3.4/http/client.py”, line 859, in send
self.connect()
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connection.py”, line 166, in connect
conn = self._new_conn()
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connection.py”, line 150, in _new_conn
self, “Failed to establish a new connection: %s” % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.HTTPConnection object at 0x6d1e13b0>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/requests/adapters.py”, line 438, in send
timeout=timeout
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py”, line 649, in urlopen
_stacktrace=sys.exc_info()[2])
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/util/retry.py”, line 388, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host=‘192.168.1.32’, port=80): Max retries exceeded with url: /YamahaRemoteControl/desc.xml (Caused by NewConnectionError(’<requests.packages.urllib3.connection.HTTPConnection object at 0x6d1e13b0>: Failed to establish a new connection: [Errno 113] No route to host’,))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py”, line 164, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File “/usr/lib/python3.4/asyncio/tasks.py”, line 372, in wait_for
return fut.result()
File “/usr/lib/python3.4/asyncio/futures.py”, line 277, in result
raise self._exception
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/media_player/yamaha.py”, line 83, in setup_platform
receivers = rxv.RXV(ctrl_url, name).zone_controllers()
File “/srv/homeassistant/lib/python3.4/site-packages/rxv/rxv.py”, line 87, in init
self._discover_features()
File “/srv/homeassistant/lib/python3.4/site-packages/rxv/rxv.py”, line 92, in _discover_features
desc_xml = self._session.get(self.unit_desc_url).content
File “/srv/homeassistant/lib/python3.4/site-packages/requests/sessions.py”, line 531, in get
return self.request(‘GET’, url, **kwargs)
File “/srv/homeassistant/lib/python3.4/site-packages/requests/sessions.py”, line 518, in request
resp = self.send(prep, **send_kwargs)
File “/srv/homeassistant/lib/python3.4/site-packages/requests/sessions.py”, line 639, in send
r = adapter.send(request, **kwargs)
File “/srv/homeassistant/lib/python3.4/site-packages/requests/adapters.py”, line 502, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host=‘192.168.1.32’, port=80): Max retries exceeded with url: /YamahaRemoteControl/desc.xml (Caused by NewConnectionError(’<requests.packages.urllib3.connection.HTTPConnection object at 0x6d1e13b0>: Failed to establish a new connection: [Errno 113] No route to host’,))
2017-08-0

I have very similar errors with HA 0.57.2 (that’s why I found this post), but mine still works.
It would be nice to know what the problem is and fix it.

2017-11-11 15:08:32 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.yamaha fails
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.4/site-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/srv/homeassistant/lib/python3.4/site-packages/urllib3/connectionpool.py", line 387, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/srv/homeassistant/lib/python3.4/site-packages/urllib3/connectionpool.py", line 383, 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: ''

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.4/site-packages/requests/adapters.py", line 440, in send
    timeout=timeout
  File "/srv/homeassistant/lib/python3.4/site-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/srv/homeassistant/lib/python3.4/site-packages/urllib3/util/retry.py", line 357, in increment
    raise six.reraise(type(error), error, _stacktrace)