『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 808|回复: 1

[求助] hacs 下载Colorfulclouds Weather Card返回unknown error,该怎么解决

[复制链接]

1

主题

2

帖子

28

积分

新手上路

Rank: 1

积分
28
金钱
26
HASS币
0
发表于 2024-5-5 15:59:26 | 显示全部楼层 |阅读模式
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1033, in _wrap_create_connection    raise client_error(req.connection_key, exc) from excaiohttp.client_exceptions.ClientConnectorError: Cannot connect to host raw.githubusercontent.com:443 ssl:default [Connect call failed ('0.0.0.0', 443)][color=var(--error-color)]2024-05-05 15:57:48.336 ERROR (MainThread) [custom_components.hacs] Download failed - Cannot connect to host raw.githubusercontent.com:443 ssl:default [Connect call failed ('::', 443, 0, 0)]Traceback (most recent call last):  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 1120, in create_connection    raise exceptions[0]  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           ^^^^^^^^^  File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 681, in _sock_connect_cb    raise OSError(err, f'Connect call failed {address}')ConnectionRefusedError: [Errno 111] Connect call failed ('::', 443, 0, 0)The above exception was the direct cause of the following exception:Traceback (most recent call last):  File "/config/custom_components/hacs/base.py", line 720, in async_download_file    request = await self.session.get(              ^^^^^^^^^^^^^^^^^^^^^^^  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 1257, in _create_direct_connection    raise last_exc  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 1033, in _wrap_create_connection    raise client_error(req.connection_key, exc) from excaiohttp.client_exceptions.ClientConnectorError: Cannot connect to host raw.githubusercontent.com:443 ssl:default [Connect call failed ('::', 443, 0, 0)][color=var(--error-color)]2024-05-05 15:57:49.339 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [colorfulclouds-weather-card.js] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.340 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [CLEAR_DAY.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.340 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [CLEAR_NIGHT.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.340 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [CLOUDY.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.340 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [DUST.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.340 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [FOG.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.340 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [HEAVY_HAZE.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.340 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [HEAVY_RAIN.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.340 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [HEAVY_SNOW.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.340 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [LIGHT_HAZE.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.340 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [LIGHT_RAIN.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.340 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [LIGHT_SNOW.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.340 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [MODERATE_HAZE.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.340 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [MODERATE_RAIN.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.340 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [MODERATE_SNOW.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.341 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [PARTLY_CLOUDY_DAY.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.341 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [PARTLY_CLOUDY_NIGHT.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.341 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [SAND.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.341 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [STORM_RAIN.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.341 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [STORM_SNOW.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.341 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [WIND.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.341 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [CLEAR_DAY.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.341 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [CLEAR_NIGHT.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.341 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [CLOUDY.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.341 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [DUST.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.341 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [FOG.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.341 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [HEAVY_HAZE.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.341 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [HEAVY_RAIN.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.341 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [HEAVY_SNOW.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.341 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [LIGHT_HAZE.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.341 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [LIGHT_RAIN.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.341 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [LIGHT_SNOW.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.341 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [MODERATE_HAZE.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.342 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [MODERATE_RAIN.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.342 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [MODERATE_SNOW.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.342 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [PARTLY_CLOUDY_DAY.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.342 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [PARTLY_CLOUDY_NIGHT.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.342 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [SAND.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.342 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [STORM_RAIN.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.342 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [STORM_SNOW.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.342 ERROR (MainThread) [custom_components.hacs] <Plugin fineemb/lovelace-colorfulclouds-weather-card> [WIND.svg] was not downloaded.[color=var(--error-color)]2024-05-05 15:57:49.342 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548255704256] Error handling message: Unknown error (unknown_error) 豆豆爸比 from 192.168.3.15 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36)Traceback (most recent call last):  File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 27, in _handle_async_response    await func(hass, connection, msg)  File "/config/custom_components/hacs/websocket/repository.py", line 234, in hacs_repository_download    await repository.async_install()  File "/config/custom_components/hacs/repositories/base.py", line 893, in async_install    await self.async_install_repository(version=version)  File "/config/custom_components/hacs/repositories/base.py", line 990, in async_install_repository    raise HacsException("Could not download, see log for details")custom_components.hacs.exceptions.HacsException: Could not download, see log for details
回复

使用道具 举报

1

主题

2

帖子

28

积分

新手上路

Rank: 1

积分
28
金钱
26
HASS币
0
 楼主| 发表于 2024-5-5 16:27:51 | 显示全部楼层
hacs中的插件怎么手动添加,hacstag怎么获取呢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-23 16:49 , Processed in 0.067843 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表