René's URL Explorer Experiment


Title: Getting ERR_STREAM_WRITE_AFTER_END after #4139 · Issue #4151 · getsentry/sentry-javascript · GitHub

Open Graph Title: Getting ERR_STREAM_WRITE_AFTER_END after #4139 · Issue #4151 · getsentry/sentry-javascript

X Title: Getting ERR_STREAM_WRITE_AFTER_END after #4139 · Issue #4151 · getsentry/sentry-javascript

Description: Review the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javascript/releases Provide a link to the aff...

Open Graph Description: Review the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javas...

X Description: Review the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javas...

Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/4151

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Getting ERR_STREAM_WRITE_AFTER_END after #4139","articleBody":"\u003c!-- Requirements: please go through this checklist before opening a new issue -->\r\n\r\n- [x] Review the documentation: https://docs.sentry.io/\r\n- [x] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues\r\n- [x] Use the latest release: https://github.com/getsentry/sentry-javascript/releases\r\n- [x] Provide a link to the affected event from your Sentry account\r\n\r\n## Package + Version\r\n\r\n- [x] `@sentry/next-js` \r\n\r\n### Version:\r\n\r\n```\r\n6.14.3\r\n```\r\n\r\n## Description\r\n\r\nHi! I'm using Sentry with a [Blitzjs](https://blitzjs.com/) stack, which is a mildly abstracted version of Next.js. Generally, the Next.js sentry module works very well, but after 6.14.3, I experienced crashes on any request in prod:\r\n\r\n```\r\nNov 11 04:11:01 PM  Error [ERR_STREAM_WRITE_AFTER_END] [ERR_STREAM_WRITE_AFTER_END]: write after end\r\nNov 11 04:11:01 PM      at writeAfterEnd (_http_outgoing.js:694:15)\r\nNov 11 04:11:01 PM      at write_ (_http_outgoing.js:706:5)\r\nNov 11 04:11:01 PM      at ServerResponse.write (_http_outgoing.js:687:15)\r\nNov 11 04:11:01 PM      at ServerResponse.write (/opt/render/project/src/node_modules/next/dist/compiled/compression/index.js:1:4006)\r\nNov 11 04:11:01 PM      at Request.ondata (internal/streams/readable.js:745:22)\r\nNov 11 04:11:01 PM      at Request.emit (events.js:376:20)\r\nNov 11 04:11:01 PM      at Request.emit (domain.js:532:15)\r\nNov 11 04:11:01 PM      at addChunk (internal/streams/readable.js:309:12)\r\nNov 11 04:11:01 PM      at readableAddChunk (internal/streams/readable.js:284:9)\r\nNov 11 04:11:01 PM      at Request.Readable.push (internal/streams/readable.js:223:10)\r\n```\r\n\r\nThis is noted in the PR itself, and appears to not affect Next.js in some configurations, but clearly affects my relatively vanilla setup of Blitz running on Render (and the bug also appears locally). I'll try to figure out if this is purely a Blitz-level occurrence or something that manifests in Render on serverful non-Lambda environments as well. I've set up the `externalResolver` option as suggested to avoid the error message that this PR attempts to fix systematically.","author":{"url":"https://github.com/tmcw","@type":"Person","name":"tmcw"},"datePublished":"2021-11-11T23:18:22Z","url":"https://github.com/getsentry/sentry-javascript/issues/4151"}

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:28fe0efc-859d-41ec-77d0-8ddd50bf023b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAA2E:F4D72:20381C:2BC26A:6B0431D8
html-safe-noncef4c92c9763b15a616c30673345d95c32aa8aeaed402319a1f74c1c7e1f625e26
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTJFOkY0RDcyOjIwMzgxQzoyQkMyNkE6NkIwNDMxRDgiLCJ2aXNpdG9yX2lkIjoiNzY3MzYwODI3NzU4NjA5NjYwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3c89489f695403ea9f92be4bbaaf2e2442e4eb64a65a9879a395c1b068890cc7
hovercard-subject-tagissue:1051438116
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/getsentry/sentry-javascript/4151/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7ab18ae6eeeecd9008d5b9bd2c5ec59209880e346079ec4d72205a36556593a5/getsentry/sentry-javascript/issues/4151
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7ab18ae6eeeecd9008d5b9bd2c5ec59209880e346079ec4d72205a36556593a5/getsentry/sentry-javascript/issues/4151
og:image:altReview the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javas...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametmcw
hostnamegithub.com
expected-hostnamegithub.com
Noneb7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e
turbo-cache-controlno-preview
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
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
releasec3dd496c3da6ea6b77e69c09279d2b81604654f1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/issues/4151#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F4151
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%2Fgetsentry%2Fsentry-javascript%2Fissues%2F4151
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=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/issues/4151
Reloadhttps://github.com/getsentry/sentry-javascript/issues/4151
Reloadhttps://github.com/getsentry/sentry-javascript/issues/4151
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues341 (341)https://github.com/getsentry/sentry-javascript/issues
Pull requests55 (55)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/4151
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/4151
#4516https://github.com/getsentry/sentry-javascript/pull/4516
Getting ERR_STREAM_WRITE_AFTER_END after #4139https://github.com/getsentry/sentry-javascript/issues/4151#top
#4516https://github.com/getsentry/sentry-javascript/pull/4516
https://github.com/timfish
https://github.com/tmcw
tmcwhttps://github.com/tmcw
on Nov 11, 2021https://github.com/getsentry/sentry-javascript/issues/4151#issue-1051438116
https://docs.sentry.io/https://docs.sentry.io/
https://github.com/getsentry/sentry-javascript/issueshttps://github.com/getsentry/sentry-javascript/issues
https://github.com/getsentry/sentry-javascript/releaseshttps://github.com/getsentry/sentry-javascript/releases
Blitzjshttps://blitzjs.com/
Nexthttps://github.com/getsentry/sentry-javascript/issues/4151?timeline_page=1
getsantryhttps://github.com/apps/getsantry
Status: Untriagedhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Untriaged%22
on Nov 11, 2021https://github.com/getsentry/sentry-javascript/issues/4151#event-5606627278
AbhiPrasadhttps://github.com/AbhiPrasad
Package: nextjshttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Package%3A%20nextjs%22
Status: Needs Reproductionhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Needs%20Reproduction%22
Type: Bughttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Bug%22
on Nov 12, 2021https://github.com/getsentry/sentry-javascript/issues/4151#event-5606998432
getsantryhttps://github.com/apps/getsantry
Status: Untriagedhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Untriaged%22
on Nov 12, 2021https://github.com/getsentry/sentry-javascript/issues/4151#event-5606998492
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
on Nov 12, 2021https://github.com/getsentry/sentry-javascript/issues/4151#issuecomment-966753393
#4139https://github.com/getsentry/sentry-javascript/pull/4139
@lobsterkatiehttps://github.com/lobsterkatie
https://github.com/tmcw
tmcwhttps://github.com/tmcw
on Nov 16, 2021https://github.com/getsentry/sentry-javascript/issues/4151#issuecomment-970424502
https://github.com/tmcw
tmcwhttps://github.com/tmcw
on Nov 16, 2021https://github.com/getsentry/sentry-javascript/issues/4151#issuecomment-970441083
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
on Nov 16, 2021https://github.com/getsentry/sentry-javascript/issues/4151#issuecomment-970444084
@tmcwhttps://github.com/tmcw
AbhiPrasadhttps://github.com/AbhiPrasad
Status: Backloghttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Backlog%22
Status: Needs Reproductionhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Needs%20Reproduction%22
on Nov 16, 2021https://github.com/getsentry/sentry-javascript/issues/4151#event-5626253645
https://github.com/bunea
buneahttps://github.com/bunea
on Nov 26, 2021https://github.com/getsentry/sentry-javascript/issues/4151#issuecomment-980095774
https://github.com/yousefcisco
yousefciscohttps://github.com/yousefcisco
on Jan 5, 2022https://github.com/getsentry/sentry-javascript/issues/4151#issuecomment-1005519060
https://github.com/joggienl
joggienlhttps://github.com/joggienl
on Jan 17, 2022https://github.com/getsentry/sentry-javascript/issues/4151#issuecomment-1014899586
sentry-javascript/packages/nextjs/src/utils/withSentry.tshttps://github.com/getsentry/sentry-javascript/blob/fb66a7836b173bc9cdc31f2f212f5b442ef5092a/packages/nextjs/src/utils/withSentry.ts#L82
fb66a78https://github.com/getsentry/sentry-javascript/commit/fb66a7836b173bc9cdc31f2f212f5b442ef5092a
@buneahttps://github.com/bunea
https://github.com/joggienl
joggienlhttps://github.com/joggienl
on Jan 17, 2022https://github.com/getsentry/sentry-javascript/issues/4151#issuecomment-1014912795
https://github.com/jessehansen
jessehansenhttps://github.com/jessehansen
on Oct 31, 2022https://github.com/getsentry/sentry-javascript/issues/4151#issuecomment-1297602884
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
on Oct 31, 2022https://github.com/getsentry/sentry-javascript/issues/4151#issuecomment-1297613885
@jessehansenhttps://github.com/jessehansen
https://github.com/uwatm8
uwatm8https://github.com/uwatm8
on Nov 6, 2022https://github.com/getsentry/sentry-javascript/issues/4151#issuecomment-1304697231
https://github.com/tmcw
tmcwhttps://github.com/tmcw
on Nov 10, 2022https://github.com/getsentry/sentry-javascript/issues/4151#issuecomment-1310736020
https://github.com/statico
staticohttps://github.com/statico
on Nov 10, 2022https://github.com/getsentry/sentry-javascript/issues/4151#issuecomment-1310879333
@AbhiPrasadhttps://github.com/AbhiPrasad
your earlier commenthttps://github.com/getsentry/sentry-javascript/issues/4151#issuecomment-966753393
vladanpaunovichttps://github.com/vladanpaunovic
timfishhttps://github.com/timfish
on Nov 11, 2022https://github.com/getsentry/sentry-javascript/issues/4151#event-7791827309
https://github.com/vladanpaunovic
vladanpaunovichttps://github.com/vladanpaunovic
on Nov 11, 2022https://github.com/getsentry/sentry-javascript/issues/4151#issuecomment-1311651279
vladanpaunovichttps://github.com/vladanpaunovic
on Nov 11, 2022https://github.com/getsentry/sentry-javascript/issues/4151#event-7791835612
https://github.com/timfish
timfishhttps://github.com/timfish
on Nov 11, 2022https://github.com/getsentry/sentry-javascript/issues/4151#issuecomment-1311675211
This commenthttps://github.com/getsentry/sentry-javascript/issues/6099#issuecomment-1303772221
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
on Nov 11, 2022https://github.com/getsentry/sentry-javascript/issues/4151#issuecomment-1311680833
https://github.com/statico
staticohttps://github.com/statico
on Nov 11, 2022https://github.com/getsentry/sentry-javascript/issues/4151#issuecomment-1312052388
https://github.com/uwatm8
uwatm8https://github.com/uwatm8
on Nov 11, 2022https://github.com/getsentry/sentry-javascript/issues/4151#issuecomment-1312057964
https://github.com/adarnon
adarnonhttps://github.com/adarnon
on Nov 11, 2022https://github.com/getsentry/sentry-javascript/issues/4151#issuecomment-1312122117
https://github.com/timfish
timfishhttps://github.com/timfish
on Dec 4, 2022https://github.com/getsentry/sentry-javascript/issues/4151#issuecomment-1336334405
#6099https://github.com/getsentry/sentry-javascript/issues/6099
timfishhttps://github.com/timfish
completedhttps://github.com/getsentry/sentry-javascript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Dec 4, 2022https://github.com/getsentry/sentry-javascript/issues/4151#event-7947718213
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-javascript/issues/4151
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/4151
timfishhttps://github.com/timfish
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.