question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Replay] Replay not sending on errors

See original GitHub issue

Is there an existing issue for this?

How do you use Sentry?

Self-hosted/on-premise

Which package are you using?

@sentry/browser

SDK Version

7.24.1

Framework Version

No response

Link to Sentry event

No response

Steps to Reproduce

<script src="https://browser.sentry-cdn.com/7.24.1/bundle.tracing.min.js" integrity="sha384-xKLOnjJfdV4JM9nuAF86HQTBBQXJRhRYRqSR21KCAENOj3ldIBc10a4oq8wWZ3/R" crossorigin="anonymous"></script>
<script src="https://browser.sentry-cdn.com/7.24.1/captureconsole.min.js" integrity="sha384-yK9cwgbRIq3vYQnne4GeTRvPKHLSFh3Ak8ZD9XU992sLYom9dgYy34D43rFvjpRq" crossorigin="anonymous"></script>
<script src="https://browser.sentry-cdn.com/7.24.1/replay.min.js" integrity="sha384-ifYtT/moOdbKa0RUX6esCLi2AU6bNBHWE13ESYZ4Q2j/RFVx1iuIcYadvhEbGMjF" crossorigin="anonymous"></script>
<script>
  Sentry.init({
    dsn: "DSN",
    environment: "HOSTNAME",
    integrations: [
      new Sentry.BrowserTracing(),
      new Sentry.Integrations.Replay({
        maskAllInputs: false,
      }),
      new Sentry.Integrations.CaptureConsole(
        {
          levels: ['error']
        })
    ],
    sampleRate: 1,
    replaysOnErrorSampleRate: 1.0,
    replaysSessionSampleRate: 1.0,
    tracesSampleRate: 0.25,
  });
</script>

This is not sending a replay with the error. I know it’s not in the UI yet, or at least I’m assuming it isn’t. Just looking at the network tab in firefox.

Expected Result

It would send another request to sentry with the replay when an error occurs.

Actual Result

No replay data is sent when an error occurs. A replay ID is attached to the error/event. But nothing is sent for the replay data. If you set all the sampling to 1 it will send a replay for the transaction at the start but if you trigger an error it won’t send the replay.

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:23 (19 by maintainers)

github_iconTop GitHub Comments

2reactions
ds-clearagocommented, Dec 12, 2022

@Lms24 yes now works 😃 Thanks!

2reactions
Lms24commented, Dec 9, 2022

We’ve identified the problem and we’re going to make a release on monday with the fix. Thanks for the help everyone!

In the meantime, please use the unminified Replay CDN bundle (replay.js).

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Apple Music Replay Not Working 2022 - YouTube
Here's how to fix apple replay not working problem. This error is searched as replay apple music not working. And in this video...
Read more >
I can't send new emails or replay to emails
I can't send new emails or replay to emails ... I have the same problem but not getting an error message also can't...
Read more >
Replay failed Zap runs - Zapier Help
While Autoreplay is active: No error emails will be sent. No Zapier Manager Zaps will be triggered. You cannot manually replay the Zap...
Read more >
Is it possible to replay all runs of a workflow that failed? - Help
For now, I have a few of suggestions: • If you have fewer than 100 errors for a specific workflow, you can list...
Read more >
Session Replay Troubleshooting - Datadog Docs
Session Replay Troubleshooting. Overview. If you experience unexpected behavior with Datadog Session Replay, use this page to help resolve issues.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found