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

Firefox 57 not loading piwik.js, Chrome + Safari works fine #12282

Closed
simonhessner opened this issue Nov 19, 2017 · 1 comment
Closed

Firefox 57 not loading piwik.js, Chrome + Safari works fine #12282

simonhessner opened this issue Nov 19, 2017 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@simonhessner
Copy link

simonhessner commented Nov 19, 2017

Hi,

I run the newest piwik version on a server (Ubuntu, nginx) and on an other server I have a blog where I embed the piwik script. Everything works well in Chrome (tracking works) but when I use Firefox the visit is not recorded. This is strange as I am pretty sure that it has worked in the past.

I see this warning in the Firefox (v57) console:

Loading failed for the <script> with source “https://pwk.mydomain.org/piwik.js”.

In the networking tab of the inspector there is no entry where it even tries to load piwik.js.

I already disabled uBlock Origin + HttpsEverywhere and also disabled the "Do Not Track" setting. Nothing has worked. Does anybody have an idea how to find the reason why firefox does not load the script?

I also tried adding the Access-Control-Allow-Origin to my nginx config:
add_header Access-Control-Allow-Origin *;

This did not solve the problem.

EDIT: I also tried it on a Mac using Safari and it worked. So just Firefox is not working
EDIT 2: Very strange, it also works in Firefox 57 on the Mac, but not on my Ubuntu
EDIT 3: Problem solved, see next comment

@simonhessner simonhessner changed the title Firefox 57 not loading piwik.js, Chrome works Firefox 57 not loading piwik.js, Chrome works fine Nov 19, 2017
@simonhessner simonhessner changed the title Firefox 57 not loading piwik.js, Chrome works fine Firefox 57 not loading piwik.js, Chrome + Safari works fine Nov 19, 2017
@simonhessner
Copy link
Author

I finally found the problem. It has nothing to do with piwik. The problem is my DuckDuckGo plugin which also blocks scripts.
I removed the plugin because I don't need it anymore and everything works fine now.

@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Nov 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants