Network trafic with user consent revoked #1201
-
In our project we currently use sentry native version 0.7.17. In some scenarios we allow crash reporting to the online repository, however in some cases we use it only fo local dumps collection. Is such case we use:
Even though, on closing every session, in Wireshark we see packets sent to 34.120.195.249. I was able to workaround it by simply setting an empty dsn, however, I'm concerned about possible additional traffic to other ips. Does someone know if settings empty dsn is sufficient to supress any network traffic caused by sentry, or is there any option to make sentry explicitly 'silent'? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
This shouldn't be the case. If the
There is no traffic other than to the URL encoded in your DSN. That is certainly an option if you never want to send anything to Sentry. |
Beta Was this translation helpful? Give feedback.
-
Great!
This is a side effect of Crashpad not having a shutdown procedure, as it is intended to run until the process is stopped. There is no concept in |
Beta Was this translation helpful? Give feedback.
This shouldn't be the case. If the
user-consent
was correctly revoked, any envelope, regardless of whether it was a session or an event, should be dropped. Can you provide a minimal repro that shows this? Remember thatsentry_user_consent_revoke()
must be called aftersentry_init()
.There is no traffic other than to the URL encoded in your DSN. That is certainly an option if you never want to se…