-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No MDNS services are listed by zeroconf when using Windows 11 #49
Comments
What do I need to do to execute that code? Just run |
This seems to work:
with output:
|
I don't get anything on Windows 11 from your minimal example either. Also, in examples_gui.py try clicking "detect" by IP address to fill in the top drop-down box. That will probably work as long as you are not using Windows 11. Let me know if you have trouble, but I will also try to make the interface more intuitive. |
On my Mac, it seems like there's about a 5 second pause before the Detect button is able to click. After that, it detects the CS-105 just fine. Not sure what to recommend for Windows 11. Something seems broken, which is surprising: There are a lot of Windows 11 machines out there. |
Is it possible that it's one specific Windows 11 machine, and not Windows 11 in general? Can you try on another Win11 machine? IIRC, at one point there was a component you needed to install for Windows to speak Zeroconf/Bonjour. Maybe that's missing on the Win11 machine. |
Ok, yes it is only happening on certain Windows 11 machines. @MycioDan says he's had to tell people to power cycle the machine etc. to get it to work (that is going back years before Windows 11 even) before I wrote the example or any zeroconf programs for TCS, so I will probably have to do an IP address search if Windows' unreliable MDNS fails to work. I will see if there is a way to fix it by restarting MDNS or other service(s) without restarting Windows.
Related links:
|
…es not listing anything with mDNS (issue bobjacobsen#49).
Could you check whether IPv6 is enabled or not on the machines that are causing the problem? There's a JMRIusers thread where they seem to be having a problem with mDNS when IPv6 is disabled on Windows. |
… adapters (revert to default zeroconf behavior; new behavior didn't help issue bobjacobsen#49). Remove WiFi restart code (didn't help with issue bobjacobsen#49).
Having IPv6 enabled doesn't make the issue happen, but when I get a chance I'll try disabling it on the machine where MDNS does not work. For now I've started a diagnostic tool here: https://github.com/Hierosoft/mdnscheckup |
This may or may not be an issue with the way I'm using zeroconf (may be my version of Cython if it uses that), because the problem seems to appear and vanish according to the issue here: python-zeroconf/python-zeroconf#1055
I have tried some different ways of using it here: https://github.com/Hierosoft/python-openlcb/tree/zeroconf-windows11-fix, but made no progress yet.
The text was updated successfully, but these errors were encountered: