Problema com atualização do hacs no home assistant

Oi Pessoal, tudo bem?

Meu “Home Assistant Community Store” do HACS parou de funcionar do nada faz uma semana. Ele simplesmente não carrega nenhuma página de Repository. Alguém começou a ter esse problema recentemente? Existe alguma outra forma de instalar Repository ou Themes além da busca do HACS no HA?

Atualmente, está instalando no meu Ruspberry 5 a ultima versão do HACS 1.34.0 e do Home Assistant Core 2024.7.0.

Quando tento acessar qualquer página na loja para instalação, nenhuma delas carrega corretamente, impedindo-me de visualizar a documentação ou fazer download. A página fica presa em um loop infinito ao tentar carregar.

HACS2

Os símbolos dos “Repository” não carregam, apenas o do HACS. Além disso, ao tentar acessar qualquer repositório, o mesmo problema ocorre.

HACS1

Às vezes consigo acessar uma página, mas recebo uma mensagem de erro que diz “O desenvolvedor não forneceu mais informações para este repositório.”

HACS3

Tentei resolver o problema desinstalando, inclusive apagando a pasta \ip\config\custom_components\hacs, e reinstalando o HACS, também com versões anteriores como 1.33 e 1.32, limpando o cache do navegador de internet e até reinstalando o “Home Assistant” do zero, mas nenhuma dessas ações resolveu o problema.

Tentei ajuda reportando o problema no site da HACS no github, incluindo até o log de erro, mas o moderador fechou a minha dúvida sem dar esclarecimentos https://github.com/hacs/integration/issues/3847

Os principais erros que aparecem no log são:

2024-07-02 13:08:00.948 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues
2024-07-02 13:08:28.332 DEBUG (MainThread) [custom_components.hacs] There are 6 scheduled recurring tasks
2024-07-02 13:08:28.333 INFO (MainThread) [custom_components.hacs] Loading removed repositories
2024-07-02 13:08:43.328 WARNING (MainThread) [homeassistant.core] 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: diagnostics, usb, stt, climate, tuya.select, todo, persistent_notification, samsungtv.media_player, vacuum, raspberry_pi, samsungtv.remote, mobile_app.device_tracker, upnp.sensor, tuya.siren, button, switch, person, analytics, sensor, input_text, upnp, binary_sensor, rpi_power, mobile_app, assist_pipeline, rpi_power.binary_sensor, search, homeassistant.scene, shopping_list.todo, blueprint, hacs, energy, device_automation, lovelace, tuya, tuya.binary_sensor, siren, met, sun.sensor, conversation, http, light, image_upload, intent, camera, tuya.humidifier, sun, cloud.tts, hacs.sensor, system_health, zone, tag, weather, samsungtv, mobile_app.notify, device_tracker, mobile_app.sensor, automation, timer, homeassistant_alerts, media_source, tuya.scene, input_button, input_number, system_log, hardware, google_translate, met.weather, my, tuya.alarm_control_panel, dhcp, cover, energy.sensor, upnp.binary_sensor, hassio, api, update, remote, input_select, map, humidifier, tuya.sensor, logger, stream, network, bluetooth, tuya.light, application_credentials, ssdp, alarm_control_panel, tts, scene, input_boolean, recorder, tuya.vacuum, tuya.switch, cloud, input_datetime, default_config, tuya.climate, hassio.binary_sensor, zeroconf, google_translate.tts, hassio.sensor, radio_browser, tuya.cover, notify, trace, logbook, frontend, webhook, homeassistant, auth, backup, history, ffmpeg, fan, shopping_list, tuya.button, schedule, tuya.number, tuya.fan, script, tuya.camera, onboarding, websocket_api, counter, hacs.update, mobile_app.binary_sensor, media_player, file_upload, number, repairs, hassio.update, wake_word, config, select The system is waiting for tasks: {<Task pending name='Task-1613' coro=<HacsBase.startup_tasks() running at /config/custom_components/hacs/base.py:686> wait_for=<Future pending cb=[BaseSelectorEventLoop._sock_write_done(18, handle=<Handle BaseS..., 443, 0, 0))>)(), Task.task_wakeup()]> cb=[set.remove()]>}

2024-07-02 13:10:29.896 ERROR (MainThread) [custom_components.hacs] Could not update template - Timeout of 60s reached
2024-07-02 13:10:29.897 ERROR (MainThread) [custom_components.hacs] Could not update integration - Timeout of 60s reached
2024-07-02 13:10:29.897 ERROR (MainThread) [custom_components.hacs] Could not update plugin - Timeout of 60s reached
2024-07-02 13:10:29.897 INFO (MainThread) [custom_components.hacs] Stage changed: running
2024-07-02 13:10:59.895 WARNING (MainThread) [custom_components.hacs] A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/basnijholt/lovelace-ios-themes/v2.13.0/README.md, using over 60 seconds to download a single file is not normal. This is not a problem with HACS but how your host communicates with GitHub. Retrying up to 5 times to mask/hide your host/network problems to stop the flow of issues opened about it. Tries left 4
2024-07-02 13:11:30.896 DEBUG (MainThread) [custom_components.hacs] No critical repositories
2024-07-02 13:11:30.896 DEBUG (MainThread) [custom_components.hacs] Nothing in the queue
2024-07-02 13:12:01.895 WARNING (MainThread) [custom_components.hacs] A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/basnijholt/lovelace-ios-themes/v2.13.0/README.md, using over 60 seconds to download a single file is not normal. This is not a problem with HACS but how your host communicates with GitHub. Retrying up to 5 times to mask/hide your host/network problems to stop the flow of issues opened about it. Tries left 3
2024-07-02 13:13:03.895 WARNING (MainThread) [custom_components.hacs] A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/basnijholt/lovelace-ios-themes/v2.13.0/README.md, using over 60 seconds to download a single file is not normal. This is not a problem with HACS but how your host communicates with GitHub. Retrying up to 5 times to mask/hide your host/network problems to stop the flow of issues opened about it. Tries left 2
2024-07-02 13:13:55.799 DEBUG (MainThread) [custom_components.hacs] <Integration hacs/integration> Getting repository information
2024-07-02 13:13:56.776 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_envoy_upstream_service_time' for <class 'str'>
2024-07-02 13:13:56.787 DEBUG (MainThread) [custom_components.hacs] <Integration hacs/integration> Running checks against 1.34.0
2024-07-02 13:13:57.643 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_envoy_upstream_service_time' for <class 'str'>
2024-07-02 13:13:57.643 DEBUG (MainThread) [custom_components.hacs] <Integration hacs/integration> Getting documentation for version=1.34.0,filename=README.md
2024-07-02 13:13:57.643 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/hacs/integration/1.34.0/README.md
2024-07-02 13:14:05.895 WARNING (MainThread) [custom_components.hacs] A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/basnijholt/lovelace-ios-themes/v2.13.0/README.md, using over 60 seconds to download a single file is not normal. This is not a problem with HACS but how your host communicates with GitHub. Retrying up to 5 times to mask/hide your host/network problems to stop the flow of issues opened about it. Tries left 1
2024-07-02 13:14:57.896 WARNING (MainThread) [custom_components.hacs] A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/hacs/integration/1.34.0/README.md, using over 60 seconds to download a single file is not normal. This is not a problem with HACS but how your host communicates with GitHub. Retrying up to 5 times to mask/hide your host/network problems to stop the flow of issues opened about it. Tries left 4
2024-07-02 13:15:07.896 WARNING (MainThread) [custom_components.hacs] A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/basnijholt/lovelace-ios-themes/v2.13.0/README.md, using over 60 seconds to download a single file is not normal. This is not a problem with HACS but how your host communicates with GitHub. Retrying up to 5 times to mask/hide your host/network problems to stop the flow of issues opened about it. Tries left 0
2024-07-02 13:15:59.896 WARNING (MainThread) [custom_components.hacs] A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/hacs/integration/1.34.0/README.md, using over 60 seconds to download a single file is not normal. This is not a problem with HACS but how your host communicates with GitHub. Retrying up to 5 times to mask/hide your host/network problems to stop the flow of issues opened about it. Tries left 3
2024-07-02 13:17:01.895 WARNING (MainThread) [custom_components.hacs] A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/hacs/integration/1.34.0/README.md, using over 60 seconds to download a single file is not normal. This is not a problem with HACS but how your host communicates with GitHub. Retrying up to 5 times to mask/hide your host/network problems to stop the flow of issues opened about it. Tries left 2
2024-07-02 13:18:03.896 WARNING (MainThread) [custom_components.hacs] A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/hacs/integration/1.34.0/README.md, using over 60 seconds to download a single file is not normal. This is not a problem with HACS but how your host communicates with GitHub. Retrying up to 5 times to mask/hide your host/network problems to stop the flow of issues opened about it. Tries left 1
2024-07-02 13:18:28.333 DEBUG (MainThread) [custom_components.hacs] Nothing in the queue
2024-07-02 13:19:05.896 WARNING (MainThread) [custom_components.hacs] A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/hacs/integration/1.34.0/README.md, using over 60 seconds to download a single file is not normal. This is not a problem with HACS but how your host communicates with GitHub. Retrying up to 5 times to mask/hide your host/network problems to stop the flow of issues opened about it. Tries left 0
2024-07-02 13:19:07.188 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_envoy_upstream_service_time' for <class 'str'>
2024-07-02 13:21:33.094 DEBUG (MainThread) [custom_components.hacs] <Theme Madelena/Metrology-for-Hass> Getting repository information
2024-07-02 13:21:33.810 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_envoy_upstream_service_time' for <class 'str'>
2024-07-02 13:21:33.811 DEBUG (MainThread) [custom_components.hacs] <Theme Madelena/Metrology-for-Hass> Running checks against v.1.9.1
2024-07-02 13:21:34.624 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_envoy_upstream_service_time' for <class 'str'>
2024-07-02 13:21:34.624 DEBUG (MainThread) [custom_components.hacs] <Theme Madelena/Metrology-for-Hass> Getting documentation for version=v.1.9.1,filename=README.md
2024-07-02 13:21:34.624 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/Madelena/Metrology-for-Hass/v.1.9.1/README.md
2024-07-02 13:21:44.860 DEBUG (MainThread) [custom_components.hacs] <Theme Madelena/Metrology-for-Hass> Getting repository information
2024-07-02 13:21:45.518 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_envoy_upstream_service_time' for <class 'str'>
2024-07-02 13:21:45.520 DEBUG (MainThread) [custom_components.hacs] <Theme Madelena/Metrology-for-Hass> Running checks against v.1.9.1
2024-07-02 13:21:46.341 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_envoy_upstream_service_time' for <class 'str'>
2024-07-02 13:21:46.341 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_envoy_decorator_operation' for <class 'str'>
2024-07-02 13:21:46.341 DEBUG (MainThread) [custom_components.hacs] <Theme Madelena/Metrology-for-Hass> Getting documentation for version=v.1.9.1,filename=README.md
2024-07-02 13:21:46.342 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/Madelena/Metrology-for-Hass/v.1.9.1/README.md
2024-07-02 13:22:34.895 WARNING (MainThread) [custom_components.hacs] A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/Madelena/Metrology-for-Hass/v.1.9.1/README.md, using over 60 seconds to download a single file is not normal. This is not a problem with HACS but how your host communicates with GitHub. Retrying up to 5 times to mask/hide your host/network problems to stop the flow of issues opened about it. Tries left 4
2024-07-02 13:22:46.896 WARNING (MainThread) [custom_components.hacs] A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/Madelena/Metrology-for-Hass/v.1.9.1/README.md, using over 60 seconds to download a single file is not normal. This is not a problem with HACS but how your host communicates with GitHub. Retrying up to 5 times to mask/hide your host/network problems to stop the flow of issues opened about it. Tries left 4
2024-07-02 13:23:36.896 WARNING (MainThread) [custom_components.hacs] A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/Madelena/Metrology-for-Hass/v.1.9.1/README.md, using over 60 seconds to download a single file is not normal. This is not a problem with HACS but how your host communicates with GitHub. Retrying up to 5 times to mask/hide your host/network problems to stop the flow of issues opened about it. Tries left 3
2024-07-02 13:23:48.896 WARNING (MainThread) [custom_components.hacs] A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/Madelena/Metrology-for-Hass/v.1.9.1/README.md, using over 60 seconds to download a single file is not normal. This is not a problem with HACS but how your host communicates with GitHub. Retrying up to 5 times to mask/hide your host/network problems to stop the flow of issues opened about it. Tries left 3
2024-07-02 13:24:38.895 WARNING (MainThread) [custom_components.hacs] A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/Madelena/Metrology-for-Hass/v.1.9.1/README.md, using over 60 seconds to download a single file is not normal. This is not a problem with HACS but how your host communicates with GitHub. Retrying up to 5 times to mask/hide your host/network problems to stop the flow of issues opened about it. Tries left 2
2024-07-02 13:24:50.895 WARNING (MainThread) [custom_components.hacs] A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/Madelena/Metrology-for-Hass/v.1.9.1/README.md, using over 60 seconds to download a single file is not normal. This is not a problem with HACS but how your host communicates with GitHub. Retrying up to 5 times to mask/hide your host/network problems to stop the flow of issues opened about it. Tries left 2
2024-07-02 13:25:40.896 WARNING (MainThread) [custom_components.hacs] A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/Madelena/Metrology-for-Hass/v.1.9.1/README.md, using over 60 seconds to download a single file is not normal. This is not a problem with HACS but how your host communicates with GitHub. Retrying up to 5 times to mask/hide your host/network problems to stop the flow of issues opened about it. Tries left 1
2024-07-02 13:25:52.895 WARNING (MainThread) [custom_components.hacs] A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/Madelena/Metrology-for-Hass/v.1.9.1/README.md, using over 60 seconds to download a single file is not normal. This is not a problem with HACS but how your host communicates with GitHub. Retrying up to 5 times to mask/hide your host/network problems to stop the flow of issues opened about it. Tries left 1
2024-07-02 13:26:42.896 WARNING (MainThread) [custom_components.hacs] A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/Madelena/Metrology-for-Hass/v.1.9.1/README.md, using over 60 seconds to download a single file is not normal. This is not a problem with HACS but how your host communicates with GitHub. Retrying up to 5 times to mask/hide your host/network problems to stop the flow of issues opened about it. Tries left 0
2024-07-02 13:26:54.895 WARNING (MainThread) [custom_components.hacs] A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/Madelena/Metrology-for-Hass/v.1.9.1/README.md, using over 60 seconds to download a single file is not normal. This is not a problem with HACS but how your host communicates with GitHub. Retrying up to 5 times to mask/hide your host/network problems to stop the flow of issues opened about it. Tries left 0
2024-07-02 13:28:28.334 DEBUG (MainThread) [custom_components.hacs] Nothing in the queue

2024-07-02 13:02:58.329 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-07-02 13:03:00.591 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues
2024-07-02 13:03:48.101 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.helpers.event. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from event directly at custom_components/hacs/base.py, line 642: self.hass.helpers.event.async_track_time_interval(, please create a bug report at https://github.com/hacs/integration/issues
2024-07-02 13:04:03.098 WARNING (MainThread) [homeassistant.core] 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: rpi_power, mobile_app, application_credentials, network, upnp.sensor, usb, samsungtv, mobile_app.device_tracker, tuya.select, ffmpeg, logbook, tuya.alarm_control_panel, homeassistant, hassio.sensor, input_select, input_text, websocket_api, system_health, mobile_app.binary_sensor, intent, humidifier, samsungtv.media_player, search, cloud.tts, input_boolean, shopping_list, auth, dhcp, number, hacs, notify, weather, vacuum, samsungtv.remote, google_translate.tts, tts, camera, shopping_list.todo, select, api, tuya.button, onboarding, homeassistant_alerts, light, device_automation, tuya.vacuum, recorder, tuya.number, rpi_power.binary_sensor, conversation, todo, diagnostics, default_config, cloud, climate, input_button, history, radio_browser, config, sensor, input_datetime, media_source, automation, tuya.sensor, google_translate, met, zeroconf, hassio.update, wake_word, file_upload, button, assist_pipeline, upnp, logger, my, image_upload, tuya.light, map, cover, person, counter, scene, stream, tuya.binary_sensor, tuya.cover, lovelace, tuya.fan, hassio.binary_sensor, blueprint, hassio, http, homeassistant.scene, backup, tuya.siren, input_number, stt, energy, remote, bluetooth, device_tracker, ssdp, timer, system_log, tag, repairs, webhook, binary_sensor, met.weather, tuya.switch, energy.sensor, tuya.camera, persistent_notification, siren, tuya, schedule, update, frontend, sun, zone, upnp.binary_sensor, analytics, mobile_app.notify, fan, tuya.scene, tuya.climate, hardware, mobile_app.sensor, raspberry_pi, alarm_control_panel, sun.sensor, hacs.sensor, tuya.humidifier, media_player, trace, hacs.update, script, switch The system is waiting for tasks: {<Task pending name='Task-1656' coro=<HacsBase.startup_tasks() running at /config/custom_components/hacs/base.py:686> wait_for=<Future pending cb=[BaseSelectorEventLoop._sock_write_done(18, handle=<Handle BaseS..., 443, 0, 0))>)(), Task.task_wakeup()]> cb=[set.remove()]>}
2024-07-02 13:04:33.896 ERROR (MainThread) [homeassistant.components.homeassistant_alerts.coordinator] Timeout fetching homeassistant_alerts data
2024-07-02 13:05:49.895 ERROR (MainThread) [custom_components.hacs] Could not update template - Timeout of 60s reached
2024-07-02 13:05:49.896 ERROR (MainThread) [custom_components.hacs] Could not update plugin - Timeout of 60s reached
2024-07-02 13:05:49.896 ERROR (MainThread) [custom_components.hacs] Could not update integration - Timeout of 60s reached


Pessoal, para quem teve o mesmo erro que eu ou terá, consegui resolver e vou deixar registrado a solução que encontrei.

Nas minhas pesquisas, vi alguém comentando para desativar o IPV6 na configuração da interface de rede. Não sei exatamente o motivo, mas disseram que ele é instável com algumas aplicações, incluindo o HACS.

Foi certeiro. Desativei o IPV6, já que uso o IPV4 para conectar o meu Raspberry Pi, reiniciei o Home Assistant e o HACS voltou a funcionar.