Opengarage cannot connect to host using .local name

Fairly new to HAOS here, using the Opengarage integration. Periodically, the devices using .local hostnames will go ‘unavailable’ for a few minutes, but recover on their own. The logs show thousands of entries like the following over the past couple of months:

Logger: opengarage
Source: /usr/local/lib/python3.13/site-packages/opengarage/__init__.py:89
First occurred: December 11, 2025 at 6:35:21 AM (17336 occurrences)
Last logged: 2:32:05 PM

    Error connecting to Open garage: Cannot connect to host mydoor.local:80 ssl:False [MDNS lookup failed, DNS server returned answer with no data]

Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 1532, in _create_direct_connection
    hosts = await self._resolve_host(host, port, traces=traces)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 1148, in _resolve_host
    return await asyncio.shield(resolved_host_task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 1179, in _resolve_host_with_throttle
    addrs = await self._resolver.resolve(host, port, family=self._family)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp_asyncmdnsresolver/_impl.py", line 197, in resolve
    raise OSError(None, exception_strings)
OSError: [Errno None] MDNS lookup failed, DNS server returned answer with no data

Where should I start looking to try and resolve this? Is this an issue with Home Assistant, the Open Garage device, my network configuration, or some combination of the three?

Hello drwestco,
Welcome to the Home Assistant Forum!

Can you use the IP address instead?
The .local address stuff is very network hardware dependent and most experts do not recommend relying on it.

1 Like

Setting up a static IP Address in the DHCP area of your router configuration page will help bypass all the searching overhead involved to determine the current IP address from the hostname each time you address the device, and you can then address the device directly, as suggested. As a bonus, your logfile should be a lot slimmer.
Recommend you doing that for all your networked devices.
Post back how you went.

Working well two days on after switching to static IP and stopping use of .local hostnames. So accessing devices via IP instead of hostname is indeed a valid workaround.

Is this instability specific to MDNS, or is use of IP vs hostname still preferred when an internal DNS server is in the picture?