-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
cookie named "_plausible_key" exceeds maximum size of 4096 bytes #3762
Comments
Can you please show the contents of the cookie? You can decode it using your local Elixir's $ cd hosting
$ docker compose exec plausible bin/plausible remote # your cookie would go here, this one is from https://plausible.io/login
iex> cookie = "SFMyNTY.g3QAAAABbQAAAAtfY3NyZl90b2tlbm0AAAAYdVZNNkNFVDhHQXBqcjdKUHNPWWJmZi1M.UQCIJm6UNxaBMfzZecxTtOo9YXvVIXDyWUPHfeNARUg"
iex> [_, data, _] = String.split(cookie, ".")
iex> data |> Base.decode64!(padding: false) |> :erlang.binary_to_term
%{"_csrf_token" => "uVM6CET8GApjr7JPsOYbff-L"} |
it shows
|
Could you please provide more context on your setup, do you have all these |
The short term fix would be to log out or delete the |
Yes. 1, I just use docker compose up to up plausible 2.0 2, I start to add sites in web page and everything works as expected. |
ok, confirmed working. thx @ruslandoga |
Keeping it within the cookie is problematic, as the banners don't expire and overflow the cookie with data when enough new sites are added. Ref #3762
* Use sessionStorage for offer e-mail report banner tracking Keeping it within the cookie is problematic, as the banners don't expire and overflow the cookie with data when enough new sites are added. Ref #3762 * Update changelog * Extract a component * Make is_dbip evaluate to quoted boolean
Done via #3892 |
Past Issues Searched
Issue is a Bug Report
Using official Plausible Cloud hosting or self-hosting?
Self-hosting
Describe the bug
version: plausible/analytics:v2.0
it always shows following error when I try to add a new site.
but the site is listed after I refresh the page, any ideas why?
Expected behavior
we could add site ...
Screenshots
Environment
The text was updated successfully, but these errors were encountered: