Skip to content
Source
Sign inSign up
TanStack/devtools

Long-lived "console-pipe" request stalling app #342

Closedohthepain(GitHub profile, opens in a new tab) opened this issue 6 comments

TanStack Devtools version

"@tanstack/react-devtools": "^0.9.4"

Framework/Library version

React v18.3.1

Describe the bug and the steps to reproduce it

We hit an intermittent local-dev issue where the browser became “dead”: navigation stopped working and all same-origin API requests showed Pending in DevTools.

First request to get stuck was a long-lived request named console-pipe. After that, most other requests to the same origin were stuck pending

The app works fine when deployed, so it's a dev-only issue.

What fixed it: Disabling TanStack Devtools “server bus” connection stopped console-pipe from being created and immediately fixed the issue.

@tanstack/react-devtools with eventBusConfig: { connectToServerBus: true } @tanstack/devtools-vite and tanstack/react-ai-devtools plugins enabled

I am not able to provide, sorry

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

None

Terms & Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
  1. Will look into it, thank you, so the request got stuck in the network tab of crome devtools i assume?

  2. I was viewing the issue in the chrome devtools. The app was also dead on safari. The symptom was that the entire app was dead. Could not navigate at all. If I killed vite server and restarted I could load a single page.

    On Thu, Feb 5, 2026 at 9:41 PM Alem Tuzlak @.***> wrote:

    AlemTuzlak left a comment (TanStack/devtools#342) <https://github.com/TanStack/devtools/issues/342#issuecomment-3856076608>

    Will look into it, thank you, so the request got stuck in the network tab of crome devtools i assume?

    — Reply to this email directly, view it on GitHub <https://github.com/TanStack/devtools/issues/342#issuecomment-3856076608>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AARBFXPLE6QNFR63MOSWSH34KOTIFAVCNFSM6AAAAACUDHZP4GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTQNJWGA3TMNRQHA> . You are receiving this because you authored the thread.Message ID: @.***>

  3. Can you attach your vite config please

  4. Sure, here you go!

    import { tanstackRouter } from @./router-plugin/vite"; import { devtools } from @./devtools-vite"; import react from @.***/plugin-react"; import { defineConfig } from "vite"; import tsconfigPaths from "vite-tsconfig-paths";

    export default defineConfig({ plugins: [ // NOTE: devtools server-bus can create long-lived "console-pipe" requests. // When those stall locally, it can make the browser show everything as "pending". // Re-enable by setting TANSTACK_DEVTOOLS=true. ...(process.env.TANSTACK_DEVTOOLS === "true" ? [devtools()] : []), tanstackRouter({ target: "react", autoCodeSplitting: true, generatedRouteTree: "./src/routeTree.gen.ts", }), react(), tsconfigPaths(), ], server: { port: 3000, middlewareMode: true, watch: { ignored: ["/routeTree.gen.ts", "/node_modules/"], }, sourcemapIgnoreList: false, }, // Ensure source maps work properly in development // Vite generates source maps automatically in dev mode, but we can configure esbuild esbuild: { sourcemap: true, // Generate source maps for esbuild transformations }, build: { outDir: "dist", emptyOutDir: false, // Don't clear dist, preserve server.js from TypeScript compilation sourcemap: true, // Enable source maps for production builds chunkSizeWarningLimit: 1000, // Increase warning limit to 1MB (default is 500KB) rollupOptions: { output: { manualChunks: { // Split vendor chunks "react-vendor": ["react", "react-dom"], "router-vendor": *@./react-router", @./react-query"], "auth-vendor": ["better-auth", @./passkey"], // Split large libraries "google-vendor": ["googleapis", "google-auth-library"], }, sourcemapExcludeSources: false, // Include source files in source maps }, }, }, // Enable source maps for development debugging css: { devSourcemap: true, }, });

    On Fri, Feb 6, 2026 at 3:10 PM Alem Tuzlak @.***> wrote:

    AlemTuzlak left a comment (TanStack/devtools#342) <https://github.com/TanStack/devtools/issues/342#issuecomment-3860692877>

    Can you attach your vite config please

    — Reply to this email directly, view it on GitHub <https://github.com/TanStack/devtools/issues/342#issuecomment-3860692877>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AARBFXK6GLIIQWMHAZQCG334KSOFTAVCNFSM6AAAAACUDHZP4GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTQNRQGY4TEOBXG4> . You are receiving this because you authored the thread.Message ID: @.***>

  5. I will check it out, thank youOn Feb 7, 2026, at 5:44 PM, Alem Tuzlak @.***> wrote:AlemTuzlak left a comment (TanStack/devtools#342) should work with: #343

    —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

  6. AlemTuzlak closed this

Sign in to join this conversation.