Skip to content
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

Sentry CDN is now blocked #1421

Closed
astanciu opened this issue Jul 2, 2018 · 7 comments
Closed

Sentry CDN is now blocked #1421

astanciu opened this issue Jul 2, 2018 · 7 comments

Comments

@astanciu
Copy link

astanciu commented Jul 2, 2018

https://github.com/lightswitch05/hosts/blame/b3369bd0356ca2bde7ca99393796f260e92234b3/ads-and-tracking.txt#L361

This causes it to be blocked by many dns providers, pihole, add blockers, etc... that use this list.

FYI

@dcramer
Copy link
Member

dcramer commented Jul 3, 2018

Your best bet is to use the npm module and host it on your own domain. Unfortunately we’re never going to stop the fan club that is “block all trackers”. We’ve worked to get it removed from some lists but people generally lump sentry in with advertising (nope) or analytics (maybe).

I’d also note that many of these lists have very limited use.

@HazAT HazAT closed this as completed Jul 4, 2018
@grobmeier
Copy link

@dramer it would be fantastic if this was visible on the raven website. I was including ravenjs in a angularjs 1 (yes, i know) project and the website recommended me to use the cdn, which I did. However, some customers reported failures. Apparantely they have adblockers installed, at least it looks like this from the screenshots.

My suggestion is to recommend the use of local files instead of the CDN.

@dcramer
Copy link
Member

dcramer commented Dec 6, 2018

@grobmeier there's a lot of major positive about using our CDN instead of a local bundle, the last of which is our edge distribution. Long term our CDN will also push configuration down to the client which improves data scrubbing/rate limiting/etc. There's obviously the caveat, but its ultimately a problem that's hard to avoid. If adblockers wanted to they could just block the network requests to sentry.io (some do already), so you're still in trouble.

@grobmeier
Copy link

@dcramer my customers don't care about any positive things which I might have using your CDN. I need to make sure my software works all the time; so I certainly do hope Sentry will continue to support locally hosted files, otherwise I will need add extra work to check if Raven/Sentry actually has been loaded or not, before using it. If a request is being blocked - no issue. If Sentry fails - big trouble. Probably provide a mock implementation, in case the download of Raven fails so I don't have to write one. Cheers!

@dcramer
Copy link
Member

dcramer commented Dec 12, 2018

How would you deal with any other service failing? You should simply check for presence before calling a global.

window.Raven && Raven

@grobmeier
Copy link

Yes and I would have to do it with each and any call to the Raven lib. That's a lot of if/else for a blocked CDN

@dcramer
Copy link
Member

dcramer commented Dec 12, 2018

And what about the situations where your customer is on bad network? Where a DNS issue happens? You need to deal w/ this problem with external dependencies generically if you're embedding them from another source. My point is that this isn't a new problem.

I'm closing this thread as there's nothing actionable that will come of this and it notifies a lot of people.

@getsentry getsentry locked as resolved and limited conversation to collaborators Dec 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants