-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Session stops instead of pausing when inactive for 5 minutes and doesn't resume on activity #7929
Comments
Thanks for opening this! I could reproduce this - I think we'll try to fix this in the way of https://github.com/getsentry/sentry-javascript/pull/7768/files#r1173511991, where we are already touching this a bit. |
Hi @mydea what is the progress? This makes my app basically unable to generate replay |
Hi @brotherko, this is currently in progress, I'll update you when this has been released/fixed! |
Hey @brotherko , this should be fixed in v7.50.0! |
Hi @mydea This issue came from our report and we can still observe similar behavior with v7.52.1 (@sentry/browser) Steps to reproduce:
We have "debug: true" flag set and this error shows up in console Expected behavior: Thanks |
@egissan I can confirm this is an issue, I will write up my findings in a new issue. Essentially once you capture a replay w/ onError sampling, it will stop after the replay ends until the user refreshes. I will talk with the team to see how we want to proceed. |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
7.48
Framework Version
No response
Link to Sentry event
No response
SDK Setup
tracesSampleRate: 1.0,
replaysSessionSampleRate: 0,
replaysOnErrorSampleRate: 1.0,
Steps to Reproduce
Set up replay
Run you app
After 5 minutes of inactivity replay stops and does not restart even if more errors occur.
Expected Result
The session should not be stopped when it becomes inactive but paused. When activity resumes, the replay should also resume.
This was confirmed here: #7192 (comment)
Actual Result
The replay does not start even if an event is thrown or the page is refreshed (hitting F5 or CTRL + F5). The only way to make replays work again is to open another tab
The text was updated successfully, but these errors were encountered: