sentry-javascript: Problems migrating to 4.5.3
- 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
Package + Version
- [4.5.3]
@sentry/browser - [4.5.3]
@sentry/node - other:
"dependencies": {
"@babel/core": "7.1.6",
"@babel/plugin-proposal-decorators": "7.1.0",
"@sentry/browser": "4.5.0",
"@sentry/node": "4.5.0",
"@zeit/next-source-maps": "0.0.2",
"axios": "0.18.0",
"babel-plugin-module-resolver": "3.1.0",
"babel-plugin-transform-inline-environment-variables": "0.4.3",
"chart.js": "2.7.2",
"classnames": "2.2.5",
"cookie": "0.3.1",
"css-loader": "1.0.0",
"es6-promise": "4.2.4",
"extracted-loader": "1.0.7",
"filestack-js": "1.5.0",
"filestack-react": "2.0.0",
"find-up": "3.0.0",
"flat": "4.1.0",
"html-react-parser": "0.4.6",
"html2pdf.js": "0.9.0",
"ignore-loader": "0.1.2",
"js-cookie": "2.2.0",
"lodash": "4.17.10",
"mini-css-extract-plugin": "0.4.3",
"moment": "2.22.2",
"moment-duration-format": "2.2.2",
"net": "1.0.2",
"next": "7.0.2",
"next-compose-plugins": "2.1.1",
"next-images": "0.10.5",
"next-progressbar": "1.0.0",
"next-redux-saga": "2.0.1",
"next-redux-wrapper": "1.3.5",
"next-routes": "1.4.1",
"next-testcafe-build": "1.0.0",
"nprogress": "0.2.0",
"pluralize": "^7.0.0",
"plyr": "3.4.4",
"postcss-easy-import": "3.0.0",
"postcss-loader": "2.1.6",
"prop-types": "15.6.1",
"pm2": "2.10.3",
"react": "16.4.1",
"react-chartjs-2": "2.7.2",
"react-circular-progressbar": "1.0.0",
"react-confetti-canvas": "1.0.1",
"react-copy-to-clipboard": "5.0.1",
"react-dates": "17.1.1",
"react-dom": "16.4.1",
"react-modal": "3.3.2",
"react-moment-countdown": "0.3.0",
"react-moment-proptypes": "1.6.0",
"react-quill": "1.3.1",
"react-redux": "5.0.7",
"react-scroll": "1.7.10",
"react-text-mask": "5.4.2",
"react-waypoint": "8.0.2",
"reduce-reducers": "0.4.3",
"redux": "3.7.2",
"redux-saga": "0.16.0",
"request": "2.83.0",
"request-promise": "4.2.2",
"semver": "5.5.1",
"styled-components": "3.3.0",
"text-mask-addons": "3.7.2",
"tls": "0.0.1",
"useragent": "2.3.0",
"validator": "10.1.0",
"redux-devtools-extension": "2.13.2"
},
"engines": {
"node": "8.6.0"
},
Version:
4.5.3
Description
We’re seeing numerous errors when migrating from 4.5.0 to 4.5.3 🤔 We’re deploying our nextjs app on AWS EC2, via aws codepipeline, using docker with pm2. We haven’t changed anything in our infrastructure nor code, just bumped sentry versions. After that the whole website was unavailable. Numerous errors started appearing, here are public links:
TypeError: Cannot read property 'ended' of undefined File "net.js", line 333, col 27, in ShutdownWrap.afterShutdown [as oncomplete]https://sentry.io/share/issue/295ba9acfdaf4b5cbdeb8b315dd4941d/TypeError: Cannot create property '_connections' on string '[Circular ~]' File "net.js", line 1563, col 20, in TCP.onconnectionhttps://sentry.io/share/issue/b779babac99f404aac3bb9b238c98b7d/TypeError: self._unrefTimer is not a function File "net.js", line 874, col 8, in WriteWrap.afterWrite [as oncomplete]https://sentry.io/share/issue/0586c90ad2454637b229f05e6c3e1d05/
We reverted sentry to 4.5.0 and everything was back to normal and working. Is somebody else experiencing this ?
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 5
- Comments: 17 (8 by maintainers)
Commits related to this issue
- Code cleanup Downgrade to Sentry Version 4.5.2 to fix [sentry issue #1859](https://github.com/getsentry/sentry-javascript/issues/1859) — committed to ABOS-Software/client by patmagauran 5 years ago
- Code cleanup Downgrade to Sentry Version 4.5.2 to fix [sentry issue #1859](https://github.com/getsentry/sentry-javascript/issues/1859) — committed to ABOS-Software/server by patmagauran 5 years ago
Great catch @jpreynat fixed in https://github.com/getsentry/sentry-javascript/pull/1907/
@peterpro I’m aware of the issue, but I need a concrete repro case 😅