René's URL Explorer Experiment


Title: hub-ui: background messages initialization produces an unhandled trust timeout after 60 seconds · Issue #440 · devframes/devframe · GitHub

Open Graph Title: hub-ui: background messages initialization produces an unhandled trust timeout after 60 seconds · Issue #440 · devframes/devframe

X Title: hub-ui: background messages initialization produces an unhandled trust timeout after 60 seconds · Issue #440 · devframes/devframe

Description: Description With interactive client authentication enabled, leaving a page open without authorizing DevTools produces an unhandled rejection after approximately 60 seconds: Error: [devframe] Timeout waiting for rpc to be trusted In our N...

Open Graph Description: Description With interactive client authentication enabled, leaving a page open without authorizing DevTools produces an unhandled rejection after approximately 60 seconds: Error: [devframe] Timeou...

X Description: Description With interactive client authentication enabled, leaving a page open without authorizing DevTools produces an unhandled rejection after approximately 60 seconds: Error: [devframe] Timeou...

Opengraph URL: https://github.com/devframes/devframe/issues/440

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"hub-ui: background messages initialization produces an unhandled trust timeout after 60 seconds","articleBody":"## Description\n\nWith interactive client authentication enabled, leaving a page open without authorizing DevTools produces an unhandled rejection after approximately 60 seconds:\n\n```text\nError: [devframe] Timeout waiting for rpc to be trusted\n```\n\nIn our Nuxt integration, this also triggers Nuxt's development error overlay on an otherwise working application page. The user does not need to open or interact with DevTools for this to happen.\n\n## Environment\n\nThe final aligned environment used to verify the workaround was:\n\n- `@devframes/hub-ui`: 1.2.2\n- Nuxt: 4.6.0\n- `@nuxt/devtools`: 4.0.0-beta.4\n- Vite: 8.3.2\n- Node.js: 24.15.0\n- pnpm: 12.9.1\n- macOS; browser page served through a local HTTPS development proxy\n\n## Reproduction\n\nThe following was reproduced in our existing Nuxt application before dependency alignment (Vite 8.3.0 and a mixed Devframe dependency graph). We separately inspected the pristine published `@devframes/hub-ui@1.2.2` bundle and current upstream source and confirmed the same uncaught timeout call remains. An unpatched minimal 1.2.2 runtime reproduction has not yet been tested:\n\n1. Start the Nuxt application in development mode with Nuxt DevTools enabled and interactive client authentication retained.\n2. Open a working application route in a fresh browser session with no previously authorized DevTools token.\n3. Do not authorize the DevTools client. Leave the page open for more than 60 seconds.\n4. Observe the error above in the browser and forwarded development logs, and the Nuxt error overlay.\n\n## Expected behavior\n\nAn application page should remain usable while DevTools authorization is pending. Background message initialization should wait for authorization, or handle timeout as an expected unauthenticated state, without an unhandled rejection.\n\n## Source analysis\n\nAt upstream commit `56cc92734d4c8cb2c48f34c95053966969a10f97`, [`packages/hub-ui/src/client/state/messages.ts`, line 88](https://github.com/devframes/devframe/blob/56cc92734d4c8cb2c48f34c95053966969a10f97/packages/hub-ui/src/client/state/messages.ts#L88) initializes the feed with:\n\n```ts\ncontext.rpc.ensureTrusted().then(() => refresh())\n```\n\nThe [`refresh()` rejection handler at lines 75–77](https://github.com/devframes/devframe/blob/56cc92734d4c8cb2c48f34c95053966969a10f97/packages/hub-ui/src/client/state/messages.ts#L75-L77) handles message-fetch failures, but does not handle rejection of the preceding `ensureTrusted()` promise.\n\n[`ensureTrusted()` in `rpc-live.ts`, lines 257–278](https://github.com/devframes/devframe/blob/56cc92734d4c8cb2c48f34c95053966969a10f97/packages/devframe/src/client/rpc-live.ts#L257-L278) defaults to `60_000` ms and rejects with the reported error if trust has not been granted. A timeout of zero or less returns the pending trust promise without a deadline.\n\n## Verified downstream workaround / possible fix\n\nOur temporary dependency patch changes the background initialization to:\n\n```ts\ncontext.rpc.ensureTrusted(0).then(() => refresh())\n```\n\nWith this change, our page remained open for 90 seconds without the timeout error or overlay. Authentication remains enabled: `refresh()` still runs only after the trust promise resolves.\n\nAn indefinite background wait appears appropriate here. Alternatively, a handled timeout with subsequent retry on successful authorization could work. Any timeout-handling alternative should still initialize the feed when the user authorizes later than 60 seconds.\n\nA regression test could leave the messages context untrusted beyond the default deadline, assert no unhandled rejection, then authorize and assert that the initial messages fetch runs.\n\n## Related work\n\n[#386](https://github.com/devframes/devframe/pull/386) fixes trust-deadline and authentication-channel cleanup, and intentionally preserves timeout and unlimited-wait behavior. This report concerns the uncaught timeout in the hub UI's background caller, which remains present in the source linked above.","author":{"url":"https://github.com/MiguelFranken","@type":"Person","name":"MiguelFranken"},"datePublished":"2026-10-06T11:45:21Z","url":"https://github.com/devframes/devframe/issues/440"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:02c6120f-d226-8f79-89b0-dd8129f8325d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDE58:2FBB44:71EDA8:9FBDB4:6AFB67AB
html-safe-nonce4bebbabff8e2f4990c868d2c71f8bb2e3ae96a47064d05b03ef8fed59d712ab6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTU4OjJGQkI0NDo3MUVEQTg6OUZCREI0OjZBRkI2N0FCIiwidmlzaXRvcl9pZCI6IjM1OTE2OTQ0ODc4NjYwMDk1MTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1fe692efa1896be1f8a769482bd4f4e0ab59c40ae729bb11af48656fab1a4d6a
hovercard-subject-tagissue:5727802190
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/devframes/devframe/440/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b6b3d9634a100184a29a43d535dd4194dc3fa8b08c0ac992b378950466b17ff1/devframes/devframe/issues/440
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b6b3d9634a100184a29a43d535dd4194dc3fa8b08c0ac992b378950466b17ff1/devframes/devframe/issues/440
og:image:altDescription With interactive client authentication enabled, leaving a page open without authorizing DevTools produces an unhandled rejection after approximately 60 seconds: Error: [devframe] Timeou...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMiguelFranken
hostnamegithub.com
expected-hostnamegithub.com
Noneea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94
turbo-cache-controlno-preview
go-importgithub.com/devframes/devframe git https://github.com/devframes/devframe.git
octolytics-dimension-user_id279879373
octolytics-dimension-user_logindevframes
octolytics-dimension-repository_id1231722386
octolytics-dimension-repository_nwodevframes/devframe
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1231722386
octolytics-dimension-repository_network_root_nwodevframes/devframe
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
release59ef97164c52cf59bd10558ddec9c4f482763988
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/devframes/devframe/issues/440#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdevframes%2Fdevframe%2Fissues%2F440
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%2Fdevframes%2Fdevframe%2Fissues%2F440
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=devframes%2Fdevframe
Reloadhttps://github.com/devframes/devframe/issues/440
Reloadhttps://github.com/devframes/devframe/issues/440
Reloadhttps://github.com/devframes/devframe/issues/440
devframeshttps://github.com/devframes
devframehttps://github.com/devframes/devframe
Codehttps://github.com/devframes/devframe
Issues12 (12)https://github.com/devframes/devframe/issues
Pull requests13 (13)https://github.com/devframes/devframe/pulls
Actionshttps://github.com/devframes/devframe/actions
Security and qualityhttps://github.com/devframes/devframe/security
Insightshttps://github.com/devframes/devframe/pulse
https://github.com/devframes/devframe
New issuehttps://github.com/login?return_to=https://github.com/devframes/devframe/issues/440
New issuehttps://github.com/login?return_to=https://github.com/devframes/devframe/issues/440
hub-ui: background messages initialization produces an unhandled trust timeout after 60 secondshttps://github.com/devframes/devframe/issues/440#top
https://github.com/MiguelFranken
MiguelFrankenhttps://github.com/MiguelFranken
on Oct 6, 2026https://github.com/devframes/devframe/issues/440#issue-5727802190
packages/hub-ui/src/client/state/messages.ts, line 88https://github.com/devframes/devframe/blob/56cc92734d4c8cb2c48f34c95053966969a10f97/packages/hub-ui/src/client/state/messages.ts#L88
refresh() rejection handler at lines 75–77https://github.com/devframes/devframe/blob/56cc92734d4c8cb2c48f34c95053966969a10f97/packages/hub-ui/src/client/state/messages.ts#L75-L77
ensureTrusted() in rpc-live.ts, lines 257–278https://github.com/devframes/devframe/blob/56cc92734d4c8cb2c48f34c95053966969a10f97/packages/devframe/src/client/rpc-live.ts#L257-L278
#386https://github.com/devframes/devframe/pull/386
https://github.com/wrufeger
wrufegerhttps://github.com/wrufeger
on Oct 14, 2026https://github.com/devframes/devframe/issues/440#issuecomment-6170030908
Sign up for freehttps://github.com/signup?return_to=https://github.com/devframes/devframe/issues/440
Sign in to commenthttps://github.com/login?return_to=https://github.com/devframes/devframe/issues/440
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.