René's URL Explorer Experiment


Title: Socket Errors on Win 10 with 0.29 · Issue #337 · python-zeroconf/python-zeroconf · GitHub

Open Graph Title: Socket Errors on Win 10 with 0.29 · Issue #337 · python-zeroconf/python-zeroconf

X Title: Socket Errors on Win 10 with 0.29 · Issue #337 · python-zeroconf/python-zeroconf

Description: Hi, 0.29 appears to have caused issues with Windows 10 - it appears to have something to do with attempts to bind to private IP addresses when called without specified IP address (ie, DEFAULT). Using the provided browser example on Win 1...

Open Graph Description: Hi, 0.29 appears to have caused issues with Windows 10 - it appears to have something to do with attempts to bind to private IP addresses when called without specified IP address (ie, DEFAULT). Usi...

X Description: Hi, 0.29 appears to have caused issues with Windows 10 - it appears to have something to do with attempts to bind to private IP addresses when called without specified IP address (ie, DEFAULT). Usi...

Opengraph URL: https://github.com/python-zeroconf/python-zeroconf/issues/337

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Socket Errors on Win 10 with 0.29","articleBody":"Hi,\r\n\r\n0.29 appears to have caused issues with Windows 10 - it appears to have something to do with attempts to bind to private IP addresses when called without specified IP address (ie, DEFAULT).\r\n\r\nUsing the provided browser example on Win 10, zeroconf 0.29 and py39;\r\n```\r\nDEBUG:zeroconf:Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',)\r\nDEBUG:zeroconf:Created socket \u003csocket.socket fd=296, family=AddressFamily.AF_INET, type=SocketKind.SOCK_DGRAM, proto=0, laddr=('0.0.0.0', 5353)\u003e\r\nDEBUG:zeroconf:Adding '169.254.115.209' (socket 296) to multicast group\r\nINFO:zeroconf:Address not available when adding 169.254.115.209 to multicast group, it is expected to happen on some systems\r\nDEBUG:zeroconf:Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('169.254.115.209',)\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\shaun\\ledfx_venv_3.9\\LedFx\\test.py\", line 60, in \u003cmodule\u003e\r\n    zeroconf = Zeroconf(ip_version=ip_version)\r\n  File \"C:\\Users\\shaun\\ledfx_venv_3.9\\lib\\site-packages\\zeroconf\\__init__.py\", line 2508, in __init__\r\n    self._listen_socket, self._respond_sockets = create_sockets(\r\n  File \"C:\\Users\\shaun\\ledfx_venv_3.9\\lib\\site-packages\\zeroconf\\__init__.py\", line 2343, in create_sockets\r\n    respond_socket = new_respond_socket(i, apple_p2p=apple_p2p)\r\n  File \"C:\\Users\\shaun\\ledfx_venv_3.9\\lib\\site-packages\\zeroconf\\__init__.py\", line 2302, in new_respond_socket\r\n    respond_socket = new_socket(\r\n  File \"C:\\Users\\shaun\\ledfx_venv_3.9\\lib\\site-packages\\zeroconf\\__init__.py\", line 2250, in new_socket\r\n    s.bind((bind_addr[0], port, *bind_addr[1:]))\r\nOSError: [WinError 10049] The requested address is not valid in its context\r\n```\r\nExplicitly passing an active IP address using \r\n`zeroconf = Zeroconf(ip_version=ip_version,interfaces=[\"192.168.1.166\"])`\r\nresults in the expected output.\r\n\r\nUsing the same example on Win 10, zeroconf 0.28.8 and py39 I get the expected results.\r\n\r\nipconfig output;\r\n```Windows IP Configuration\r\n\r\n\r\nEthernet adapter vEthernet (WSL):\r\n\r\n   Connection-specific DNS Suffix  . :\r\n   Link-local IPv6 Address . . . . . : fe80::95a6:732f:6d4e:c491%54\r\n   IPv4 Address. . . . . . . . . . . : 172.23.0.1\r\n   Subnet Mask . . . . . . . . . . . : 255.255.240.0\r\n   Default Gateway . . . . . . . . . :\r\n\r\nEthernet adapter Ethernet:\r\n\r\n   Connection-specific DNS Suffix  . :\r\n   Link-local IPv6 Address . . . . . : fe80::e5bd:9a9a:d8c7:e24c%17\r\n   IPv4 Address. . . . . . . . . . . : 192.168.1.166\r\n   Subnet Mask . . . . . . . . . . . : 255.255.255.0\r\n   Default Gateway . . . . . . . . . : 192.168.1.1\r\n\r\nWireless LAN adapter Local Area Connection* 1:\r\n\r\n   Media State . . . . . . . . . . . : Media disconnected\r\n   Connection-specific DNS Suffix  . :\r\n\r\nWireless LAN adapter Local Area Connection* 2:\r\n\r\n   Media State . . . . . . . . . . . : Media disconnected\r\n   Connection-specific DNS Suffix  . :\r\n\r\nWireless LAN adapter WiFi:\r\n\r\n   Media State . . . . . . . . . . . : Media disconnected\r\n   Connection-specific DNS Suffix  . :\r\n\r\nEthernet adapter Bluetooth Network Connection:\r\n\r\n   Media State . . . . . . . . . . . : Media disconnected\r\n   Connection-specific DNS Suffix  . :\r\n```\r\nCheers,\r\nShaun","author":{"url":"https://github.com/shauneccles","@type":"Person","name":"shauneccles"},"datePublished":"2021-03-31T01:23:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/337/python-zeroconf/issues/337"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ad9f55b6-02a2-a480-8bc0-58b5a8b743d0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id903C:F5443:83919A1:B431643:6973A02D
html-safe-nonce1ae025573fbc7081b2c44395952eb2fa51aef28b33dbc8e326c2412f757483b7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDNDOkY1NDQzOjgzOTE5QTE6QjQzMTY0Mzo2OTczQTAyRCIsInZpc2l0b3JfaWQiOiIyMTc2NzUxNjA5OTE4NDk2ODEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac95f5b9aea8a0a516c6a4b23c56b5437ef8e84c32e3c66d1d8a459c49a2f5f36f
hovercard-subject-tagissue:845599408
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-zeroconf/python-zeroconf/337/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3a3ecdfd310ff30f994d2221fd5ef10d3662f18aca61bff3d6d324d13897df06/python-zeroconf/python-zeroconf/issues/337
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3a3ecdfd310ff30f994d2221fd5ef10d3662f18aca61bff3d6d324d13897df06/python-zeroconf/python-zeroconf/issues/337
og:image:altHi, 0.29 appears to have caused issues with Windows 10 - it appears to have something to do with attempts to bind to private IP addresses when called without specified IP address (ie, DEFAULT). Usi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameshauneccles
hostnamegithub.com
expected-hostnamegithub.com
None3e9aa9d0c22a21b13b378b4acd09f5dd4876a884425aacd32a9f473b84c8762d
turbo-cache-controlno-preview
go-importgithub.com/python-zeroconf/python-zeroconf git https://github.com/python-zeroconf/python-zeroconf.git
octolytics-dimension-user_id120192235
octolytics-dimension-user_loginpython-zeroconf
octolytics-dimension-repository_id21548731
octolytics-dimension-repository_nwopython-zeroconf/python-zeroconf
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21548731
octolytics-dimension-repository_network_root_nwopython-zeroconf/python-zeroconf
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseae4dbd3ac4179af799d71b75a60b0075ccccc5f6
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-zeroconf/python-zeroconf/issues/337#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-zeroconf%2Fpython-zeroconf%2Fissues%2F337
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-zeroconf%2Fpython-zeroconf%2Fissues%2F337
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python-zeroconf%2Fpython-zeroconf
Reloadhttps://github.com/python-zeroconf/python-zeroconf/issues/337
Reloadhttps://github.com/python-zeroconf/python-zeroconf/issues/337
Reloadhttps://github.com/python-zeroconf/python-zeroconf/issues/337
python-zeroconf https://github.com/python-zeroconf
python-zeroconfhttps://github.com/python-zeroconf/python-zeroconf
Notifications https://github.com/login?return_to=%2Fpython-zeroconf%2Fpython-zeroconf
Fork 232 https://github.com/login?return_to=%2Fpython-zeroconf%2Fpython-zeroconf
Star 704 https://github.com/login?return_to=%2Fpython-zeroconf%2Fpython-zeroconf
Code https://github.com/python-zeroconf/python-zeroconf
Issues 50 https://github.com/python-zeroconf/python-zeroconf/issues
Pull requests 5 https://github.com/python-zeroconf/python-zeroconf/pulls
Discussions https://github.com/python-zeroconf/python-zeroconf/discussions
Actions https://github.com/python-zeroconf/python-zeroconf/actions
Projects 0 https://github.com/python-zeroconf/python-zeroconf/projects
Wiki https://github.com/python-zeroconf/python-zeroconf/wiki
Security 0 https://github.com/python-zeroconf/python-zeroconf/security
Insights https://github.com/python-zeroconf/python-zeroconf/pulse
Code https://github.com/python-zeroconf/python-zeroconf
Issues https://github.com/python-zeroconf/python-zeroconf/issues
Pull requests https://github.com/python-zeroconf/python-zeroconf/pulls
Discussions https://github.com/python-zeroconf/python-zeroconf/discussions
Actions https://github.com/python-zeroconf/python-zeroconf/actions
Projects https://github.com/python-zeroconf/python-zeroconf/projects
Wiki https://github.com/python-zeroconf/python-zeroconf/wiki
Security https://github.com/python-zeroconf/python-zeroconf/security
Insights https://github.com/python-zeroconf/python-zeroconf/pulse
New issuehttps://github.com/login?return_to=https://github.com/python-zeroconf/python-zeroconf/issues/337
New issuehttps://github.com/login?return_to=https://github.com/python-zeroconf/python-zeroconf/issues/337
Socket Errors on Win 10 with 0.29https://github.com/python-zeroconf/python-zeroconf/issues/337#top
https://github.com/shauneccles
https://github.com/shauneccles
shauneccleshttps://github.com/shauneccles
on Mar 31, 2021https://github.com/python-zeroconf/python-zeroconf/issues/337#issue-845599408
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.