Closed
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Self-hosted/on-premise
Which SDK are you using?
@sentry/node
SDK Version
7.57.0
Framework Version
No response
Link to Sentry event
No response
SDK Setup
Sentry.init({
dsn: 'https://[email protected]/12'
});
Steps to Reproduce
node20 + arm64 + request library + sentry
script:
import * as Sentry from '@sentry/node';
import * as request from 'requestretry';
// comment this, and it works, otherwise oyu get error 403
Sentry.init({
dsn: 'https://[email protected]/0'
});
const test = async () => {
const result = await request.get({
url: 'https://files.test.hokify.com/undefined565c67d6e855735aa2eab974_1510057848572.jpg'
});
console.log('RESULT', result);
};
test();
run with ts-node test.ts
~
body returns
body: '\n' +
'AccessDenied
Access Denied2W0387H91RPD35YJupEwGHmpd6/Em0HdUtLK6jW0tLKNnKKRdO2o/w1pEFWPsSLGxAeym4tVYhZVCO92PmM8bgk9jQQ=',
attempts: 1,
but it should actually return the image (buffer)
this behaviour is ONLY happening on arm64, not on amd64.
it also only happens with node20, node18 works fine too.
Expected Result
the url is public available, and is retrievable like it is without sentry.init()
Actual Result
it throws a 403 error, somehow senty modifies the request
I assume this is a node bug, as it only happen son arm64, but need help to narrow this down what can cause this.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status