Hello!

I have 500 error on opening any page on the website after enabling Cleantalk module.
The website bulds the correct content and send it to browser correctly, but browser throw 500 error.
I noticed that it was fixed after deleting the cookie "apbct_pointer_data" from Crome. As I see, the cookie collects some info about mouse positions. Looks like cookie builds incorrect or it's too big (see the screenshot).
Maybe when Drupal send responce to the browser (with cookies), browser gets content and brokes.

After the "apbct_pointer_data" cookie deleting the website opens the website correctly again. But after opening some pages, it brokes again and show 500 error on each page of the website (to the next cookie cleaning).

Drupal 8, version of Cleantalk "8.x-2.7".
Browser: Google Chrome 72.0.3626.81 (Mac OS X)
OS: Mac OS Mojave 10.14.2, but I tested on Ubuntu 17.10 and had the same problem.

CommentFileSizeAuthor
Chrome_cookies.png195.97 KBmikhailkrainiuk

Comments

mikhailkrainiuk created an issue. See original summary.

mikhailkrainiuk’s picture

I try to debug and see that "apbct-public.js" file has protection from overflow (see the "ctFunctionMouseMove" function) and looks like it works -it stops after 100 items.
Maybe we should decrease the limit or drop the mouse tracking?

znaeff’s picture

Hello, thank you for your feedback.

I transfer your question to the programmer staff.

It may take up to 2 workdays to investigate this issue.

We will contact you when we have any results.

Thank you for understanding.

Best regards,

davydovct’s picture

Hello,

I'm not sure that this error is due to data overflow in cookies, since you said that you get 500 error instantly after opening any page (apbct_pointer_data should be empty at this moment). I suspect there may be something wrong with the format of the recording data in this cookie

kala4ek’s picture

Priority: Major » Critical
znaeff’s picture

znaeff’s picture

Status: Active » Closed (duplicate)