René's URL Explorer Experiment


Title: Zeroconf.get_service_info seems broken in 0.26.0 · Issue #255 · python-zeroconf/python-zeroconf · GitHub

Open Graph Title: Zeroconf.get_service_info seems broken in 0.26.0 · Issue #255 · python-zeroconf/python-zeroconf

X Title: Zeroconf.get_service_info seems broken in 0.26.0 · Issue #255 · python-zeroconf/python-zeroconf

Description: Several Home Assistant users have reported that cast devices can't be discovered correctly after a recent upgrade which bumps zeroconf from 0.25.1 to 0.26.1: home-assistant/core#35922 According to some testing, the problem appeared in 0....

Open Graph Description: Several Home Assistant users have reported that cast devices can't be discovered correctly after a recent upgrade which bumps zeroconf from 0.25.1 to 0.26.1: home-assistant/core#35922 According to ...

X Description: Several Home Assistant users have reported that cast devices can't be discovered correctly after a recent upgrade which bumps zeroconf from 0.25.1 to 0.26.1: home-assistant/core#35922 According...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Zeroconf.get_service_info seems broken in 0.26.0","articleBody":"Several Home Assistant users have reported that cast devices can't be discovered correctly after a recent upgrade which bumps zeroconf from 0.25.1 to 0.26.1: https://github.com/home-assistant/core/issues/35922\r\n\r\nAccording to some testing, the problem appeared in 0.26.0, which adds jstasiak/python-zeroconf#239\r\n\r\nIt seems that the problem is that `Zeroconf.get_service_info` doesn't return anything useful in 0.26.0+, from the logs it seems that Zeroconf keeps sending queries but does not get or does not accept answers.\r\n\r\nDebug logs here:\r\nhttps://github.com/home-assistant/core/issues/35922#issuecomment-633261933\r\n\r\nFor context, this is the code in pychromecast which calls `Zeroconf.get_service_info`, look for the `add_service` and `service` prints in the logs:\r\n```py\r\n    def add_service(self, zconf, typ, name):\r\n        \"\"\" Add a service to the collection. \"\"\"\r\n        service = None\r\n        tries = 0\r\n        _LOGGER.debug(\"add_service %s, %s\", typ, name)\r\n        while service is None and tries \u003c 4:\r\n            try:\r\n                service = zconf.get_service_info(typ, name)\r\n            except IOError:\r\n                # If the zeroconf fails to receive the necessary data we abort\r\n                # adding the service\r\n                break\r\n            tries += 1\r\n\r\n        if not service:\r\n            _LOGGER.debug(\"add_service failed to add %s, %s\", typ, name)\r\n            return\r\n```\r\n\r\n@mattsaxon, any idea?","author":{"url":"https://github.com/emontnemery","@type":"Person","name":"emontnemery"},"datePublished":"2020-05-24T19:46:21Z","url":"https://github.com/python-zeroconf/python-zeroconf/issues/255"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3238a98d-4e49-a39d-6a47-c536c117f4dd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id917E:2A02D3:43FEEC:5E0C3B:6B00909C
html-safe-nonce564514de97377b0de12f67537b980e6dd2be4f5b5ef209687df6dc9245c94525
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTdFOjJBMDJEMzo0M0ZFRUM6NUUwQzNCOjZCMDA5MDlDIiwidmlzaXRvcl9pZCI6IjU0NzQ0ODk0NDE4MzE2NTM1MzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacec42eb2131d967d4e17f673ff6fbe1ac4d4f11f40d964ccdcc80480ab9180242
hovercard-subject-tagissue:623932307
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/255/issue_layout
twitter:imagehttps://opengraph.githubassets.com/53900ce50435ea6197dab5e8551ceead4eed0995edb0ace18686d47560c0ab73/python-zeroconf/python-zeroconf/issues/255
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/53900ce50435ea6197dab5e8551ceead4eed0995edb0ace18686d47560c0ab73/python-zeroconf/python-zeroconf/issues/255
og:image:altSeveral Home Assistant users have reported that cast devices can't be discovered correctly after a recent upgrade which bumps zeroconf from 0.25.1 to 0.26.1: home-assistant/core#35922 According to ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameemontnemery
hostnamegithub.com
expected-hostnamegithub.com
Nonec710a5cb5c47be60abfe6e8410436d409906979dbed614ef09f29c60f5535b08
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
releasebe616a2a6ec1c609d6e002896dff5352d5c5f28b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python-zeroconf/python-zeroconf/issues/255#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-zeroconf%2Fpython-zeroconf%2Fissues%2F255
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-zeroconf%2Fpython-zeroconf%2Fissues%2F255
Sign uphttps://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/255
Reloadhttps://github.com/python-zeroconf/python-zeroconf/issues/255
Reloadhttps://github.com/python-zeroconf/python-zeroconf/issues/255
python-zeroconfhttps://github.com/python-zeroconf
python-zeroconfhttps://github.com/python-zeroconf/python-zeroconf
Codehttps://github.com/python-zeroconf/python-zeroconf
Issues50 (50)https://github.com/python-zeroconf/python-zeroconf/issues
Pull requests16 (16)https://github.com/python-zeroconf/python-zeroconf/pulls
Discussionshttps://github.com/python-zeroconf/python-zeroconf/discussions
Actionshttps://github.com/python-zeroconf/python-zeroconf/actions
Projectshttps://github.com/python-zeroconf/python-zeroconf/projects
Wikihttps://github.com/python-zeroconf/python-zeroconf/wiki
Security and quality5 (5)https://github.com/python-zeroconf/python-zeroconf/security
Insightshttps://github.com/python-zeroconf/python-zeroconf/insights
https://github.com/python-zeroconf/python-zeroconf
New issuehttps://github.com/login?return_to=https://github.com/python-zeroconf/python-zeroconf/issues/255
New issuehttps://github.com/login?return_to=https://github.com/python-zeroconf/python-zeroconf/issues/255
#258https://github.com/python-zeroconf/python-zeroconf/pull/258
Zeroconf.get_service_info seems broken in 0.26.0https://github.com/python-zeroconf/python-zeroconf/issues/255#top
#258https://github.com/python-zeroconf/python-zeroconf/pull/258
https://github.com/emontnemery
emontnemeryhttps://github.com/emontnemery
on May 24, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issue-623932307
home-assistant/core#35922https://github.com/home-assistant/core/issues/35922
#239https://github.com/python-zeroconf/python-zeroconf/pull/239
home-assistant/core#35922 (comment)https://github.com/home-assistant/core/issues/35922#issuecomment-633261933
@mattsaxonhttps://github.com/mattsaxon
Nexthttps://github.com/python-zeroconf/python-zeroconf/issues/255?timeline_page=1
https://github.com/gjbadros
gjbadroshttps://github.com/gjbadros
on May 24, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633315263
https://github.com/hmmbob
hmmbobhttps://github.com/hmmbob
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633400075
https://github.com/jstasiak
jstasiakhttps://github.com/jstasiak
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633441878
@emontnemeryhttps://github.com/emontnemery
https://github.com/jstasiak
jstasiakhttps://github.com/jstasiak
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633444535
https://github.com/mattsaxon
mattsaxonhttps://github.com/mattsaxon
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633496212
https://github.com/hmmbob
hmmbobhttps://github.com/hmmbob
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633498522
home-assistant/core#35922 (comment)https://github.com/home-assistant/core/issues/35922#issuecomment-633261933
https://github.com/mattsaxon
mattsaxonhttps://github.com/mattsaxon
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633506886
https://github.com/hmmbob
hmmbobhttps://github.com/hmmbob
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633510847
https://github.com/mattsaxon
mattsaxonhttps://github.com/mattsaxon
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633526746
https://github.com/hmmbob
hmmbobhttps://github.com/hmmbob
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633529487
https://github.com/mattsaxon
mattsaxonhttps://github.com/mattsaxon
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633543541
https://github.com/emontnemery
emontnemeryhttps://github.com/emontnemery
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633548957
@mattsaxonhttps://github.com/mattsaxon
#239https://github.com/python-zeroconf/python-zeroconf/pull/239
https://github.com/mattsaxon
mattsaxonhttps://github.com/mattsaxon
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633555503
https://github.com/emontnemery
emontnemeryhttps://github.com/emontnemery
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633574024
@hmmbobhttps://github.com/hmmbob
#254https://github.com/python-zeroconf/python-zeroconf/pull/254
https://github.com/emontnemery
emontnemeryhttps://github.com/emontnemery
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633580049
@hmmbobhttps://github.com/hmmbob
https://github.com/hmmbob
hmmbobhttps://github.com/hmmbob
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633657101
110-25.1-patched.loghttps://www.hmmbob.nl/110-25.1-patched.log
https://github.com/emontnemery
emontnemeryhttps://github.com/emontnemery
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633672797
https://github.com/emontnemery
emontnemeryhttps://github.com/emontnemery
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633691550
#239https://github.com/python-zeroconf/python-zeroconf/pull/239
https://github.com/jstasiak/python-zeroconf/blob/552a030eb592a0c07feaa7a01ece1464da4b1d0b/zeroconf/__init__.py#L2209https://github.com/jstasiak/python-zeroconf/blob/552a030eb592a0c07feaa7a01ece1464da4b1d0b/zeroconf/__init__.py#L2209
https://github.com/jstasiak/python-zeroconf/blob/552a030eb592a0c07feaa7a01ece1464da4b1d0b/zeroconf/__init__.py#L2484-L2489https://github.com/jstasiak/python-zeroconf/blob/552a030eb592a0c07feaa7a01ece1464da4b1d0b/zeroconf/__init__.py#L2484-L2489
https://github.com/jstasiak/python-zeroconf/blob/552a030eb592a0c07feaa7a01ece1464da4b1d0b/zeroconf/__init__.py#L1541-L1546https://github.com/jstasiak/python-zeroconf/blob/552a030eb592a0c07feaa7a01ece1464da4b1d0b/zeroconf/__init__.py#L1541-L1546
https://github.com/mattsaxon
mattsaxonhttps://github.com/mattsaxon
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633692661
https://github.com/emontnemery
emontnemeryhttps://github.com/emontnemery
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633698123
https://github.com/jstasiak
jstasiakhttps://github.com/jstasiak
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633702827
https://github.com/emontnemery
emontnemeryhttps://github.com/emontnemery
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633703525
https://github.com/emontnemery
emontnemeryhttps://github.com/emontnemery
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633705846
@jstasiakhttps://github.com/jstasiak
@hmmbobhttps://github.com/hmmbob
Chromecast and Home-mini not detected after HA restart home-assistant/core#35922 (comment)https://github.com/home-assistant/core/issues/35922#issuecomment-632908646
Improve readability of logged incoming data #254https://github.com/python-zeroconf/python-zeroconf/pull/254
https://github.com/hmmbob
hmmbobhttps://github.com/hmmbob
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633706096
@emontnemeryhttps://github.com/emontnemery
@jstasiakhttps://github.com/jstasiak
110-26.1-patched-2.loghttps://www.hmmbob.nl/110-26.1-patched-2.log
https://github.com/jstasiak
jstasiakhttps://github.com/jstasiak
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633715277
@emontnemeryhttps://github.com/emontnemery
@hmmbobhttps://github.com/hmmbob
https://github.com/hmmbob
hmmbobhttps://github.com/hmmbob
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633717819
https://github.com/jstasiak
jstasiakhttps://github.com/jstasiak
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633719658
https://github.com/emontnemery
emontnemeryhttps://github.com/emontnemery
on May 25, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#issuecomment-633722783
home-assistant/core#35922https://github.com/home-assistant/core/issues/35922
@hmmbobhttps://github.com/hmmbob
@hmmbobhttps://github.com/hmmbob
jstasiakhttps://github.com/jstasiak
completedhttps://github.com/python-zeroconf/python-zeroconf/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#258https://github.com/python-zeroconf/python-zeroconf/pull/258
on May 26, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#event-3375364546
jstasiakhttps://github.com/jstasiak
on May 26, 2020https://github.com/python-zeroconf/python-zeroconf/issues/255#event-3375364615
Don't call callbacks when holding _handlers_lock (#258)https://github.com/python-zeroconf/python-zeroconf/commit/fe865667e4610d57067a8f710f4d818eaa5e14dc
#258https://github.com/python-zeroconf/python-zeroconf/pull/258
https://docs.github.com/articles/closing-issues-via-commit-messages
fe86566https://github.com/python-zeroconf/python-zeroconf/commit/fe865667e4610d57067a8f710f4d818eaa5e14dc
Sign up for freehttps://github.com/signup?return_to=https://github.com/python-zeroconf/python-zeroconf/issues/255
Sign in to commenthttps://github.com/login?return_to=https://github.com/python-zeroconf/python-zeroconf/issues/255
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.