René's URL Explorer Experiment


Title: ProtocolError on receive_data after connection is closed · Issue #1199 · python-hyper/h2 · GitHub

Open Graph Title: ProtocolError on receive_data after connection is closed · Issue #1199 · python-hyper/h2

X Title: ProtocolError on receive_data after connection is closed · Issue #1199 · python-hyper/h2

Description: I am randomly getting this error on h2 3.1.1 (about once a week on a busy H2 client): Traceback (most recent call last): File "site-packages/h2/connection.py", line 224, in process_input func, target_state = self._transitions[(self.state...

Open Graph Description: I am randomly getting this error on h2 3.1.1 (about once a week on a busy H2 client): Traceback (most recent call last): File "site-packages/h2/connection.py", line 224, in process_input func, targ...

X Description: I am randomly getting this error on h2 3.1.1 (about once a week on a busy H2 client): Traceback (most recent call last): File "site-packages/h2/connection.py", line 224, in process_input ...

Opengraph URL: https://github.com/python-hyper/h2/issues/1199

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ProtocolError on receive_data after connection is closed","articleBody":"I am randomly getting this error on h2 3.1.1 (about once a week on a busy H2 client):\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"site-packages/h2/connection.py\", line 224, in process_input\r\n    func, target_state = self._transitions[(self.state, input_)]\r\nKeyError: (\u003cConnectionState.CLOSED: 3>, \u003cConnectionInputs.RECV_PING: 14>)\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"nameclient.py\", line 84, in recv_task\r\n    for event in self.conn.receive_data(data):\r\n  File \"site-packages/h2/connection.py\", line 1463, in receive_data\r\n    events.extend(self._receive_frame(frame))\r\n  File \"site-packages/h2/connection.py\", line 1486, in _receive_frame\r\n    frames, events = self._frame_dispatch_table[frame.__class__](frame)\r\n  File \"site-packages/h2/connection.py\", line 1725, in _receive_ping_frame\r\n    ConnectionInputs.RECV_PING\r\n  File \"site-packages/h2/connection.py\", line 229, in process_input\r\n    \"Invalid input %s in state %s\" % (input_, old_state)\r\nh2.exceptions.ProtocolError: Invalid input ConnectionInputs.RECV_PING in state ConnectionState.CLOSED\r\n```\r\n\r\nUnfortunately the code is somewhat complicated but I believe the connection closing logic to be correct. I never call close_connection and I quit receiving once ConnectionTerminated appears.\r\n\r\nPossibly H2 is internally closing the connection due to ping timeout or other issue, and then throws me an error when the peer still sends something. Quite likely this actually happens when my laptop is in sleep, and H2 going ping-timeout meanwhile, with some data still in receive buffers. I would expect a ConnectionTerminated event in that case, after any remaining events are relayed, not an exception.\r\n","author":{"url":"https://github.com/Tronic","@type":"Person","name":"Tronic"},"datePublished":"2019-09-03T04:51:13Z","url":"https://github.com/python-hyper/h2/issues/1199"}

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:f625590d-47de-8d27-aba2-016258982ea0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE56C:22ACDC:EA294A:13F1DAB:6B06EFA9
html-safe-nonce9ec75771241462d8158c0df3f5d7750873b00459574ad7a5baf0fb072a72b445
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTZDOjIyQUNEQzpFQTI5NEE6MTNGMURBQjo2QjA2RUZBOSIsInZpc2l0b3JfaWQiOiIxNTU0MTc2MjE0NjkxMTQ3Njg5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaced94ec69f20200a6643347f7e7a9bacf145db89009920dc03a21e7a4d95c6e38
hovercard-subject-tagissue:488390501
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-hyper/h2/1199/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1f04f19e2af8a2e21eceb7624269bf952cd01e55a9fbe479ff7026dee6fa7197/python-hyper/h2/issues/1199
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1f04f19e2af8a2e21eceb7624269bf952cd01e55a9fbe479ff7026dee6fa7197/python-hyper/h2/issues/1199
og:image:altI am randomly getting this error on h2 3.1.1 (about once a week on a busy H2 client): Traceback (most recent call last): File "site-packages/h2/connection.py", line 224, in process_input func, targ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameTronic
hostnamegithub.com
expected-hostnamegithub.com
None351ea5ca38a5758919d44ee52c70fe9003c0c2dfa20f04effd7fac0c5330c16b
turbo-cache-controlno-preview
go-importgithub.com/python-hyper/h2 git https://github.com/python-hyper/h2.git
octolytics-dimension-user_id13035907
octolytics-dimension-user_loginpython-hyper
octolytics-dimension-repository_id37996233
octolytics-dimension-repository_nwopython-hyper/h2
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id37996233
octolytics-dimension-repository_network_root_nwopython-hyper/h2
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
release891bde3f438884e9c6c7ccd826f33805910a978b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python-hyper/h2/issues/1199#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-hyper%2Fh2%2Fissues%2F1199
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-hyper%2Fh2%2Fissues%2F1199
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-hyper%2Fh2
Reloadhttps://github.com/python-hyper/h2/issues/1199
Reloadhttps://github.com/python-hyper/h2/issues/1199
Reloadhttps://github.com/python-hyper/h2/issues/1199
python-hyperhttps://github.com/python-hyper
h2https://github.com/python-hyper/h2
Codehttps://github.com/python-hyper/h2
Issues21 (21)https://github.com/python-hyper/h2/issues
Pull requests23 (23)https://github.com/python-hyper/h2/pulls
Actionshttps://github.com/python-hyper/h2/actions
Projectshttps://github.com/python-hyper/h2/projects
Wikihttps://github.com/python-hyper/h2/wiki
Security and quality2 (2)https://github.com/python-hyper/h2/security
Insightshttps://github.com/python-hyper/h2/insights
https://github.com/python-hyper/h2
New issuehttps://github.com/login?return_to=https://github.com/python-hyper/h2/issues/1199
New issuehttps://github.com/login?return_to=https://github.com/python-hyper/h2/issues/1199
#1346https://github.com/python-hyper/h2/pull/1346
#1324https://github.com/python-hyper/h2/pull/1324
ProtocolError on receive_data after connection is closedhttps://github.com/python-hyper/h2/issues/1199#top
#1346https://github.com/python-hyper/h2/pull/1346
#1324https://github.com/python-hyper/h2/pull/1324
https://github.com/Tronic
Tronichttps://github.com/Tronic
on Sep 3, 2019https://github.com/python-hyper/h2/issues/1199#issue-488390501
https://github.com/ardzoht
ardzohthttps://github.com/ardzoht
on Dec 10, 2019https://github.com/python-hyper/h2/issues/1199#issuecomment-564234206
https://github.com/zanieb
zaniebhttps://github.com/zanieb
on Nov 6, 2022https://github.com/python-hyper/h2/issues/1199#issuecomment-1304867469
PrefectHQ/prefect#7442https://github.com/PrefectHQ/prefect/issues/7442
https://github.com/stephenc-pace
stephenc-pacehttps://github.com/stephenc-pace
on Nov 18, 2022https://github.com/python-hyper/h2/issues/1199#issuecomment-1319948141
#1181https://github.com/python-hyper/h2/issues/1181
Jacob-Methttps://github.com/Jacob-Met
on Nov 16, 2026https://github.com/python-hyper/h2/issues/1199#event-36305593224
Drain open streams after a graceful GOAWAYhttps://github.com/Jacob-Met/h2/commit/76ea21d4bf3757d0fd9095512de3371eaceb6ecd
https://docs.github.com/articles/closing-issues-via-commit-messages
76ea21dhttps://github.com/Jacob-Met/h2/commit/76ea21d4bf3757d0fd9095512de3371eaceb6ecd
benpboltonhttps://github.com/benpbolton
on Nov 24, 2026https://github.com/python-hyper/h2/issues/1199#event-37155203378
Drain open streams after a graceful GOAWAYhttps://github.com/benpbolton/h2/commit/c25db2bfe66412fc40fb34cd984fd4665f86baf5
https://docs.github.com/articles/closing-issues-via-commit-messages
c25db2bhttps://github.com/benpbolton/h2/commit/c25db2bfe66412fc40fb34cd984fd4665f86baf5
Sign up for freehttps://github.com/signup?return_to=https://github.com/python-hyper/h2/issues/1199
Sign in to commenthttps://github.com/login?return_to=https://github.com/python-hyper/h2/issues/1199
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.