My Cloud has died!

Hi guys,

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]

1 Like

I’m getting the same error. Must be an issue at NabuCasa. Hope they fix it soon.

2 Likes

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

1 Like

I’m still on trial with nabu casa, do they have some sort of support ticket system for paying customers?

I suspect they will get on it but in the USA it is still very early in the morning!

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.

@vadimbz support is here Support

1 Like

Same problem here. Cloud section gone from configuration.
I’ve raised a ticket
Certificate expired ?
Somebody not paid a bill ?

Summary from log

Error during setup of component cloud
11:10:21 – (ERROR) components/cloud/alexa_config.py
Fetched https://alexa-api.nabucasa.com/access_token (403)
11:10:21 – (WARNING) /usr/local/lib/python3.9/site-packages/hass_nabucasa/cloud_api.py

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 :frowning:

deleting .cloud folder and resetting up seems to fix it.

1 Like

My hunch is it’s a SSL error on the NC side

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

doesn’t seem to be synching to alexa cloud properly though - logs showing that same error.

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.
Logger: homeassistant.components.alexa.state_report
Source: components/alexa/state_report.py:144
Integration: Amazon Alexa (documentation, issues)
First occurred: 22:27:11 (3 occurrences)
Last logged: 22:27:18

Timeout sending report to Alexa

Looks like it was an issue with NC. Mine is back up now without any config changes.

2 Likes

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.

1 Like

All seems to be working now. Apparently down to Amazon. Needed an HA restart though.

1 Like