-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sentry floods Sentry with "antifingerprint not defined yet. will try and handle event after its ready..." #9143
Comments
You seem to have the |
Thanks. In that case isn't the stack trace a little misleading? It says it crashed in Sentry's code And this error message is not part of any app code of ours. Nor can I find it or any parts of in while searching through every file in node_modules and the only mention of this error message I can find on Google is at this issue for a package we are not using rainbow-me/rainbowkit#1374 |
@nordhagen The stacktrace can definitely be improved. Ideally it points to the location of the console.log call. Maybe this regressed somehow. We should look into it. The message itself we cannot do anything about. This is the behavior of your own website and anything that runs on it. It can be any third party script, browser extension, ... I also searched for the message but didn't find anything on github: https://github.com/search?type=code&q=%22antifingerprint+not+defined+yet%22 |
@nordhagen IMO the best way to debug this is to set up Sentry Session Replay for your project and try to get a more detailed reproduction. This will help you see what exactly was happening before the error occured. |
@AbhiPrasad thanks. We have that enabled, but this is coming from all over the place, so it's not very helpful. |
Can you try enabling this options: Sentry.init({
// ...
attachStacktrace: true,
}); This should opt in to attach stacktraces to pure messages/logs captured. Also I'd recommend to update to the latest SDK version, as there may have been improvements in the meanwhile to these things! |
I've done this but it doesn't really help anything. I'm also running the latest SDK. At this point I'm just randomly upgrading stuff to see if it helps. It's definitely not coming from our code and I have no idea what antifingerprinting is. Could it be related to this? https://docs.sentry.io/product/data-management-settings/event-grouping/fingerprint-rules/?original_referrer=https%3A%2F%2Fwww.google.com%2F The problem is the number of issues this is creating. It's eating up our Sentry quota, blocking our own important issues. I think this is still relevant on this repo because of how the issue is being parsed and rendered. |
@nordhagen Fingerprinting in Sentry is definitely not related to this. You have multiple ways of filtering out events: https://docs.sentry.io/platforms/javascript/configuration/filtering/ |
Just to add another data point I've gotten this error a few times as well and looking at the IP-addresses all of them are from Cloudflare data centers 🤔 One in Warsaw, Poland and the other New York. I'm running the default Sentry settings for a Next.js app (created with the Sentry wizard). Can't see any replays, currently rate-limited for those. Happy to provide additional information if needed. |
This is very unlikely an issue with the sentry SDK. If you don't see any user impact from these errors/issues we recommend ignoring them in Sentry. |
I am gonna close this issue because it is unrelated to the SDK. If you find that the generated issues are unactionable, the recommendation is to ignore them or filter them using the SDK options: docs.sentry.io/platforms/javascript/configuration/filtering |
That sounds quite interesting - we are getting traffic from those IPs as well. Came across this issue trying to identify issue with the same message and turns out that some IPs match as well. Could it be some privacy extension, which works over some service which is deployed on Azure?.. @Ollymid, did you figure out by any chance who or what was behind those requests? |
I've been debugging this issue recently as well... there seems to be a correlation to running ad-blockers but I can't pin it on that yet. |
Thanks Jason. I don't use at blockers and I still get these though. |
@nordhagen @jasonHooten Having a similar issue, noticed that the requests all had query params set pointing to the Honey Chrome extension. Did you see anything similar? |
For anyone else experiencing this, it looks related to Outlook safelink scanning: #3440 (comment) |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nextjs
SDK Version
7.68.0
Framework Version
7.68.0
Link to Sentry event
https://hjemmelegene.sentry.io/issues/4496677982
SDK Setup
Sentry.init({
dsn: 'https://93f5f63cb2514405a700053731ef67a6@o518563.ingest.sentry.io/5627822',
beforeSend,
// Replay may only be enabled for the client-side
integrations: [new Sentry.Replay()],
// Set tracesSampleRate to 1.0 to capture 100%
// of transactions for performance monitoring.
// We recommend adjusting this value in production
tracesSampleRate: 0.1,
// Capture Replay for 10% of all sessions,
// plus for 100% of sessions with an error
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0,
// ...
// Note: if you want to override the automatic release value, do not set a
//
release
value here - use the environment variableSENTRY_RELEASE
, so// that it will also get attached to your source maps
})
Steps to Reproduce
Expected Result
Sentry not introducing its own errors
Actual Result
Stack Trace
antifingerprint not defined yet. will try and handle event after its ready...
Crashed in non-app: ./node_modules/@sentry/integrations/esm/captureconsole.js in callback
Show 2 more frames
about:blank in generalAddEventListenerLogic at line 36:21
In App
about:blank in HTMLDivElement.Element.addEventListener at line 49:5
In App
Called from: ./node_modules/react-dom/cjs/react-dom.production.min.js in af
Show 2 more frames
in Set.forEach
In App
Called from: ./node_modules/react-dom/cjs/react-dom.production.min.js in cf
The text was updated successfully, but these errors were encountered: