-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Package: nodeIssues related to the Sentry Node SDKIssues related to the Sentry Node SDK
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 affected event from your Sentry account
Package + Version
-
@sentry/browser -
@sentry/node -
raven-js -
raven-node(raven for node) - other:
Version:
6.13.0
Description
When we upgraded from @sentry/.node 6.9.0 to 6.13.2, we experienced the following error in our serverless environment (we use puppeteer to render images in a lambda worker):
TypeError: Cannot read property 'globalAgent' of undefined
at normalizeRequestArgs (/var/task/build/functions/isolated.js:67595:203),
at wrappedMethod (/var/task/build/functions/isolated.js:67375:96),
at initAsClient (/var/task/node_modules/ws/lib/websocket.js:566:31),
at new WebSocket (/var/task/node_modules/ws/lib/websocket.js:71:7),
at /var/task/node_modules/puppeteer/lib/cjs/puppeteer/node/NodeWebSocketTransport.js:26:24,
at new Promise (<anonymous>),
at Function.create (/var/task/node_modules/puppeteer/lib/cjs/puppeteer/node/NodeWebSocketTransport.js:25:16),
at BrowserRunner.setupConnection (/var/task/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:167:88),
at runMicrotasks (<anonymous>),
at processTicksAndRejections (internal/process/task_queues.js:95:5)
We tracked it down to #3950, where the httpModule.globalAgent field can be undefined.
l1b3r and garmr
Metadata
Metadata
Assignees
Labels
Package: nodeIssues related to the Sentry Node SDKIssues related to the Sentry Node SDK