Can anyone help - my cloud integration will not start. I’m really unsure what has happened. I cannot even see the section within configuration. This is the error.
e[31m2021-12-01 12:24:09 ERROR (MainThread) [homeassistant.setup] Error during setup of component cloud
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 254, in _async_setup_component
result = await task
File "/usr/src/homeassistant/homeassistant/components/cloud/__init__.py", line 233, in async_setup
await cloud.initialize()
File "/usr/local/lib/python3.9/site-packages/hass_nabucasa/__init__.py", line 275, in initialize
await self._start()
File "/usr/local/lib/python3.9/site-packages/hass_nabucasa/__init__.py", line 279, in _start
await self.client.cloud_started()
File "/usr/src/homeassistant/homeassistant/components/cloud/client.py", line 151, in cloud_started
await asyncio.gather(*(task(None) for task in tasks))
File "/usr/src/homeassistant/homeassistant/components/cloud/client.py", line 119, in enable_alexa
await aconf.async_enable_proactive_mode()
File "/usr/src/homeassistant/homeassistant/components/alexa/config.py", line 60, in async_enable_proactive_mode
await self._unsub_proactive_report
File "/usr/src/homeassistant/homeassistant/components/alexa/state_report.py", line 31, in async_enable_proactive_mode
await smart_home_config.async_get_access_token()
File "/usr/src/homeassistant/homeassistant/components/cloud/alexa_config.py", line 179, in async_get_access_token
self._token = body["access_token"]
KeyError: 'access_token'e[0m]
I have the exact same problem, came here to look for help.
Logger: homeassistant.setup
Source: components/cloud/alexa_config.py:179
First occurred: 18:25:19 (1 occurrences)
Last logged: 18:25:19
Error during setup of component cloud
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 254, in _async_setup_component
result = await task
File "/usr/src/homeassistant/homeassistant/components/cloud/__init__.py", line 233, in async_setup
await cloud.initialize()
File "/usr/local/lib/python3.9/site-packages/hass_nabucasa/__init__.py", line 275, in initialize
await self._start()
File "/usr/local/lib/python3.9/site-packages/hass_nabucasa/__init__.py", line 279, in _start
await self.client.cloud_started()
File "/usr/src/homeassistant/homeassistant/components/cloud/client.py", line 151, in cloud_started
await asyncio.gather(*(task(None) for task in tasks))
File "/usr/src/homeassistant/homeassistant/components/cloud/client.py", line 119, in enable_alexa
await aconf.async_enable_proactive_mode()
File "/usr/src/homeassistant/homeassistant/components/alexa/config.py", line 60, in async_enable_proactive_mode
await self._unsub_proactive_report
File "/usr/src/homeassistant/homeassistant/components/alexa/state_report.py", line 31, in async_enable_proactive_mode
await smart_home_config.async_get_access_token()
File "/usr/src/homeassistant/homeassistant/components/cloud/alexa_config.py", line 179, in async_get_access_token
self._token = body["access_token"]
KeyError: 'access_token'
…and my stream component (cameras) died at the same time:
Logger: homeassistant
Source: components/stream/__init__.py:75
First occurred: 18:25:46 (1 occurrences)
Last logged: 18:25:46
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 317, in preload_stream
stream = await camera.create_stream()
File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 444, in create_stream
self.stream = create_stream(self.hass, source, options=self.stream_options)
File "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 75, in create_stream
raise HomeAssistantError("Stream integration is not set up.")
homeassistant.exceptions.HomeAssistantError: Stream integration is not set up.
Core version: 2021.11.5
Running supervised on rpi4b, raspberry OS lite 64 bit
I tried to delete the .cloud folder, then restart HA, which allowed me to login to nabu.casa via HA again, after which it appeared to be working, however it said Cloud status Not Connected and stuff like TTS (and I presume alexa, google home etc too) were not working.
Perhaps it’s not even nabu.casa’s fault, as they use amazon’s infrastructure and amazon has outages from time to time too.
Same issue here - have submitted a ticket to Nabu Casa Support.
Seems to be a server outage on their end, probably AWS. Kinda frustrating because I have a lot of automations based on Alexa usage and Alexa usage is currently broken
Same here - renamed cloud to .cloud.old, restarted and logged back in. Initially got a SSL error message in HA but after a few minutes the Remote UI was back on line
Logger: homeassistant.components.cloud.google_config
Source: components/cloud/google_config.py:176
Integration: Home Assistant Cloud (documentation, issues)
First occurred: 22:27:24 (1 occurrences)
Last logged: 22:27:24
Error reporting state - 5: Requested entity was not found.
Some of us have gotten through the issue by deleting certain files but you should not have to do anything. If you are still experiencing the issue at this point try a simple restart of HA before anything else.