-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Replay: recording fails with CSP errors #318
Comments
@mhartington shared a work around for stack traces he used in the past that might be useful here: |
Possibly issues are related to the options combination: https://docs.sentry.io/platforms/javascript/session-replay/privacy/#privacy-configuration I believe we shouldn't expose capturing Media. Since we can't fetch that at the time of Replay (those are all localhost resources). Perhaps with |
@mhartington suggested:
|
About blockAllMedia, what blockAllMedia actually does? I tried to play with it on a React app (without Capacitor/Ionic) and i got mixed results: private ip + blockAllMedia false local host + blockAllMedia false (EDIT: image could be visible because of cache) private ip + blockAllMedia true localhost + blockAllMedia true |
One detail that I noticed that's generating CSP errors is that Capacitor adds to the head of the document the following base: The same can also be replicated if other applications adds the base href as localhost as seen on this sample replay (without using capacitor/ionic): Perhaps adding a filter to remove such references would decrease the amount of CSP errors. |
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
I am closing this issue because the CSP errors are no longer happening. |
The playback seems far from what the user saw.
Reproed on iOS 16.0.3
SDK:
7.31.1
The text was updated successfully, but these errors were encountered: