-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Replays rejected due to size limit exceeded. #12866
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
Comments
A possible solution would be to split the event into multiple events/segments before we send it (ensuring each is below the limit), but this is rather complex, so not sure if we want to go down the road. Another solution, as @lforst pointed out, is also to increase the limit (a bit?), but also not sure if we want to/can do that! |
Another possible solution is to not inline the CSS and:
|
One other option is I use releases and upload my assets to release, you could argue if I have an active release and source files you pick from those, that way you can trim the replay down as well removing assets and stuff |
related to #13059 |
For reference: The max size of a segment today is 20MB uncompressed We want to get some stats how often we drop due to max size.
Some thoughts to improve this:
|
Is there anything we want to/can do about this in the new future? Or are we OK with the status quo, in which case I'd close this issue. |
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
8.17.0
Framework Version
No response
Link to Sentry event
No response
SDK Setup/Reproduction Example
No response
Steps to Reproduce
CSS files are inlined in the replays segments, when this file is large enough it can easily make the segment reach the size limit specially in buffer mode. When the limit is reached, the following logs are printed in the console and the replay is dropped:
No workarounds at the moment.
Expected Result
The size of the CSS file does not affect the the ability of the SDK sending the replay. The replay is sent to Sentry and the server can render the recording with CSS.
Actual Result
Replays are dropped and marked as SDK internal error in the client reports.
The text was updated successfully, but these errors were encountered: