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

Axe - Web Accessibility Testing Extension: Too many cookies created by Amplitude causing 400 bad request errors #2698

Closed
pgrunewald opened this issue Dec 17, 2020 · 9 comments
Labels
extension Axe Firefox or Chrome extension issues

Comments

@pgrunewald
Copy link

Preamble:
I recently noticed, that using the "Axe - Web Accessibility Testing Extension" I get several responses from servers saying 400 Bad Request with the note, that the header size is too large. I noticed that the header size is increased by the growing number of cookies beginning with "amp_cookie_test_".

In my research I stumbled on this similar issue where the cause seems to be related to the usage of Amplitude by a browser extension with another extension uBlock origin. Upon further inspection I saw that Amplitude is as well used for this extension.

In my setup I run Adblock (version 4.25.1) instead, but the result is the very same. The current workaround is to either disable the extension entirely or delete the aforementioned cookies of the unreachable sites.

Expectation: The Axe extension creates no cookies for every site I visit.

Actual: The Axe extension creates cookies for every site I visit.

Extension version: 4.6.2
Browser: Chromium 87.0.4280.66
Platform: Linux Manjaro (Kernel: 5.9.11)

Let me now if you need more information for solving this issue.

best, Paul

@straker straker added the extension Axe Firefox or Chrome extension issues label Dec 17, 2020
@erik-deque
Copy link
Contributor

Thanks for posting this, we're investigating.

@erik-deque
Copy link
Contributor

We've been trying to reproduce this and so far have been unsuccessful. Any chance we could hop on a zoom call and walk through it?

@jasikpark
Copy link

I may be having the same problem? Something is creating many cookies in the form: https://github.com/amplitude/Amplitude-JavaScript/search?q=COOKIE_TEST_PREFIX resulting in the same problem of a 400 when the number of cookies grows too big.

I've mostly encountered this when visiting https://duckduckgo.com and https://codepen.io

@rrix
Copy link

rrix commented Feb 19, 2021

for the last few months i have been having issues making searches in Firefox; lately i have tracked the issue down to a big pile of cookies that expire in 2025 or later that i guess Axe is creating; i had 145 of them when I just wiped my duckduckgo cookies:

image

making DDG searches from the Firefox URL bar handles this situation terribly, simply not performing the search without any error messages in the tab inspector or indiciation as to what's going on, much less a visible 400 page. It's taken me weeks to hunt this down, i figured i was being haunted... unfortunately i have 20 other addons enabled in my sync profile and tracking which is causing these cookies to not be cleared is beyond my limited free time at the moment.

@jasikpark
Copy link

exactly what I was experiencing. I removed the extension, useful though it may be, and have not had any problems since.

@erik-deque
Copy link
Contributor

We've got a fix for this that will be rolling out in next week's release.

@dylanb
Copy link
Contributor

dylanb commented Mar 3, 2021

@jasikpark @rrix @pgrunewald can you upgrade to the latest version and see whether this problem is now fixed for you?

@jasikpark
Copy link

Reactivated now, will let y'all know if I run into this problem soon. It definitely was the culprit, since deactivating it removed the problem entirely. Hopefully the fix works 👍

@pgrunewald
Copy link
Author

Just tested it: I'm not seeing any new random cookies just by visiting sites. The issue seems to be fixed! Thank you @erik-deque and everyone involved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension Axe Firefox or Chrome extension issues
Projects
None yet
Development

No branches or pull requests

6 participants