Auto discovery not finding kodi on 0.107.7

I can’t get Home assistant to find my Kodi instances on my new server. Discovery never finds them and setting the configuration in configuration.yaml doesn’t make a difference. When it’s in the configuration.yanl On startup I get an error
[homeassistant.components.kodi.media_player] Unable to fetch kodi data. when I’m trying discovery it just never finds it. This isn’t an issue with web access not being enabled on kodi because my old HA machine worked fine.

My setup is likely weird but it used to work fine…
I run HA in a container running on proxmox. A few months ago I got sick of the moving to Python 3.5 warning and being stuck at 0.96.5 so I updated everything and decided the best move was to start fresh in a new container. That container is setup identical to the old one. The new install is running in VENV but the old one didn’t and was instead running right on the container(part of my issue with updating python on it)

For testing I stopped my new container and started the old one. Right away discovery identified both Kodi instances and it was keeping track of what was playing/stopping just fine.

Google found a few entries about making sure that web access was enabled on the kodi machines and it is. It’s not kodi as it works with the old HA container.
Both containers share the same MAC and therefor IP(I shutdown one to power up the other) so it’s not likely to be some weird router issue. It’s not a firewall issue on the Media PC’s as it works in one but not the other. I don’t see anything different in the container setup between the two. I ran netcat on the HA container and it’s able to see that the Kodi web interface port is open.

Discovery works on other devices on my network so it is running. I’m just not sure where to go from here.

I turned on debug level logging on the kodi component and now have an actual error

2020-07-04 02:28:05 DEBUG (MainThread) [homeassistant.components.kodi.media_player] Unable to fetch kodi data
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.7/site-packages/jsonrpc_async/jsonrpc.py”, line 29, in send_message
response = yield from self._request(data=message.serialize())
File “/srv/homeassistant/lib/python3.7/site-packages/aiohttp/client.py”, line 582, in _request
break
File “/srv/homeassistant/lib/python3.7/site-packages/aiohttp/helpers.py”, line 586, in exit
raise asyncio.TimeoutError from None
concurrent.futures._base.TimeoutError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/kodi/media_player.py”, line 388, in _get_players
return await self.server.Player.GetActivePlayers()
File “/srv/homeassistant/lib/python3.7/site-packages/jsonrpc_async/jsonrpc.py”, line 31, in send_message
raise TransportError(‘Transport Error’, message, exc)
jsonrpc_base.jsonrpc.TransportError: (“Error calling method ‘Player.GetActivePlayers’: Transport Error”, TimeoutError())

It’s now appearing. I had to delete the home-assistant_v2.db. I’m not sure what was stored in there that would have caused the issue.