Logger: homeassistant.components.websocket_api.http.connection
Source: components/hassio/__init__.py:599
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 19:01:32 (1 occurrences)
Last logged: 19:01:32
[139837741542656] The system cannot restart because the configuration is not valid: Platform error sensor.CaiyunweatherSE - cannot import name 'sanitize_filename' from 'homeassistant.util' (/usr/src/homeassistant/homeassistant/util/__init__.py)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 185, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1495, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1530, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 599, in async_handle_core_service
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: The system cannot restart because the configuration is not valid: Platform error sensor.CaiyunweatherSE - cannot import name 'sanitize_filename' from 'homeassistant.util' (/usr/src/homeassistant/homeassistant/util/__init__.py)
Error while setting up caldav platform for calendarTraceback (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 72, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/local/lib/python3.9/socket.py", line 954, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags):socket.gaierror: [Errno -2] Name does not resolveDuring 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 386, in _make_request self._validate_conn(conn) File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1040, in _validate_conn conn.connect() File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 358, in connect self.sock = 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.HTTPSConnection object at 0xffff76675e20>: Failed to establish a new connection: [Errno -2] Name does not resolveDuring 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: HTTPSConnectionPool(host='p206-caldav.icloud.com', port=443): Max retries exceeded with url: /484669619/calendars/ (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xffff76675e20>: Failed to establish a new connection: [Errno -2] Name does not resolve'))During handling of the above exception, another exception occurred:Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform await asyncio.shield(task) File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/src/homeassistant/homeassistant/components/caldav/calendar.py", line 87, in setup_platform calendars = client.principal().calendars() File "/usr/local/lib/python3.9/site-packages/caldav/objects.py", line 474, in calendars return self.calendar_home_set.calendars() File "/usr/local/lib/python3.9/site-packages/caldav/objects.py", line 310, in calendars data = self.children(cdav.Calendar.tag) File "/usr/local/lib/python3.9/site-packages/caldav/objects.py", line 102, in children response = self._query_properties(props+multiprops, depth) File "/usr/local/lib/python3.9/site-packages/caldav/objects.py", line 141, in _query_properties return self._query(root, depth) File "/usr/local/lib/python3.9/site-packages/caldav/objects.py", line 159, in _query ret = getattr(self.client, query_method)( File "/usr/local/lib/python3.9/site-packages/caldav/davclient.py", line 398, in propfind return self.request(url or self.url, "PROPFIND", props, File "/usr/local/lib/python3.9/site-packages/caldav/davclient.py", line 588, in request r = self.session.request( 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: HTTPSConnectionPool(host='p206-caldav.icloud.com', port=443): Max retries exceeded with url: /484669619/calendars/ (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xffff76675e20>: Failed to establish a new connection: [Errno -2] Name does not resolve'))