Why am I signed out every time I open this? Why can I hardly post anything anywhere? It’s like a dice roll.

  • LastoftheDinosaurs@lemmy.world
    link
    fedilink
    English
    arrow-up
    26
    ·
    1 year ago

    I heard it is a load balancing issue. Lemmy World has two instances, with two different JWT secrets, and you have a 50/50 chance of hitting the wrong server when you make any API requests.

    • Pika@lemmy.world
      link
      fedilink
      English
      arrow-up
      14
      ·
      1 year ago

      According to the support Community this was fixed about an hour and a half ago, but I continued to have issues I had to manually log out again and log back in to fix it

    • wpuckering@lm.williampuckering.com
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      11 months ago

      I guess they don’t really know what they’re doing and are learning how load balancing works on the fly, and thinking that’ll result in HA without side-effects without further work.

      EDIT: Don’t really get why this was downvoted. With the proper technical knowledge it’s clear to anybody that two instances with different JWT secrets behind a load balancer is going to cause this very issue. So the fact that they set it up that way means they have a knowledge gap (“they don’t really know what they’re doing”). At the very least they should enable sticky sessions on the load balancer if they insist on going this route, which would mitigate the issue (but depending on client-side configuration would not necessarily prevent it completely).

      Don’t take this as an insult towards the admins of the instance, I’m just pointing out there’s a lack of knowledge, and some trial-and-error going on.