I am currently getting signed out every minute from lemmy.world. This is not a client side cache issue. I tested making API calls from the command line (with curl) with no cache and the issue still occurs. One call I get the correct response, the next I get a 400 telling me im not signed in.

I’m primarily testing with the https://lemmy.world/api/v3/user/unread_count api endpoint. I’m not sure if this issue occurs with all endpoints.

Reproduction steps:

  1. Get a lemmy.world JWT token for your account using your desired method (eg. postman).
  2. curl https://lemmy.world/api/v3/user/unread_count?auth={JWT_TOKEN_HERE}
  3. Note the 400 error. If you do not get an error repeat step 2.

Edit

This issue only seems to affect lemmy.world so a temporary workaround is to use a different instance for the time being.

  • dingus@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Ah damn. Was wondering what was happening. My lemmy.world account is unusable atm due to the bug. I’m gonna have to figure out what all of my subs were.

    • CMahaff
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      There are tools that can help! https://lemmy.ml/post/1875767

      I made LASIM - it’s takes 2 API calls to fetch your subscriptions (1 login, 1 profile), so with lemmy.world being 50/50 on those calls, you might have to try a few time, but once you have em, it will be easy to push them to a new instance.