René's URL Explorer Experiment


Title: Interface option InterfaceChoice.Default not working for IPv6 · Issue #1562 · python-zeroconf/python-zeroconf · GitHub

Open Graph Title: Interface option InterfaceChoice.Default not working for IPv6 · Issue #1562 · python-zeroconf/python-zeroconf

X Title: Interface option InterfaceChoice.Default not working for IPv6 · Issue #1562 · python-zeroconf/python-zeroconf

Description: When trying to use InterfaceChoice.Default with IPv6 on Linux Python Zeroconf isn't able to start browsing/sending frames: E.g. running this snipped: import asyncio import logging from zeroconf import ( DNSQuestionType, InterfaceChoice, ...

Open Graph Description: When trying to use InterfaceChoice.Default with IPv6 on Linux Python Zeroconf isn't able to start browsing/sending frames: E.g. running this snipped: import asyncio import logging from zeroconf imp...

X Description: When trying to use InterfaceChoice.Default with IPv6 on Linux Python Zeroconf isn't able to start browsing/sending frames: E.g. running this snipped: import asyncio import logging from zeroconf...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Interface option InterfaceChoice.Default not working for IPv6","articleBody":"When trying to use `InterfaceChoice.Default` with IPv6 on Linux Python Zeroconf isn't able to start browsing/sending frames:\n\nE.g. running this snipped:\n\n```python\nimport asyncio\nimport logging\nfrom zeroconf import (\n    DNSQuestionType,\n    InterfaceChoice,\n    IPVersion,\n    ServiceStateChange,\n    Zeroconf,\n)\nfrom zeroconf.asyncio import AsyncServiceBrowser, AsyncZeroconf\n\nlogging.basicConfig(format='%(asctime)s %(message)s', level=logging.INFO)\nlogging.getLogger(\"zeroconf\").setLevel(logging.DEBUG)\n\ndef service_browser_handler(zeroconf: Zeroconf, service_type: str, name: str, state_change: ServiceStateChange) -\u003e None:\n    logging.info(\"mDNS service state change: %s - %s - %s\", name, service_type, state_change)\n\n\nasync def browse_service():\n    _aiozc = AsyncZeroconf(interfaces=InterfaceChoice.Default, ip_version=IPVersion.V6Only)\n    _aiobrowser = AsyncServiceBrowser(\n        _aiozc.zeroconf,\n        [\"_matter._tcp.local.\"],\n        handlers=[service_browser_handler],\n        question_type=DNSQuestionType.QM,\n    )\n\tawait asyncio.sleep(5)\n\nasyncio.run(browse_service())\n```\n\nThe same is true when trying to use dual-stack with `IPVersion.All`. Also the question type doesn't matter `DNSQuestionType.QU` won't get delivered either.\n\nLeads to the following output:\n```\n2025-04-10 16:17:46,736 Creating new socket with port 5353, ip_version IPVersion.V6Only, apple_p2p False and bind_addr ('',)\n2025-04-10 16:17:46,736 Created socket \u003csocket.socket fd=8, family=10, type=2, proto=0, laddr=('::', 5353, 0, 0)\u003e\n2025-04-10 16:17:46,736 Adding (('', 0, 0), 0) (socket 8) to multicast group\n2025-04-10 16:17:46,736 Listen socket \u003csocket.socket fd=8, family=10, type=2, proto=0, laddr=('::', 5353, 0, 0)\u003e, respond sockets [\u003csocket.socket fd=8, family=10, type=2, proto=0, laddr=('::', 5353, 0, 0)\u003e]\n2025-04-10 16:17:46,781 offsets = questions=0, answers=0, authorities=0, additionals=0\n2025-04-10 16:17:46,782 lengths = questions=1, answers=0, authorities=0, additionals=0\n2025-04-10 16:17:46,782 now offsets = questions=1, answers=0, authorities=0, additionals=0\n2025-04-10 16:17:46,782 Sending to (ff02::fb, 5353) via [socket 8 (('::', 5353, 0, 0))] (36 bytes #1) \u003cDNSOutgoing:multicast=True, flags=0, questions=[ptr[question,QM,in,_matter._tcp.local.]], answers=[], authorities=[], additionals=[]\u003e as b'\\x00\\x00\\x00\\x00\\x00\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x07_matter\\x04_tcp\\x05local\\x00\\x00\\x0c\\x00\\x01'...\n2025-04-10 16:17:46,782 Error with socket 8 (('::', 5353, 0, 0))): [Errno 99] Cannot assign requested address\nTraceback (most recent call last):\n  File \"/usr/lib/python3.13/asyncio/selector_events.py\", line 1268, in sendto\n    self._sock.sendto(data, addr)\n    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^\nOSError: [Errno 99] Cannot assign requested address\n```\n\n","author":{"url":"https://github.com/agners","@type":"Person","name":"agners"},"datePublished":"2025-04-10T14:22:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/1562/python-zeroconf/issues/1562"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d31e1650-c351-06bc-1320-a23408cdfd6b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9C52:1AB011:808AFAE:B0364D7:69739D86
html-safe-nonce96e0e00818975825ba30fb1f6e9b1c0ebd30880d81cfc9771c401b460929fe4b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzUyOjFBQjAxMTo4MDhBRkFFOkIwMzY0RDc6Njk3MzlEODYiLCJ2aXNpdG9yX2lkIjoiNjk4MTIyNzM3ODg4MjM4OTgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac28a7548a35c7a3d7c3c5dcf10d0710b9efd1bdfd37da9726b006ddfe76b1d0ca
hovercard-subject-tagissue:2985873302
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/1562/issue_layout
twitter:imagehttps://opengraph.githubassets.com/224f75bcf3f15d62c076bd088689f7a3655a7e8f3e6c614f92d5226a8769bad1/python-zeroconf/python-zeroconf/issues/1562
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/224f75bcf3f15d62c076bd088689f7a3655a7e8f3e6c614f92d5226a8769bad1/python-zeroconf/python-zeroconf/issues/1562
og:image:altWhen trying to use InterfaceChoice.Default with IPv6 on Linux Python Zeroconf isn't able to start browsing/sending frames: E.g. running this snipped: import asyncio import logging from zeroconf imp...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameagners
hostnamegithub.com
expected-hostnamegithub.com
None2050cdbbbbb4ed55fd8fdf9b956111480f540c8aea2ae70cb27cdafc585f54a8
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
releasedb1779077eea7e25848d6e8f2461754c9e48f3ec
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-zeroconf/python-zeroconf/issues/1562#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-zeroconf%2Fpython-zeroconf%2Fissues%2F1562
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%2F1562
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/1562
Reloadhttps://github.com/python-zeroconf/python-zeroconf/issues/1562
Reloadhttps://github.com/python-zeroconf/python-zeroconf/issues/1562
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/1562
New issuehttps://github.com/login?return_to=https://github.com/python-zeroconf/python-zeroconf/issues/1562
#1563https://github.com/python-zeroconf/python-zeroconf/pull/1563
Interface option InterfaceChoice.Default not working for IPv6https://github.com/python-zeroconf/python-zeroconf/issues/1562#top
#1563https://github.com/python-zeroconf/python-zeroconf/pull/1563
https://github.com/agners
https://github.com/agners
agnershttps://github.com/agners
on Apr 10, 2025https://github.com/python-zeroconf/python-zeroconf/issues/1562#issue-2985873302
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.