Title: withSentry wrapper causes stalled request warning with async request handlers in Next.JS · Issue #4007 · getsentry/sentry-javascript · GitHub
Open Graph Title: withSentry wrapper causes stalled request warning with async request handlers in Next.JS · Issue #4007 · getsentry/sentry-javascript
X Title: withSentry wrapper causes stalled request warning with async request handlers in Next.JS · Issue #4007 · getsentry/sentry-javascript
Description: Environment self-hosted (onpremise deployment) Version ^6.12.0 Steps to Reproduce Create a starter Next.JS project with API routes. https://nextjs.org/docs/api-routes/introduction Install and configure @sentry/nextjs Create async route h...
Open Graph Description: Environment self-hosted (onpremise deployment) Version ^6.12.0 Steps to Reproduce Create a starter Next.JS project with API routes. https://nextjs.org/docs/api-routes/introduction Install and confi...
X Description: Environment self-hosted (onpremise deployment) Version ^6.12.0 Steps to Reproduce Create a starter Next.JS project with API routes. https://nextjs.org/docs/api-routes/introduction Install and confi...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/4007
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"withSentry wrapper causes stalled request warning with async request handlers in Next.JS","articleBody":"### Environment\n\nself-hosted (`onpremise` deployment)\n\n### Version\n\n^6.12.0\n\n### Steps to Reproduce\n\n1. Create a starter Next.JS project with API routes. https://nextjs.org/docs/api-routes/introduction\r\n2. Install and configure `@sentry/nextjs`\r\n3. Create async route handlers. Ie. `export default withSentry(async (req, res) => {`\r\n4. Implement any route responder, ie. `res.status(200).end()`\r\n5. Test the route. For example, create a button that issues an api call.\n\n### Expected Result\n\nThe route responds and no error is raised.\r\n\n\n### Actual Result\n\n`API resolved without sending a response for /api/\u003cendpoint>, this may result in stalled requests.`","author":{"url":"https://github.com/maurocolella","@type":"Person","name":"maurocolella"},"datePublished":"2021-09-24T06:33:39Z","url":"https://github.com/getsentry/sentry-javascript/issues/4007"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:00fe7343-7e60-9b1f-2075-b7c36c35747e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 977E:3284B6:72C1FC:9D4629:6B044775 |
| html-safe-nonce | ebe8b7a62719ac9172cab008b834f1fd70401311f709d1bc87f14672428a4d55 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzdFOjMyODRCNjo3MkMxRkM6OUQ0NjI5OjZCMDQ0Nzc1IiwidmlzaXRvcl9pZCI6IjU3NTEwNzA0NDkzMzc2NDkwMTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e2483d25e9bb628003959fca8cd461ea4d3256861b14f1cef61e78e3a8518996 |
| hovercard-subject-tag | issue:1006169569 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/4007/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e9317e06046d1cedcb3c6f951fffc99d8f89956403338da339077045e5310bce/getsentry/sentry-javascript/issues/4007 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e9317e06046d1cedcb3c6f951fffc99d8f89956403338da339077045e5310bce/getsentry/sentry-javascript/issues/4007 |
| og:image:alt | Environment self-hosted (onpremise deployment) Version ^6.12.0 Steps to Reproduce Create a starter Next.JS project with API routes. https://nextjs.org/docs/api-routes/introduction Install and confi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maurocolella |
| hostname | github.com |
| expected-hostname | github.com |
| None | d4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width