-
Notifications
You must be signed in to change notification settings - Fork 140
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
Large number of Uncaught "Object Not Found Matching" errors #2715
Comments
Hello @daltonconley, |
Hey @amortemousque , Has this issue been resolved or are there any updates or workarounds available? |
@amortemousque I started seeing this pop up as well yesterday. Coincidentally when it happens RUM is never able to capture session replay. Similar to @daltonconley I am unable to reproduce the issue and don't have any clear leads. |
Did you happen to send out emails containing links to the site in question? |
It's happening here too, and we don't have a clue as to how it might be triggering... |
The error message itself, "Object Not Found Matching Id", comes from CefSharp, a .NET embedded Chromium library. We've found that these always seem to be coming from Azure, and the initial links being followed seem to be variations of links that were sent out in emails. (Oddly, several utm-parameters get garbled by rot-13ing them, and then replacing some other characters, but in a seemingly deterministic way.) We've also noticed that the surges in these errors happen immediately after links to our site appear in emails. We think that what's happening is that an email scanner, possibly part of Outlook, is doing some sort of pre-check of links (probably scanning for malware), and their embedded browser setup has some kind of bug that causes it to spam the console with errors. |
@xenomachina that pre-check/embedded browser theory might align with what we're seeing. We send out email links to the endpoint where the errors are surfacing, and trying to watch the associated sessions, does make me think it's an automated browser env of some kind. |
Hello, |
Thanks @amortemousque -- appreciate the response. I had read that and was attempting to use the
This is what I'm seeing in DD: And when I click on one of those errors and open the attributes tab -> json in DD, this is what I see as part of that payload: I am a bit confused on the right way to target these errors as you suggest. Any help would be appreciated. Thanks! -- UPDATE: |
Hi @sheamusburns, |
Thanks, @thomas-lebeau I've opened a ticket. |
The problem is that you should test the regex against a string, not the other way around: |
Here's a corrected version with the right typing: import { RumErrorEvent } from '@datadog/browser-rum'
// ....
beforeSend: (event) => {
if (event.error) {
const error = (event as RumErrorEvent).error
// filter out error that might be caused by link validation/ pre-fetch rendering from email clicks
// https://github.com/DataDog/browser-sdk/issues/2715
const regex =
/Object Not Found Matching Id:\d+, MethodName:\w+, ParamCount:\d+/
if (regex.test(error.message)) return false
}
return true
} |
Describe the bug
I am getting a large amount of errors being sent from rum:
To Reproduce
These errors are not consistent and I'm unable to reproduce this issue in any browser. However, I did find what I think could be a related bug from sentry. See getsentry/sentry-javascript#3440 (comment)
The text was updated successfully, but these errors were encountered: