[Replay] Replay not sending on errors
See original GitHub issueIs 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 package are you using?
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:
- Created 9 months ago
- Comments:23 (19 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Lms24 yes now works 😃 Thanks!
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
).