Home Assistant running Docker with bridge network, all entities showing "No response"

Hi all,

I’m attempting to move my Home assistant container from a Docker “host” network to a Docker “bridge” network. Everything has gone smoothly so far, except my HomeKit integration (not HomeKit controller, that also works well!).

I initially had the problem where I was unable to discover the HomeKit bridge and pair. This was fixed by using avahi-daemon to reflect the mDNS between my host network interface and docker network interface and also by modifying the Home Assistant HomeKit config to include “advertise_ip” and “safe_mode” (which was switched off after pairing) as suggested in the Home Assistant HomeKit documentation. This allowed me to successfully discover, pair and add all of my Home Assistant entities to HomeKit.

Having added all of the Home Assistant entities to HomeKit, my next problem was that all of the entities are display as “No response”. If I change my Docker network back to “host”, it all works as expected. However in bridge mode, everything shows as “No response” in HomeKit. This is where I’ve become stuck.

Before attempting the move from “host” network mode to “bridge” network mode, Home Assistant and the HomeKit integration have been pretty much flawless throughout the ~2 years I’ve been using it!

I’m running 0.117.5 and Docker version 19.03.13 on a Centos 7 VM running on a QNAP NAS in Virtualisation Station.

Has anyone come across this issue before, or have any ideas of what to start checking?

Thanks in advance!

Fixed. The host network interface had changed names, meaning allow-interfaces my avahi-daemon.conf was incorrect

All working well now!

Any tips on how to do this? I’m also trying to move to bridge mode but just changing my docker-compose does not seem to be enough.
Home Assistant is unable to find any devices on the network and I’m getting exceptions in the logs like:

2022-09-25 11:43:06.135 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 334, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
  File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'"