this post was submitted on 11 Sep 2024
21 points (100.0% liked)

AskMbin

0 readers
1 users here now

About Community

Your place to ask and answer thought-provoking questions across Mbin and the fediverse!

Rules

  1. No professional advise requests Please do not make posts asking for professional advise - Medical, Legal, Financial and otherwise.
  2. Open ended questions only Posts must be open ended and shouldn't be phrased to allow a simple yes or no answers.
  3. Questions must not be surveys Any post asking users to take participation in a survey is not allowed.
  4. Do not share personal information Please don't post or seek any personal identifiable information, such as full names, email addresses, or personal social media accounts.
  5. Civil discussions Maintain respectful discussions with fellow community members. It's okay to not share the same opinion as everyone, hence disagree respectfully when/if needed.

founded 3 months ago
MODERATORS
 

Frequently but not always I'll get an error page when I try to upvote or boost. Sometimes repeatedly, sometimes just once then it works fine, sometimes it stops when I reload the page.

Is it something to do with federating upvotes? I got the same thing on kbin but when it happened there i'd often need to re-login to my account.

you are viewing a single comment's thread
view the rest of the comments
[–] melroy@kbin.melroy.org 3 points 1 month ago

It's on radar now. Thanks for reporting.. We need to dive deep in what is the root cause. The logging says:

[2024-09-12T20:42:54.414611+02:00] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\BadRequestHttpException: "Invalid CSRF token" at AbstractController.php line 39 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\BadRequestHttpException(code: 0): Invalid CSRF token at /var/www/kbin.melroy.org/html/src/Controller/AbstractController.php:39)
[stacktrace]
#0 /var/www/kbin.melroy.org/html/src/Controller/FavouriteController.php(24): App\\Controller\\AbstractController->validateCsrf()
#1 /var/www/kbin.melroy.org/html/vendor/symfony/http-kernel/HttpKernel.php(183): App\\Controller\\FavouriteController->__invoke()
#2 /var/www/kbin.melroy.org/html/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw()
#3 /var/www/kbin.melroy.org/html/vendor/symfony/http-kernel/Kernel.php(182): Symfony\\Component\\HttpKernel\\HttpKernel->handle()
#4 /var/www/kbin.melroy.org/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php(35): Symfony\\Component\\HttpKernel\\Kernel->handle()
#5 /var/www/kbin.melroy.org/html/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\HttpKernelRunner->run()
#6 /var/www/kbin.melroy.org/html/public/index.php(7): require_once('...')
#7 {main}
"} []