|
发表于 2024-12-5 09:29:25
|
显示全部楼层
有大神知道是什么原因吗? socat 80端口显示的是 X
日志记录器: custom_components.airmx.config_flow
来源: custom_components/airmx/config_flow.py:75
集成: AIRMX (文档, 问题)
首次出现: 2024年12月2日 13:49:26 (5 次总计出现)
上次记录: 09:26:28
Cannot connect to host a06532c7-airmx-addon:80 ssl:default [DNS server returned answer with no data]
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/resolver.py", line 105, in resolve
resp = await self._resolver.getaddrinfo(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
aiodns.error.DNSError: (1, 'DNS server returned answer with no data')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1335, in _create_direct_connection
hosts = await self._resolve_host(host, port, traces=traces)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 989, in _resolve_host
return await asyncio.shield(resolved_host_task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1020, in _resolve_host_with_throttle
addrs = await self._resolver.resolve(host, port, family=self._family)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/resolver.py", line 114, in resolve
raise OSError(None, msg) from exc
OSError: [Errno None] DNS server returned answer with no data
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/airmx/config_flow.py", line 75, in async_step_select_device
await self._async_discover_wifi_devices()
File "/config/custom_components/airmx/config_flow.py", line 211, in _async_discover_wifi_devices
response = await http.get(f"http://{ADDON_HOSTNAME}/_devices")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 663, in _request
conn = await self._connector.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 538, in connect
proto = await self._create_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1050, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1341, in _create_direct_connection
raise ClientConnectorDNSError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorDNSError: Cannot connect to host a06532c7-airmx-addon:80 ssl:default [DNS server returned answer with no data] |
|