Sonos discovery has stopped working

My long running docker based home assistant setup seems to have lost the ability to discover my Sonos players. Everything was working a release or two ago and now I cannot seem to get any players into hass.

I clear out the Sonos configuration by deleting the integration and restarting. Sonos is discovered as a service and I click in the UI to enable the integration. I see this in the log:

2019-07-07 20:18:33 INFO (Thread-5) [pysonos.discovery] Sending discovery packets on 172.23.0.3
2019-07-07 20:18:33 INFO (Thread-5) [pysonos.discovery] Sending discovery packets on 192.168.1.22
2019-07-07 20:18:33 INFO (Thread-5) [pysonos.discovery] Sending discovery packets on 172.19.0.7
2019-07-07 20:18:33 INFO (Thread-5) [pysonos.services] Sending GetZoneGroupState [] to 192.168.1.166
2019-07-07 20:18:33 INFO (Thread-5) [pysonos.services] Received status 200 from 192.168.1.166
2019-07-07 20:18:33 INFO (MainThread) [homeassistant.setup] Setting up sonos
2019-07-07 20:18:33 INFO (MainThread) [homeassistant.setup] Setup of domain sonos took 0.0 seconds.
2019-07-07 20:18:33 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.sonos

The docker has 3 networks with the Sonos systems being on the main network 192.168.1.x/24. It looks like discovery is happening with 192.168.1.166 at least being discovered. But ultimately nothing appears in home assistant. No Sonos players are discovered.

Please join the discussion in GitHub issue #24853.

I’m the me too comment…