The title says it all. Not even sure if it’s going to keep me logged in long enough to submit this post.

  • Ategon@programming.devM
    link
    fedilink
    arrow-up
    2
    ·
    5 months ago

    Do you have anything that would clear cookies or mess with the jwt you get from logging in in some way?

    • Null User Object@programming.devOP
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      Not that I can think of. This just started this morning, and I haven’t done or installed anything recently that might cause this. If it’s only happening to me though…

        • Null User Object@programming.devOP
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          5 months ago

          Ok, so pretty certain this is specific to my phone.

          Browsed the recommended alternate front end for as long as I could stand it. Didn’t get logged out, but I may have just not waited long enough.

          Back on normal frontend, I deleted all browsing data (cookies, etc), logged back in and then got kicked out within a few minutes.

          Rebooting the phone now. 🤞

          Update: Nope, still getting booted within a few minutes. Beyond just using a different browser, I’m out of ideas, so I’ll try that for a bit. 🤷

          Update 2: Doesn’t seem to be happening in Brave. So currently, only in FF, only on my phone, clearing cookies and rebooting did not help.

          I’m open to any more ideas.

            • Null User Object@programming.devOP
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              5 months ago

              Update: Haven’t used my lemmy.world account in a while, so thought I’d test this out over there. Same thing happened after several minutes. Then I tried on Mastodon.world for a while and it seems to work fine. I’ll try giving the alternate front end another round of testing later today.

              Addendum: Can’t reproduce the problem on t.programming.dev today, and couldn’t seem to on a.programming.dev yesterday, so it seems to be specific to the default Lemmy front end.

              • snowe@programming.devM
                link
                fedilink
                arrow-up
                1
                ·
                5 months ago

                so it sounds like default frontend, maybe tied to the version we have (we’re still a few versions behind), only mobile ff.

                • RustySharp@programming.dev
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  4 months ago

                  Desktop FF here, been getting kicked off roughly once a day on default.

                  Not happening on Mlmym (old.), which I found to be better anyway. Wish I’d know about it before. Please keep it maintained!

                • Null User Object@programming.devOP
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  5 months ago

                  I think I figured out how to reproduce it really quick.

                  1. Log in to Lemmy on Firefox
                  2. Switch to a different app
                  3. Switch back to Firefox
                  4. Reload the page.

                  Poof! I’m out. I repeated the test multiple times to confirm it’s consistent. Probably actually getting kicked out on step 2. It’s like FF decides to expire the Lemmy cookies when the app loses focus.

                  Armed with that info, I retested two alternate front ends on programming.dev (a. & t.) and default front end on lemmy.world and default front end on programming.drv with Brave. I was previously getting logged out on lemmy.world, but not now (maybe they updated something? Or my test is still flawed.). So, with these steps I can only reproduce it on programming.dev with the default front end on Firefox.