René's URL Explorer Experiment


Title: bug: MCP server - SSE connection from Claude Code CLI drops after ≈ 5 min idle – “Body Timeout Error” · Issue #2134 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: bug: MCP server - SSE connection from Claude Code CLI drops after ≈ 5 min idle – “Body Timeout Error” · Issue #2134 · triggerdotdev/trigger.dev

X Title: bug: MCP server - SSE connection from Claude Code CLI drops after ≈ 5 min idle – “Body Timeout Error” · Issue #2134 · triggerdotdev/trigger.dev

Description: Provide environment information System: OS: Linux 6.1 Debian GNU/Linux 12 (bookworm) 12 (bookworm) CPU: (8) x64 Intel(R) Xeon(R) CPU @ 2.80GHz Memory: 28.92 GB / 31.35 GB Container: Yes Shell: 5.2.15 - /bin/bash Binaries: Node: 22.13.0 -...

Open Graph Description: Provide environment information System: OS: Linux 6.1 Debian GNU/Linux 12 (bookworm) 12 (bookworm) CPU: (8) x64 Intel(R) Xeon(R) CPU @ 2.80GHz Memory: 28.92 GB / 31.35 GB Container: Yes Shell: 5.2....

X Description: Provide environment information System: OS: Linux 6.1 Debian GNU/Linux 12 (bookworm) 12 (bookworm) CPU: (8) x64 Intel(R) Xeon(R) CPU @ 2.80GHz Memory: 28.92 GB / 31.35 GB Container: Yes Shell: 5.2....

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/issues/2134

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: MCP server - SSE connection from Claude Code CLI drops after ≈ 5 min idle – “Body Timeout Error”","articleBody":"### Provide environment information\n\n\n  System:\n    OS: Linux 6.1 Debian GNU/Linux 12 (bookworm) 12 (bookworm)\n    CPU: (8) x64 Intel(R) Xeon(R) CPU @ 2.80GHz\n    Memory: 28.92 GB / 31.35 GB\n    Container: Yes\n    Shell: 5.2.15 - /bin/bash\n  Binaries:\n    Node: 22.13.0 - ~/miniforge3/bin/node\n    Yarn: 1.22.22 - /usr/bin/yarn\n    npm: 10.9.2 - ~/miniforge3/bin/npm\n\n### Describe the bug\n\nWhen Claude Code CLI connects to a local Trigger.dev MCP server, the Server-Sent Events (SSE) stream is closed after ~5 minutes of inactivity.\nOnce closed, every MCP call fails until the Claude CLI process is restarted (Trigger.dev server itself does not need a restart).\n\n```\nMCP server \"triggerdev\" Error: SSE error: TypeError: terminated: Body Timeout Error\n```\n\n**Expected**\nThe SSE control channel should stay open indefinitely so the CLI can send tasks even after long idle periods.\n\n**Likely cause**\nMost HTTP servers/proxies close an SSE response that stays silent for several minutes. Because the Trigger.dev MCP endpoint sends no keep-alive heartbeat while idle, the connection hits this idle “body timeout” and terminates.\n\n### Reproduction repo\n\nNone\n\n### To reproduce\n\nStart Trigger.dev MCP server locally\n\ntrigger dev --mcp   # or equivalent command\n\nIn another terminal, run\n\nclaude --mcp-debug\n\nExecute any MCP command → it succeeds.\n\nLeave the session idle for ~5 minutes.\n\nRun another MCP command.\nActual: CLI logs the error above and the command fails.\nWork-around: Restarting claude --mcp-debug restores functionality.\n\n### Additional information\n\n\u003chtml>\n\u003cbody>\n\u003c!--StartFragment-->\u003cp data-start=\"2391\" data-end=\"2519\">\u003cem data-start=\"2391\" data-end=\"2406\">Proposed fix:\u003c/em> Send a periodic SSE heartbeat/keep-alive (e.g. \u003ccode data-start=\"2454\" data-end=\"2471\">: keepalive\\n\\n\u003c/code>) every ≤ 30 s so the stream never appears idle.\u003c/p>\n\u003cp data-start=\"2521\" data-end=\"2551\">\u003cstrong data-start=\"2521\" data-end=\"2551\">Related discussions & bugs\u003c/strong>\u003c/p>\n\u003cdiv class=\"_tableContainer_16hzy_1\">\u003cdiv tabindex=\"-1\" class=\"_tableWrapper_16hzy_14 group flex w-fit flex-col-reverse\">\nSource | Note\n-- | --\nanthropics/claude-code #424 | Long MCP tasks hit timeout; mentions same Body Timeout and need for heartbeats\nmodelcontextprotocol/typescript-sdk #270 | SSE closed after 300 s idle; fixed by adding keep-alive ping\nCursor Community thread (Apr 2025) | Users report identical error; resolved by sending : keepalive comments\nFigma MCP Server issue #41 | Maintainers confirm adding SSE ping prevents Body Timeout disconnects\n\n\u003c/div>\u003c/div>\u003c!--EndFragment-->\n\u003c/body>\n\u003c/html>","author":{"url":"https://github.com/mulyoved","@type":"Person","name":"mulyoved"},"datePublished":"2025-06-01T10:42:14Z","url":"https://github.com/triggerdotdev/trigger.dev/issues/2134"}

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:e7b4cd24-1149-5cd6-7528-fd03417a7b87
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8150:37ACD:48B334:6B5A95:6AFAE89A
html-safe-nonce7dd4527d5152ff6fb9c75f708f6eb38d373ccffdecf2c391ed747d1b506805d7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTUwOjM3QUNEOjQ4QjMzNDo2QjVBOTU6NkFGQUU4OUEiLCJ2aXNpdG9yX2lkIjoiNjYwMDA3Mjc1ODA0NDU4NDA5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac07a0906a67d04064b6bf6c1c9fa6cbf669cf7f5b2dee69310f06aa1f38cfbb98
hovercard-subject-tagissue:3107045954
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/triggerdotdev/trigger.dev/2134/issue_layout
twitter:imagehttps://opengraph.githubassets.com/41431bf74b4ef0b5604a674861b520c32c1b6ccd883b8737f2eba4e6dbb09907/triggerdotdev/trigger.dev/issues/2134
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/41431bf74b4ef0b5604a674861b520c32c1b6ccd883b8737f2eba4e6dbb09907/triggerdotdev/trigger.dev/issues/2134
og:image:altProvide environment information System: OS: Linux 6.1 Debian GNU/Linux 12 (bookworm) 12 (bookworm) CPU: (8) x64 Intel(R) Xeon(R) CPU @ 2.80GHz Memory: 28.92 GB / 31.35 GB Container: Yes Shell: 5.2....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemulyoved
hostnamegithub.com
expected-hostnamegithub.com
None0178036d8230524a18422872393ab7e708443ae4c2047f758560a2db870c1913
turbo-cache-controlno-preview
go-importgithub.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git
octolytics-dimension-user_id95297378
octolytics-dimension-user_logintriggerdotdev
octolytics-dimension-repository_id572570113
octolytics-dimension-repository_nwotriggerdotdev/trigger.dev
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id572570113
octolytics-dimension-repository_network_root_nwotriggerdotdev/trigger.dev
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
release12fff95459b24b0f882a66698ee6a36a5934d247
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/issues/2134#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2F2134
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%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2F2134
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=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/2134
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/2134
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/2134
triggerdotdevhttps://github.com/triggerdotdev
trigger.devhttps://github.com/triggerdotdev/trigger.dev
Codehttps://github.com/triggerdotdev/trigger.dev
Issues203 (203)https://github.com/triggerdotdev/trigger.dev/issues
Pull requests67 (67)https://github.com/triggerdotdev/trigger.dev/pulls
Discussionshttps://github.com/triggerdotdev/trigger.dev/discussions
Actionshttps://github.com/triggerdotdev/trigger.dev/actions
Projectshttps://github.com/triggerdotdev/trigger.dev/projects
Security and quality39 (39)https://github.com/triggerdotdev/trigger.dev/security
Insightshttps://github.com/triggerdotdev/trigger.dev/pulse
https://github.com/triggerdotdev/trigger.dev
New issuehttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/2134
New issuehttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/2134
bug: MCP server - SSE connection from Claude Code CLI drops after ≈ 5 min idle – “Body Timeout Error”https://github.com/triggerdotdev/trigger.dev/issues/2134#top
https://github.com/mulyoved
mulyovedhttps://github.com/mulyoved
on Jun 1, 2025https://github.com/triggerdotdev/trigger.dev/issues/2134#issue-3107045954
#424https://github.com/triggerdotdev/trigger.dev/issues/424
#270https://github.com/triggerdotdev/trigger.dev/pull/270
#41https://github.com/triggerdotdev/trigger.dev/pull/41
https://github.com/matt-aitken
matt-aitkenhttps://github.com/matt-aitken
on Aug 29, 2026https://github.com/triggerdotdev/trigger.dev/issues/2134#issuecomment-5463738781
matt-aitkenhttps://github.com/matt-aitken
not plannedhttps://github.com/triggerdotdev/trigger.dev/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on Aug 29, 2026https://github.com/triggerdotdev/trigger.dev/issues/2134#event-30215879920
Sign up for freehttps://github.com/signup?return_to=https://github.com/triggerdotdev/trigger.dev/issues/2134
Sign in to commenthttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/2134
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.