There appears to be a bug with lemmy.world and intermitent authentication

https://lemmy.ml/post/1953164

Server side bug with lemmy.world and intermitent authentication. - Lemmy

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 [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.

I’m having to reauthenticate in safari and wefwef every time I load a new page. Furthermore, the login is frequently failing.

Login in likely always succeeding. The issue is that what ever app/website you use will make additional API calls after wards. Each of those calls have a 1-in-2 chance to succeed and if any of them fail, they all fail and you will be booted out.

Lemmy is now an RNG game. We must prayge to rngesus before making any actions.

Schroedinger’s API call.