Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue starting home assistant and google integrations #117256

Open
cliffv87 opened this issue May 11, 2024 · 2 comments
Open

Issue starting home assistant and google integrations #117256

cliffv87 opened this issue May 11, 2024 · 2 comments

Comments

@cliffv87
Copy link

The problem

I am unable to load google integrations since updating to Core 2024.5.2

What version of Home Assistant Core has the issue?

2024.5.3

What was the last working version of Home Assistant Core?

2024.4.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Google

Link to integration documentation on our website

No response

Diagnostics information

home-assistant_nest_2024-05-11T11-52-53.966Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Something is blocking Home Assistant from wrapping up the start up phase. We're going to continue anyway. Please report the following info at https://github.com/home-assistant/core/issues: logger, nest, meross_lan.number, local_ip, notify, zha, vacuum, broadlink.remote, climate, meross_lan.light, light, xiaomi_miot.binary_sensor, roborock.sensor, device_tracker, water_heater, history, xiaomi_miot.button, tapo_control.number, input_text, tapo_control.binary_sensor, tapo_control.light, diagnostics, zha.sensor, trace, text, energy, roborock.select, config, backup, tuya.siren, counter, sun, tuya_local.binary_sensor, upnp, smartthinq_sensors.light, cloud.tts, eufylife_ble.sensor, meross_lan.sensor, xiaomi_miot.switch, tuya.binary_sensor, thread, roborock.binary_sensor, smartthinq_sensors.sensor, zha.switch, sems.switch, xiaomi_miot.device_tracker, conversation, androidtv_remote.remote, smartthinq_sensors.humidifier, device_automation, govee_lan, mobile_app.notify, energy.sensor, ffmpeg, xiaomi_miot, meross_lan.binary_sensor, zeroconf, camera, tuya.select, tasmota.light, tapo_control.sensor, zha.lock, stream, utility_meter, speedtestdotnet, sun.sensor, tuya.sensor, raspberry_pi, xiaomi_miot.text, tuya_local, zha.light, hacs.sensor, shelly, automation, broadlink, zha.fan, roborock.number, xiaomi_miot.climate, lovelace, frontend, tuya.humidifier, meross_lan.update, lock, utility_meter.select, alexa, wake_word, script, dialogflow, shelly.event, tuya.vacuum, valve, xiaomi_miot.light, homeassistant.scene, mobile_app, xiaomi_miot.humidifier, upnp.binary_sensor, tuya_local.sensor, tuya.switch, google_assistant, media_player, smartthinq_sensors.fan, homekit_controller.cover, zha.cover, tapo_control.select, input_button, forecast_solar, mobile_app.device_tracker, mobile_app.sensor, androidtv_remote, roborock.image, radio_browser, tapo_control, tuya.scene, xiaomi_miot.cover, shelly.update, govee_lan.light, media_source, plex, tasmota.sensor, xiaomi_miot.media_player, homekit_controller, accuweather.sensor, number, speedtestdotnet.sensor, webostv.notify, roborock.switch, zha.update, bluetooth, google_translate.tts, application_credentials, webostv, hassio, brother.sensor, zha.binary_sensor, xiaomi_miot.sensor, roborock.button, tuya.light, event, weather, roborock.vacuum, co2signal, accuweather, input_boolean, button, androidtv_remote.media_player, zone, smartthinq_sensors.climate, onvif, rpi_power, logbook, switch, tasmota.fan, meross_lan, stt, hardware, schedule, api, input_select, tuya.climate, xiaomi_miot.alarm_control_panel, homeassistant_hardware, tapo_control.siren, blueprint, meross_lan.switch, tasmota.switch, upnp.sensor, tuya.alarm_control_panel, tuya.number, ipp, smartthinq_sensors.select, eufylife_ble, onboarding, sems.sensor, tts, cast, zha.number, tuya_local.number, shelly.sensor, select, meross_lan.cover, roborock.time, met.weather, search, smartthinq_sensors.button, my, sensor, local_ip.sensor, homeassistant_sky_connect, shelly.binary_sensor, shelly.switch, dhcp, fan, zha.select, hassio.binary_sensor, persistent_notification, image_upload, binary_sensor, cover, remote, broadlink.switch, xiaomi_miot.select, tasmota.binary_sensor, roborock, http, tapo_control.camera, goodwe, network, timer, update, websocket_api, google, tuya.cover, input_number, repairs, broadlink.sensor, file_upload, zha.alarm_control_panel, zha.climate, tasmota.cover, smartthinq_sensors, cloud.binary_sensor, google_generative_ai_conversation, yeelight, owntracks, xiaomi_miot.number, zha.siren, ssdp, met, google_assistant_sdk, system_log, auth, shelly.climate, humidifier, intent, shelly.cover, xiaomi_miot.fan, xiaomi_miot.water_heater, webostv.media_player, map, owntracks.device_tracker, cloud, accuweather.weather, hassio.sensor, homeassistant, zha.button, smartthinq_sensors.binary_sensor, smartthinq_sensors.water_heater, xiaomi_miot.remote, siren, sems, tapo_control.button, system_health, webhook, cloud.stt, shelly.button, alarm_control_panel, mqtt, tapo_control.switch, hassio.update, tuya_local.select, tasmota, xiaomi_miot.camera, default_config, xiaomi_miot.vacuum, brother, shelly.valve, tuya, homekit_controller.button, person, scene, input_datetime, analytics, google_assistant_sdk.notify, homeassistant_alerts, utility_meter.sensor, time, shelly.light, tuya.button, tapo_control.update, tuya.camera, tuya_local.cover, cast.media_player, zha.device_tracker, usb, mobile_app.binary_sensor, ipp.sensor, otbr, tuya_local.light, smartthinq_sensors.switch, bluetooth_adapters, hacs, forecast_solar.sensor, tag, assist_pipeline, recorder, image, rpi_power.binary_sensor, tuya.fan The system is waiting for tasks: {<Task pending name='Task-5082' coro=<async_enable_report_state.<locals>.report_states() running at /usr/src/homeassistant/homeassistant/components/google_assistant/report_state.py:58> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()]> cb=[set.remove()]>, <Task pending name='Task-4646' coro=<HacsBase.startup_tasks() running at /config/custom_components/hacs/base.py:695> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()]> cb=[set.remove()]>}

Additional information

Logger: homeassistant.config_entries
Source: config_entries.py:575
First occurred: 9:35:57 PM (2 occurrences)
Last logged: 9:35:57 PM

Error setting up entry cliffv87@gmail.com for google
Error setting up entry Google Assistant SDK for google_assistant_sdk
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 575, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/google/init.py", line 170, in async_setup_entry
await session.async_ensure_token_valid()
File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 523, in async_ensure_token_valid
new_token = await self.implementation.async_refresh_token(self.token)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 94, in async_refresh_token
new_token = await self._async_refresh_token(token)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 184, in _async_refresh_token
new_token = await self._token_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 203, in _token_request
resp = await session.post(self.token_url, data=data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 581, in _request
conn = await self._connector.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 544, in connect
proto = await self._create_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 944, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1226, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1025, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1102, in create_connection
sock = await self._connect_sock(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1005, in _connect_sock
await self.sock_connect(sock, address)
File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 641, in sock_connect
return await fut
^^^^^^^^^
asyncio.exceptions.CancelledError: Global task timeout

@home-assistant
Copy link

Hey there @home-assistant/cloud, mind taking a look at this issue as it has been labeled with an integration (google_assistant) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of google_assistant can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign google_assistant Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


google_assistant documentation
google_assistant source
(message by IssueLinks)

@bdraco
Copy link
Member

bdraco commented May 11, 2024

{<Task pending name='Task-5082' coro=<async_enable_report_state..report_states() running at /usr/src/homeassistant/homeassistant/components/google_assistant/report_state.py:58> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()]> cb=[set.remove()]>,

This looks like a problem in google assistant but could also be that it happened to be running at the time the message was logged. Please restart again and check if the message is present on a second attempt.

<Task pending name='Task-4646' coro=<HacsBase.startup_tasks() running at /config/custom_components/hacs/base.py:695> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()]> cb=[set.remove()]>}

This looks like a problem in hacs. I saw another issue with the same problem recently. Please report it to hacs

#117194

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants