René's URL Explorer Experiment


Title: Webview asset requests escape to vscode-cdn.net (real DNS) instead of being service-worker-intercepted; renderer-internal retry flood crashes the render process, freezing all same-site tabs · Issue #7892 · coder/code-server · GitHub

Open Graph Title: Webview asset requests escape to vscode-cdn.net (real DNS) instead of being service-worker-intercepted; renderer-internal retry flood crashes the render process, freezing all same-site tabs · Issue #7892 · coder/code-server

X Title: Webview asset requests escape to vscode-cdn.net (real DNS) instead of being service-worker-intercepted; renderer-internal retry flood crashes the render process, freezing all same-site tabs · Issue #7892 · coder/code-server

Description: Is there an existing issue for this? I have searched the existing issues (closest related: #3410 — webview resources stuck pending in some browser/OS combos; overlapping symptom but no renderer-crash chain) OS/Web Information Web Browser...

Open Graph Description: Is there an existing issue for this? I have searched the existing issues (closest related: #3410 — webview resources stuck pending in some browser/OS combos; overlapping symptom but no renderer-cra...

X Description: Is there an existing issue for this? I have searched the existing issues (closest related: #3410 — webview resources stuck pending in some browser/OS combos; overlapping symptom but no renderer-cra...

Opengraph URL: https://github.com/coder/code-server/issues/7892

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Webview asset requests escape to vscode-cdn.net (real DNS) instead of being service-worker-intercepted; renderer-internal retry flood crashes the render process, freezing all same-site tabs","articleBody":"## Is there an existing issue for this?\n\n- [x] I have searched the existing issues (closest related: #3410 — webview resources stuck pending in some browser/OS combos; overlapping symptom but no renderer-crash chain)\n\n## OS/Web Information\n\n- Web Browser: Brave 150.1.92.139 (official build, Chromium 150, Wayland)\n- Local OS: Pop!_OS Linux (kernel 7.0.11-76070011-generic, x86_64)\n- Remote OS: Linux (Podman container, behind Caddy reverse proxy, HTTPS/wss)\n- Remote Architecture: amd64\n- `code-server --version`: 1.127.0 1e6ed874e3138141a5636f6e0dbe8570aa6cd001\n\n## Summary\n\nIntermittently — apparently a race — webview resource requests are **not intercepted by the webview service worker** and instead go to the virtual hostname `vscode-cdn.net` (`main.vscode-cdn.net` at the network layer, `vscode-resource.vscode-cdn.net` in console captures) via **real DNS**, failing with `net::ERR_NAME_NOT_RESOLVED`. The failed requests retry in a tight loop inside the renderer, the shared render process's pending-request pool exhausts (`FetchEvent ... resulted in a network error response: insufficient resources` for *all* fetches), and the render process eventually **crashes** (\"Render process gone\" in DevTools). Because all same-site code-server tabs share that render process, every open tab freezes simultaneously.\n\nThe trigger extension in our setup is OpenAI Codex (`openai.chatgpt`, 26.5707.31428 and 26.5707.41301) — the heaviest webview here, auto-opening its panel in every window — but the interception failure appears to be host-side. We are filing a companion report against the extension for its unbounded retry behavior.\n\n## Steps to Reproduce\n\n1. Codex extension enabled; its panel webview auto-opens per window.\n2. Open ~6 concurrent tabs to the same code-server host in one Chromium profile (same-site → shared render process).\n3. On the 6th tab: renderer dies; all tabs freeze. DevTools on any of them reports \"Debugging connection was closed. Reason: Render process gone.\"\n\nAlso reproduces spontaneously with fewer long-lived tabs after hours (race-dependent), and enabling the extension in a live window has frozen all tabs instantly. With the extension disabled, the same workload is stable indefinitely (A/B verified both directions).\n\n## Expected\n\nWebview asset requests are always served by the webview service worker / same-origin route; a webview-heavy extension cannot take down the shared render process for every tab.\n\n## Actual\n\nWebview asset requests intermittently escape to `vscode-cdn.net` via real DNS and fail; the renderer-internal retry flood exhausts the process and crashes it, freezing all same-site tabs at once.\n\n## Evidence\n\n- **Browser-process netlog (`chrome://net-export`) spanning a deterministic crash** (survives renderer death): real DNS lookups for `main.vscode-cdn.net` — a virtual hostname that should never reach DNS — failing `ERR_NAME_NOT_RESOLVED` at the crash moment and recurring from the zombie tab afterward; 6 webview `pre/index.html` spinups in ~30 s preceding the crash. Notably the netlog shows **no network-service-level flood and zero `ERR_INSUFFICIENT_RESOURCES`** — the exhaustion is renderer-internal (fetch/SW layer). Server logs during the same window are clean (connections establish, extension hosts launch) — the freeze is entirely client-side. Can share the netlog on request (will scrub cookies/headers).\n- Frozen-tab console capture: storm of `FetchEvent for \u003curl> resulted in a network error response: insufficient resources` (Chromium per-process pending-request cap; cf. GoogleChrome/workbox#2528).\n- Earlier capture during degradation: webview assets failing to `vscode-resource.vscode-cdn.net` with `ERR_NAME_NOT_RESOLVED`, and a `loadResource` listener count growing 175→615+.\n- Healthy-baseline HAR for contrast: **zero** requests to vscode-cdn.net — webview SW intercepting normally (webview `pre/index.html` 200, assets served same-origin).\n- DevTools screenshot of \"Render process gone\" at the moment of freeze.\n- Operational note: restarting code-server to \"fix\" frozen tabs makes it worse — stranded tabs flood `Unknown reconnection token (never seen)` and the reconnect storm re-triggers the exhaustion. Recovery that works: close other same-site tabs first, then reload one.\n\n## Does this bug reproduce in native VS Code?\n\nNot applicable — the failure path (browser webview service worker + shared same-site render process) only exists in web deployments; desktop VS Code doesn't use it.\n\n## Questions for maintainers\n\n- Is there a known race where the webview SW loses registration/claim (or is evicted in long-lived tabs), letting resource requests fall through to the vscode-cdn.net default?\n- Any recommended mitigation (SW re-registration, request retry cap) we can apply server-side?\n","author":{"url":"https://github.com/oohhddaanngg","@type":"Person","name":"oohhddaanngg"},"datePublished":"2026-07-11T20:07:45Z","url":"https://github.com/coder/code-server/issues/7892"}

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:d697338e-b6ed-5dba-ce47-c4aade8a915d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9028:25A901:5E2D44:7F82DF:6B044024
html-safe-nonce06a6e38f3be1fead0b40aff57b1dbe25dfaef07533efa891ad2341eb89c3e5d7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDI4OjI1QTkwMTo1RTJENDQ6N0Y4MkRGOjZCMDQ0MDI0IiwidmlzaXRvcl9pZCI6Ijc4MjMxMDExNzI3Mzg0NDEyNTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfdd9b7dc8f2b442f59295a4222e4b4d658636c77fb3994b2227438242f7ea2cd
hovercard-subject-tagissue:4863979789
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/coder/code-server/7892/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2e28ad8da6fc7ce34ce31a6db6f5a70aea22e4b7c219285bdf7b58c94f1db3a3/coder/code-server/issues/7892
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2e28ad8da6fc7ce34ce31a6db6f5a70aea22e4b7c219285bdf7b58c94f1db3a3/coder/code-server/issues/7892
og:image:altIs there an existing issue for this? I have searched the existing issues (closest related: #3410 — webview resources stuck pending in some browser/OS combos; overlapping symptom but no renderer-cra...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameoohhddaanngg
hostnamegithub.com
expected-hostnamegithub.com
None9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64
turbo-cache-controlno-preview
go-importgithub.com/coder/code-server git https://github.com/coder/code-server.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id172953845
octolytics-dimension-repository_nwocoder/code-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id172953845
octolytics-dimension-repository_network_root_nwocoder/code-server
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
release06dc448a76fe4751ac1db26524aefa3aa3e889a8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/coder/code-server/issues/7892#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fissues%2F7892
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%2Fcoder%2Fcode-server%2Fissues%2F7892
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=coder%2Fcode-server
Reloadhttps://github.com/coder/code-server/issues/7892
Reloadhttps://github.com/coder/code-server/issues/7892
Reloadhttps://github.com/coder/code-server/issues/7892
coderhttps://github.com/coder
code-serverhttps://github.com/coder/code-server
Codehttps://github.com/coder/code-server
Issues147 (147)https://github.com/coder/code-server/issues
Pull requests15 (15)https://github.com/coder/code-server/pulls
Discussionshttps://github.com/coder/code-server/discussions
Actionshttps://github.com/coder/code-server/actions
Projectshttps://github.com/coder/code-server/projects
Security and quality3 (3)https://github.com/coder/code-server/security
Insightshttps://github.com/coder/code-server/insights
https://github.com/coder/code-server
New issuehttps://github.com/login?return_to=https://github.com/coder/code-server/issues/7892
New issuehttps://github.com/login?return_to=https://github.com/coder/code-server/issues/7892
Webview asset requests escape to vscode-cdn.net (real DNS) instead of being service-worker-intercepted; renderer-internal retry flood crashes the render process, freezing all same-site tabshttps://github.com/coder/code-server/issues/7892#top
bugSomething isn't workinghttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22bug%22
code-serverhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22code-server%22
triageThis issue needs to be triaged by a maintainerhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22triage%22
upstream:vscodeNeeds to be fixed upstream in VSCodehttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22upstream%3Avscode%22
https://github.com/oohhddaanngg
oohhddaanngghttps://github.com/oohhddaanngg
on Jul 11, 2026https://github.com/coder/code-server/issues/7892#issue-4863979789
Dynamically webview resources fail to load in some browser/OS combinations #3410https://github.com/coder/code-server/issues/3410
1e6ed87https://github.com/coder/code-server/commit/1e6ed874e3138141a5636f6e0dbe8570aa6cd001
Batching of precache requests to prevent net::ERR_INSUFFICIENT_RESOURCES in Chrome GoogleChrome/workbox#2528https://github.com/GoogleChrome/workbox/issues/2528
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
on Jul 11, 2026https://github.com/coder/code-server/issues/7892#issuecomment-4948588723
Linear Codehttps://linear.app
DEVEX-626https://linear.app/codercom/issue/DEVEX-626
coder-labelerhttps://github.com/apps/coder-labeler
bugSomething isn't workinghttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22bug%22
needs-investigationThis issue needs to be further investigatedhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22needs-investigation%22
triageThis issue needs to be triaged by a maintainerhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22triage%22
on Jul 11, 2026https://github.com/coder/code-server/issues/7892#event-27860320879
https://github.com/oohhddaanngg
oohhddaanngghttps://github.com/oohhddaanngg
on Jul 11, 2026https://github.com/coder/code-server/issues/7892#issuecomment-4948589240
openai/codex#32475https://github.com/openai/codex/issues/32475
https://github.com/code-asher
code-asherhttps://github.com/code-asher
on Jul 13, 2026https://github.com/coder/code-server/issues/7892#issuecomment-4961722051
#7850https://github.com/coder/code-server/issues/7850
#7890https://github.com/coder/code-server/issues/7890
https://github.com/microsoft/vscodehttps://github.com/microsoft/vscode
https://github.com/oohhddaanngg
oohhddaanngghttps://github.com/oohhddaanngg
on Jul 19, 2026https://github.com/coder/code-server/issues/7892#issuecomment-5017785066
#7850https://github.com/coder/code-server/issues/7850
#7890https://github.com/coder/code-server/issues/7890
microsoft/vscode#326500https://github.com/microsoft/vscode/issues/326500
zenithwolf1000https://github.com/zenithwolf1000
code-serverhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22code-server%22
on Jul 23, 2026https://github.com/coder/code-server/issues/7892#event-28361939535
zenithwolf1000https://github.com/zenithwolf1000
completedhttps://github.com/coder/code-server/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jul 23, 2026https://github.com/coder/code-server/issues/7892#event-28361940169
code-asherhttps://github.com/code-asher
upstream:vscodeNeeds to be fixed upstream in VSCodehttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22upstream%3Avscode%22
needs-investigationThis issue needs to be further investigatedhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22needs-investigation%22
on Jul 29, 2026https://github.com/coder/code-server/issues/7892#event-28684865890
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/code-server/issues/7892
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/code-server/issues/7892
bugSomething isn't workinghttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22bug%22
code-serverhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22code-server%22
triageThis issue needs to be triaged by a maintainerhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22triage%22
upstream:vscodeNeeds to be fixed upstream in VSCodehttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22upstream%3Avscode%22
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.