core: Error: XXX Sonos cannot reach None, falling back to polling, functionality may be limited
The problem
I have been receiving the following errors:
Subscription renewals for Lounge Sonos failed, marking unavailable: Cannot connect to host 192.168.1.114:1400 ssl:default [Connect call failed ('192.168.1.114', 1400)]
20:38:01 – (WARNING) Sonos
Error doing job: Task exception was never retrieved
20:41:22 – (ERROR) components/sonos/speaker.py
Logger: homeassistant.components.sonos.entity
Source: components/sonos/entity.py:79
Integration: Sonos ([documentation](https://www.home-assistant.io/integrations/sonos), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+sonos%22))
First occurred: 20:41:29 (1 occurrences)
Last logged: 20:41:29
Lounge Sonos cannot reach None, falling back to polling, functionality may be limited, see https://www.home-assistant.io/integrations/sonos/#network-requirements for more details
Update for sensor.lounge_sonos_audio_input_format fails
20:44:31 – (ERROR) components/sonos/sensor.py - message first occurred at 20:36:31 and shows up 14 times
Error calling SonosSwitchEntity.update on switch.sonos_lounge_sonos_subwoofer_enabled: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /ZoneGroupTopology/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f511b9640>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
20:44:52 – (WARNING) Sonos - message first occurred at 20:41:31 and shows up 171 times
Exception in async_poll when dispatching 'sonos_poll_update-RINCON_347E5C74CB1501400': (datetime.datetime(2022, 2, 17, 7, 44, 9, 461209, tzinfo=datetime.timezone.utc),) Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 95, in create_connection raise err File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 85, in create_connection sock.connect(sa) OSError: [Errno 113] Host is unreachable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/http/client.py", line 1274, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/local/lib/python3.9/http/client.py", line 1034, in _send_output self.send(msg) File "/usr/local/lib/python3.9/http/client.py", line 974, in send self.connect() File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f0f503b6160>: Failed to establish a new connection: [Errno 113] Host is unreachable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 440, in send resp = conn.urlopen( File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 785, in urlopen retries = retries.increment( File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f503b6160>: Failed to establish a new connection: [Errno 113] Host is unreachable')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f503b6160>: Failed to establish a new connection: [Errno 113] Host is unreachable')) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/sonos/entity.py", line 89, in async_poll await self._async_poll() File "/usr/src/homeassistant/homeassistant/components/sonos/media_player.py", line 291, in _async_poll await self.hass.async_add_executor_job(self._update) File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/usr/src/homeassistant/homeassistant/components/sonos/media_player.py", line 298, in _update self.speaker.update_media() File "/usr/src/homeassistant/homeassistant/components/sonos/helpers.py", line 64, in wrapper raise HomeAssistantError(message) from err homeassistant.exceptions.HomeAssistantError: Error calling SonosSpeaker.update_media on Lounge Sonos: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f503b6160>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
20:44:55 – (ERROR) util/logging.py - message first occurred at 20:41:34 and shows up 19 times
This only seems to affect my lounge Sonos setup (Playbar, Play:1 as L/R, Sub). I cannot confirm for certain but I suspect that this only happens when the TV is using the speakers…though to be fair it is entirely possible that it happens at other times as well…I will keep an eye on it.
On the associated media player card the Lounge Sonos correctly displays as being in ‘TV’ mode.
What version of Home Assistant Core has the issue?
2022.2.8
What was the last working version of Home Assistant Core?
2021.11 (pretty sure only happening since 1/1/2022)
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Sonos
Link to integration documentation on our website
https://www.home-assistant.io/integrations/sonos/
Diagnostics information
config_entry-sonos-4f6d4822ca8cdcb37be7c9ecf453a60b.json.txt
Example YAML snippet
media_player:
hosts:
- 192.168.1.110
- 192.168.1.111
- 192.168.1.114
- 192.168.1.116
Anything in the logs that might be useful for us?
Logger: homeassistant
Source: components/sonos/speaker.py:300
First occurred: 20:41:22 (1 occurrences)
Last logged: 20:41:22
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 95, in create_connection
raise err
File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 85, in create_connection
sock.connect(sa)
OSError: [Errno 113] Host is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 239, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/local/lib/python3.9/http/client.py", line 1279, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1325, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1274, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1034, in _send_output
self.send(msg)
File "/usr/local/lib/python3.9/http/client.py", line 974, in send
self.connect()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f0f5030cd00>: Failed to establish a new connection: [Errno 113] Host is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 440, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f5030cd00>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/sonos/speaker.py", line 363, in async_subscribe
await self.hass.async_add_executor_job(self.set_basic_info)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/sonos/speaker.py", line 300, in set_basic_info
self.media.play_mode = self.soco.play_mode
File "/usr/local/lib/python3.9/site-packages/soco/core.py", line 554, in play_mode
result = self.avTransport.GetTransportSettings(
File "/usr/local/lib/python3.9/site-packages/soco/services.py", line 207, in _dispatcher
return self.send_command(action, *args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/soco/services.py", line 487, in send_command
response = requests.post(
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 117, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f5030cd00>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
AND
Logger: homeassistant.helpers.entity
Source: components/sonos/sensor.py:98
First occurred: 20:36:31 (14 occurrences)
Last logged: 20:44:31
Update for sensor.lounge_sonos_audio_input_format fails
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 95, in create_connection
raise err
File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 85, in create_connection
sock.connect(sa)
OSError: [Errno 113] Host is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 239, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/local/lib/python3.9/http/client.py", line 1279, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1325, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1274, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1034, in _send_output
self.send(msg)
File "/usr/local/lib/python3.9/http/client.py", line 974, in send
self.connect()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f0f6c950880>: Failed to establish a new connection: [Errno 113] Host is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 440, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /DeviceProperties/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f6c950880>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 521, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 725, in async_device_update
raise exc
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/sonos/sensor.py", line 98, in update
self._attr_native_value = self.soco.soundbar_audio_input_format
File "/usr/local/lib/python3.9/site-packages/soco/core.py", line 1342, in soundbar_audio_input_format
format_code = self.soundbar_audio_input_format_code
File "/usr/local/lib/python3.9/site-packages/soco/core.py", line 1325, in soundbar_audio_input_format_code
response = self.deviceProperties.GetZoneInfo()
File "/usr/local/lib/python3.9/site-packages/soco/services.py", line 207, in _dispatcher
return self.send_command(action, *args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/soco/services.py", line 487, in send_command
response = requests.post(
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 117, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /DeviceProperties/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f6c950880>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
AND
Logger: homeassistant.components.sonos.helpers
Source: components/sonos/helpers.py:66
Integration: Sonos (documentation, issues)
First occurred: 20:41:31 (171 occurrences)
Last logged: 20:44:52
Error calling SonosSwitchEntity.update on switch.sonos_lounge_sonos_subwoofer_enabled: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /ZoneGroupTopology/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f511b9640>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
Error calling SonosLevelEntity.update on number.lounge_sonos_bass: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/RenderingControl/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f5049fac0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
Error calling SonosSwitchEntity.update on switch.sonos_lounge_sonos_surround_enabled: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/RenderingControl/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f51565bb0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
Error calling SonosSwitchEntity.update on switch.sonos_lounge_sonos_night_sound: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/RenderingControl/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f4fee0970>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
Error calling SonosSpeaker.update_volume on Lounge Sonos: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/RenderingControl/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f701a8d90>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
AND
Logger: homeassistant.util.logging
Source: util/logging.py:105
First occurred: 20:41:34 (19 occurrences)
Last logged: 20:44:55
Exception in async_poll when dispatching 'sonos_poll_update-RINCON_347E5C74CB1501400': (datetime.datetime(2022, 2, 17, 7, 44, 9, 461209, tzinfo=datetime.timezone.utc),) Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 95, in create_connection raise err File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 85, in create_connection sock.connect(sa) OSError: [Errno 113] Host is unreachable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/http/client.py", line 1274, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/local/lib/python3.9/http/client.py", line 1034, in _send_output self.send(msg) File "/usr/local/lib/python3.9/http/client.py", line 974, in send self.connect() File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f0f503b6160>: Failed to establish a new connection: [Errno 113] Host is unreachable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 440, in send resp = conn.urlopen( File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 785, in urlopen retries = retries.increment( File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f503b6160>: Failed to establish a new connection: [Errno 113] Host is unreachable')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f503b6160>: Failed to establish a new connection: [Errno 113] Host is unreachable')) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/sonos/entity.py", line 89, in async_poll await self._async_poll() File "/usr/src/homeassistant/homeassistant/components/sonos/media_player.py", line 291, in _async_poll await self.hass.async_add_executor_job(self._update) File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/usr/src/homeassistant/homeassistant/components/sonos/media_player.py", line 298, in _update self.speaker.update_media() File "/usr/src/homeassistant/homeassistant/components/sonos/helpers.py", line 64, in wrapper raise HomeAssistantError(message) from err homeassistant.exceptions.HomeAssistantError: Error calling SonosSpeaker.update_media on Lounge Sonos: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f503b6160>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
Exception in async_poll when dispatching 'sonos_poll_update-RINCON_347E5C74CB1501400': (datetime.datetime(2022, 2, 17, 7, 44, 19, 461686, tzinfo=datetime.timezone.utc),) Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 95, in create_connection raise err File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 85, in create_connection sock.connect(sa) OSError: [Errno 113] Host is unreachable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/http/client.py", line 1274, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/local/lib/python3.9/http/client.py", line 1034, in _send_output self.send(msg) File "/usr/local/lib/python3.9/http/client.py", line 974, in send self.connect() File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f0f504f5670>: Failed to establish a new connection: [Errno 113] Host is unreachable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 440, in send resp = conn.urlopen( File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 785, in urlopen retries = retries.increment( File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f504f5670>: Failed to establish a new connection: [Errno 113] Host is unreachable')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f504f5670>: Failed to establish a new connection: [Errno 113] Host is unreachable')) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/sonos/entity.py", line 89, in async_poll await self._async_poll() File "/usr/src/homeassistant/homeassistant/components/sonos/media_player.py", line 291, in _async_poll await self.hass.async_add_executor_job(self._update) File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/usr/src/homeassistant/homeassistant/components/sonos/media_player.py", line 298, in _update self.speaker.update_media() File "/usr/src/homeassistant/homeassistant/components/sonos/helpers.py", line 64, in wrapper raise HomeAssistantError(message) from err homeassistant.exceptions.HomeAssistantError: Error calling SonosSpeaker.update_media on Lounge Sonos: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f504f5670>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
Exception in async_poll when dispatching 'sonos_poll_update-RINCON_347E5C74CB1501400': (datetime.datetime(2022, 2, 17, 7, 44, 29, 462516, tzinfo=datetime.timezone.utc),) Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 95, in create_connection raise err File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 85, in create_connection sock.connect(sa) OSError: [Errno 113] Host is unreachable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/http/client.py", line 1274, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/local/lib/python3.9/http/client.py", line 1034, in _send_output self.send(msg) File "/usr/local/lib/python3.9/http/client.py", line 974, in send self.connect() File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f0f620681f0>: Failed to establish a new connection: [Errno 113] Host is unreachable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 440, in send resp = conn.urlopen( File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 785, in urlopen retries = retries.increment( File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f620681f0>: Failed to establish a new connection: [Errno 113] Host is unreachable')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f620681f0>: Failed to establish a new connection: [Errno 113] Host is unreachable')) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/sonos/entity.py", line 89, in async_poll await self._async_poll() File "/usr/src/homeassistant/homeassistant/components/sonos/media_player.py", line 291, in _async_poll await self.hass.async_add_executor_job(self._update) File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/usr/src/homeassistant/homeassistant/components/sonos/media_player.py", line 298, in _update self.speaker.update_media() File "/usr/src/homeassistant/homeassistant/components/sonos/helpers.py", line 64, in wrapper raise HomeAssistantError(message) from err homeassistant.exceptions.HomeAssistantError: Error calling SonosSpeaker.update_media on Lounge Sonos: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f620681f0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
Exception in async_poll when dispatching 'sonos_poll_update-RINCON_347E5C74CB1501400': (datetime.datetime(2022, 2, 17, 7, 44, 39, 462995, tzinfo=datetime.timezone.utc),) Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 95, in create_connection raise err File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 85, in create_connection sock.connect(sa) OSError: [Errno 113] Host is unreachable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/http/client.py", line 1274, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/local/lib/python3.9/http/client.py", line 1034, in _send_output self.send(msg) File "/usr/local/lib/python3.9/http/client.py", line 974, in send self.connect() File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f0f504e1310>: Failed to establish a new connection: [Errno 113] Host is unreachable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 440, in send resp = conn.urlopen( File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 785, in urlopen retries = retries.increment( File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f504e1310>: Failed to establish a new connection: [Errno 113] Host is unreachable')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f504e1310>: Failed to establish a new connection: [Errno 113] Host is unreachable')) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/sonos/entity.py", line 89, in async_poll await self._async_poll() File "/usr/src/homeassistant/homeassistant/components/sonos/media_player.py", line 291, in _async_poll await self.hass.async_add_executor_job(self._update) File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/usr/src/homeassistant/homeassistant/components/sonos/media_player.py", line 298, in _update self.speaker.update_media() File "/usr/src/homeassistant/homeassistant/components/sonos/helpers.py", line 64, in wrapper raise HomeAssistantError(message) from err homeassistant.exceptions.HomeAssistantError: Error calling SonosSpeaker.update_media on Lounge Sonos: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f504e1310>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
Exception in async_poll when dispatching 'sonos_poll_update-RINCON_347E5C74CB1501400': (datetime.datetime(2022, 2, 17, 7, 44, 49, 464124, tzinfo=datetime.timezone.utc),) Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 95, in create_connection raise err File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 85, in create_connection sock.connect(sa) OSError: [Errno 113] Host is unreachable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/http/client.py", line 1274, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/local/lib/python3.9/http/client.py", line 1034, in _send_output self.send(msg) File "/usr/local/lib/python3.9/http/client.py", line 974, in send self.connect() File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f0f61fa5130>: Failed to establish a new connection: [Errno 113] Host is unreachable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 440, in send resp = conn.urlopen( File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 785, in urlopen retries = retries.increment( File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f61fa5130>: Failed to establish a new connection: [Errno 113] Host is unreachable')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f61fa5130>: Failed to establish a new connection: [Errno 113] Host is unreachable')) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/sonos/entity.py", line 89, in async_poll await self._async_poll() File "/usr/src/homeassistant/homeassistant/components/sonos/media_player.py", line 291, in _async_poll await self.hass.async_add_executor_job(self._update) File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/usr/src/homeassistant/homeassistant/components/sonos/media_player.py", line 298, in _update self.speaker.update_media() File "/usr/src/homeassistant/homeassistant/components/sonos/helpers.py", line 64, in wrapper raise HomeAssistantError(message) from err homeassistant.exceptions.HomeAssistantError: Error calling SonosSpeaker.update_media on Lounge Sonos: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f61fa5130>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
AND
2022-02-17 20:41:42 WARNING (SyncWorker_13) [homeassistant.components.sonos.helpers] Error calling SonosLevelEntity.update on number.lounge_sonos_treble: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/RenderingControl/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f4cbefb20>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2022-02-17 20:41:42 WARNING (SyncWorker_10) [homeassistant.components.sonos.helpers] Error calling SonosSwitchEntity.update on switch.sonos_lounge_sonos_crossfade: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /ZoneGroupTopology/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f4be61220>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2022-02-17 20:41:42 WARNING (SyncWorker_5) [homeassistant.components.sonos.helpers] Error calling SonosLevelEntity.update on number.lounge_sonos_bass: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/RenderingControl/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f5fb86730>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2022-02-17 20:41:42 WARNING (SyncWorker_14) [homeassistant.components.sonos.helpers] Error calling SonosSpeaker.update_volume on Lounge Sonos: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/RenderingControl/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f4be92a00>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2022-02-17 20:41:42 WARNING (SyncWorker_0) [homeassistant.components.sonos.helpers] Error calling SonosSwitchEntity.update on switch.sonos_lounge_sonos_subwoofer_enabled: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /ZoneGroupTopology/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f5033a730>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2022-02-17 20:41:42 WARNING (SyncWorker_15) [homeassistant.components.sonos.helpers] Error calling SonosSwitchEntity.update on switch.sonos_lounge_sonos_speech_enhancement_2: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/RenderingControl/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f4bdcb4c0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2022-02-17 20:41:42 WARNING (SyncWorker_1) [homeassistant.components.sonos.helpers] Error calling SonosLevelEntity.update on number.lounge_sonos_audio_delay: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/RenderingControl/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f4bb1cb50>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2022-02-17 20:41:45 WARNING (SyncWorker_12) [homeassistant.components.sonos.helpers] Error calling SonosSwitchEntity.update on switch.sonos_lounge_sonos_surround_enabled: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/RenderingControl/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f4fee0250>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2022-02-17 20:41:45 ERROR (MainThread) [homeassistant.util.logging] Exception in async_poll when dispatching 'sonos_poll_update-RINCON_347E5C74CB1501400': (datetime.datetime(2022, 2, 17, 7, 41, 39, 450451, tzinfo=datetime.timezone.utc),)
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 95, in create_connection
raise err
File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 85, in create_connection
sock.connect(sa)
OSError: [Errno 113] Host is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/http/client.py", line 1274, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1034, in _send_output
self.send(msg)
File "/usr/local/lib/python3.9/http/client.py", line 974, in send
self.connect()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f0f5033a3d0>: Failed to establish a new connection: [Errno 113] Host is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 440, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f5033a3d0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 117, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f5033a3d0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/sonos/entity.py", line 89, in async_poll
await self._async_poll()
File "/usr/src/homeassistant/homeassistant/components/sonos/media_player.py", line 291, in _async_poll
await self.hass.async_add_executor_job(self._update)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/sonos/media_player.py", line 298, in _update
self.speaker.update_media()
File "/usr/src/homeassistant/homeassistant/components/sonos/helpers.py", line 64, in wrapper
raise HomeAssistantError(message) from err
homeassistant.exceptions.HomeAssistantError: Error calling SonosSpeaker.update_media on Lounge Sonos: HTTPConnectionPool(host='192.168.1.114', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0f5033a3d0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
Additional information
Once this error starts it just keeps dumping a lot of noise into the logs… 😦
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 60 (22 by maintainers)
Had the same proplem here with vanishing speakers (3x IKEA Symfonisk Bookshelf) for the last weeks. Always dropping after some hours only fixed by restart of HA.
BUT: 2022.3.7 seems to have fixed it for my setup, no vanishing speakers, working great now, thank you! So seems to help also for non battery powered speakers.
One specific fix is in 2022.3.7. Based on the varied descriptions here I don’t expect it to fix all issues, but it should help those with Move and Roam devices.