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

Testcookie causes warning in browser console #17829

Closed
Findus23 opened this issue Jul 28, 2021 · 9 comments · Fixed by #17830
Closed

Testcookie causes warning in browser console #17829

Findus23 opened this issue Jul 28, 2021 · 9 comments · Fixed by #17830
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc. Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Milestone

Comments

@Findus23
Copy link
Member

related to #17744
reported in https://forum.matomo.org/t/javascript-error-trying-to-set-test-cookie-pk-testcookie-domain/42655

Since Matomo 4.4.0, setting the testcookie seems to cause this error to be logged in the browser console:

There was an error setting cookie _pk_testcookie_domain. Please check domain and path.

@Findus23 Findus23 added Regression Indicates a feature used to work in a certain way but it no longer does even though it should. Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. labels Jul 28, 2021
@sgiehl sgiehl self-assigned this Jul 28, 2021
@sgiehl sgiehl added this to the 4.5.0 milestone Jul 28, 2021
@Findus23 Findus23 added Bug For errors / faults / flaws / inconsistencies etc. and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. labels Jul 28, 2021
@tsteur tsteur modified the milestones: 4.5.0, 4.4.1 Jul 28, 2021
@meibegger
Copy link

I just updated to 4.4.0 and get a similar Error:

In our container cookies are disabled, but when i use a private/icognito browser window i get
There was an error setting cookie _pk_id.X.XXXX. Please check domain and path.

@mtoensing
Copy link

Same here. I see the same error like @meibegger

@howdytom
Copy link

This error message shows up on all Matomo installations running v4.4

@Findus23
Copy link
Member Author

@mtoensing, @howdytom This has been fixed with #17830, which will be released in 4.4.1. If you want to test the fix, you can already install the release candidate for it.

@mamorg79
Copy link

mamorg79 commented Aug 5, 2021

Hi there,

I updated to release 4.4.1 when it was first available. But this issue is still there. So what would you recommend to do?
Could you reopen this?

@sgiehl
Copy link
Member

sgiehl commented Aug 5, 2021

@mamorg79 Is it exact that warning? Are you maybe using the tag manager? If so maybe you need to release a new container version. Otherwise did you clear the browser cache to ensure it's not a caching issue?

@mamorg79
Copy link

mamorg79 commented Aug 5, 2021

@mamorg79 Is it exact that warning? Are you maybe using the tag manager? If so maybe you need to release a new container version. Otherwise did you clear the browser cache to ensure it's not a caching issue?

Sorry for the inconvenience, some of my developers published an old script and there was an mistake placed in it.

@Nyaundi
Copy link

Nyaundi commented Sep 25, 2022

I have a similar error. How can I solve it

@ValenDigital
Copy link

We have multiple sites that show this exact same issue on inconito and private browsers. Running the latest 4.13.0 self hosted version. How can we get this fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants