Google Cast activation problem on Windows with zeroconf.py and VMWare Drivers on VM Host

Greetings,

Is someone able to run Google Cast on Windows?
I am receiving following error:

ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform cast

OSError: [WinError 10022] An invalid argument was supplied

My environment is:
Home Assistant release (hass --version):
0.60.0 ( Windows 7 x64 )

Python release (python3 --version):
Python 3.6.4rc1 ( Windows x64 )

Component/platform:
Google Cast

Dependencies:
PyChromecast (1.0.3)
protobuf (3.5.1)
zeroconf (0.19.1)
py3-protobuffers (3.0.0a4)

I also tried to switch:
C:\Program Files\Python\lib\site-packages\homeassistant\components\media_player\cast.py
REQUIREMENTS = [‘pychromecast==0.8.2’]
to
REQUIREMENTS = [‘pychromecast==1.0.3’]

Full Traceback is available, but have problems to upload it.

Looks like a Bug …

Thank You and Best Regards,

Hi All,

After digging a lot more, I found a GREAT explanation by Jan on how discovery in zeroconf.py are operating.
This allowed me to find the compatibility problem I had and resolve it.

The problem in my situation was with zeroconf.py parsing arguments when VMWare NICs are operating.
All my PCs and Servers are have VMWare Player.
Because of that, everywhere I have two NICs with VMWare drivers ( VMNETs ).
After disabling both VMWare NICs, my problem disappear and Google Cast component was able to run ( will now start testing it ).

Link to explanation:

Microsoft:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms740621(v=vs.85).aspx

Hope it will help someone not to lose a lot of time and at the end someone in the future will add VMWare comparability to zeroconf.py.

One more thing, it will be good idea to add NOTE about this to the Google Cast document.

Rafal, thank You again for responding.

Best Regards,

Alexey