#Having trouble getting Matter
1 messages · Page 1 of 1 (latest)
The last couple lines of the Matter add-on log don't look good to me:
2023-06-13 08:43:55 core-matter-server matter_server.server.helpers.paa_certificates[126] INFO Fetching the latest PAA root certificates from Git.
2023-06-13 08:48:56 core-matter-server asyncio[126] ERROR Task exception was never retrieved
future: <Task finished name='Task-1' coro=<run.<locals>.new_coro() done, defined at /usr/local/lib/python3.11/site-packages/aiorun.py:227> exception=TimeoutError()>
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/aiorun.py", line 237, in new_coro
await coro
File "/usr/local/lib/python3.11/site-packages/matter_server/server/server.py", line 94, in start
await self.device_controller.initialize()
File "/usr/local/lib/python3.11/site-packages/matter_server/server/device_controller.py", line 73, in initialize
await fetch_certificates()
File "/usr/local/lib/python3.11/site-packages/matter_server/server/helpers/paa_certificates.py", line 153, in fetch_certificates
fetch_count += await fetch_git_certificates()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/matter_server/server/helpers/paa_certificates.py", line 126, in fetch_git_certificates
async with http_session.get(f"{GIT_URL}/{cert}.pem") as response:
File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 1141, in aenter
self._resp = await self._coro
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 467, in _request
with timer:
File "/usr/local/lib/python3.11/site-packages/aiohttp/helpers.py", line 721, in exit
raise asyncio.TimeoutError from None
TimeoutError
It sure does. Time for me to start paying the tax for being a beta user 🙂
Eww. Appears to be blamed on (TL;DR) HAOS interaction with gateway router and general support of IPv6 by the local network.
Yeah, you are probably assigning IPv6 addresses without having a IPv6 internet connection that works
This will be fun to debug. My network says IPv6 is just fine. Several devices have IPv6 IPs, so it's at least partially working.
But can you ping ipv6 addresses on the internet?
If I go to a public "what is my IP" site, it gives an IPv6 address.
But can you ping IPv6 addresses from home assistant?
How might I do that? Sorry, new to HA and raspian, but comfortable with Linux command line if that helps.
Will do. Thanks.
Do you personally use "Advanced SSH & Web Terminal" ?
Yes, I’m not sure what’s the difference is though.
No need for details. I'm just using your answer as a sniff test. It's the answer found in the community add-ons section of HA, and I'm happy to push the "easy button."
Did you try to ping an address?
Sorry for slow responses, I'm multi-tasking with my day job. The add-on wants SSH configuration. It'll take a bit of attention to get it set up correctly, then I can start exploring network configuration.
FWIW, my laptop on the same network can do a ping6 to google.com with no problem, so at least my router and cable modem can handle it at some level.
I've seen examples where a simple disable and enable of IPv6 on the HAOS host was enough to recover it.
so there might be some bug in a python dependency and ipv6?
No, why do you think so ?
It's just that sometimes the ipv6 config is not properly applied and simply changing it to static and dhcp again will fix it
Basically because of this and as far as i can see only the matter server is affected by the problem. But i might just be overthinking it.
Well, I guess Matter is the only component actually relying on IPv6