GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — hub-ui: background messages initialization produces an unhandled trust timeout after 60 seconds · Issue #440 · devframes/devframe Open DescriptionDescriptionWith interactive client authentication enabled, leaving a page open without authorizing DevTools produces an unhandled rejection after approximately 60 seconds: In 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. EnvironmentThe final aligned environment used to verify the workaround was:
ReproductionThe 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
Expected behaviorAn 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. Source analysisAt upstream commit context.rpc.ensureTrusted().then(() => refresh()) The
Verified downstream workaround / possible fixOur temporary dependency patch changes the background initialization to: context.rpc.ensureTrusted(0).then(() => refresh()) With this change, our page remained open for 90 seconds without the timeout error or overlay. Authentication remains enabled: An 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. A 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. Related work#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. Reacted by Dmitriy Brolnickij Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |