KNX "No Gateways found; Retrying in background" after upgrading to 2021.12

I recently upgraded HA to 2021.12 (using the docker image on a Synology NAS). Until then everything was working fine, but now I am getting “No Gateways found; Retrying in background”.

I verified the KNX gateway is still working using ETS5. I did not make any chances to my configuration.

Does anyone have similar issues or a suggestion on how to resolve this?

021-12-15 14:07:01 INFO (MainThread) [xknx.log] XKNX v0.18.13 starting automatic connection to KNX bus.
2021-12-15 14:07:01 DEBUG (MainThread) [xknx.log] Searching on lo / 127.0.0.1
2021-12-15 14:07:01 DEBUG (MainThread) [xknx.knx] Sending: <KNXIPFrame <KNXIPHeader HeaderLength="6" ProtocolVersion="16" KNXIPServiceType="SEARCH_REQUEST" Reserve="0" TotalLength="14" />
body="<SearchRequest discovery_endpoint="<HPAI 224.0.23.12:3671 />" />" />
2021-12-15 14:07:01 INFO (MainThread) [xknx.log] Could not connect to an KNX/IP device on sit0
2021-12-15 14:07:01 DEBUG (MainThread) [xknx.log] Searching on eth0 / 172.17.0.3
2021-12-15 14:07:01 DEBUG (MainThread) [xknx.raw_socket] Received from ('127.0.0.1', 3671): 06100201000e0801e000170c0e57
2021-12-15 14:07:01 DEBUG (MainThread) [xknx.knx] Received: <KNXIPFrame <KNXIPHeader HeaderLength="6" ProtocolVersion="16" KNXIPServiceType="SEARCH_REQUEST" Reserve="0" TotalLength="14" />
body="<SearchRequest discovery_endpoint="<HPAI 224.0.23.12:3671 />" />" />
2021-12-15 14:07:01 DEBUG (MainThread) [xknx.knx] Unhandled KNXIPServiceType.SEARCH_REQUEST: <KNXIPFrame <KNXIPHeader HeaderLength="6" ProtocolVersion="16" KNXIPServiceType="SEARCH_REQUEST" Reserve="0" TotalLength="14" />
body="<SearchRequest discovery_endpoint="<HPAI 224.0.23.12:3671 />" />" />
2021-12-15 14:07:01 DEBUG (MainThread) [xknx.knx] Sending: <KNXIPFrame <KNXIPHeader HeaderLength="6" ProtocolVersion="16" KNXIPServiceType="SEARCH_REQUEST" Reserve="0" TotalLength="14" />
body="<SearchRequest discovery_endpoint="<HPAI 224.0.23.12:3671 />" />" />
2021-12-15 14:07:05 DEBUG (MainThread) [xknx.log] Closing transport.
2021-12-15 14:07:05 DEBUG (MainThread) [xknx.log] Closing transport.

Hi!
How does your Knx config look like?
Where in the network is your knx ip interface located?
Are you running HA container without net=host ?

:man_facepalming: yes, somehow I forgot the net=host…
Thanks a lot!

I see the same problem when upgrading to 2021.12.4 - works fine with 2021.12.3. I notice xknx is upgraded in 2021.12.4 - is this causing problems for anyone else?
I needed to revert back to 2021.12.3 to get KNX to work again.

See KNX integration not finding KNX gateway on HA 2021.12.4 · Issue #62467 · home-assistant/core · GitHub
It’s a known issue for 2021.12.4 - will be fixed in .5

Super! Thanks for quick feedback. Didn’t see that issue :blush::+1: