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.

Avatar
Antik 👾@lemmy.world
33 points
*

Just a quick statement from the admins team to say that we are aware of the issue and yes we are looking into this.

Thank you @idunnololz@lemmy.world for the elaborate report and everyone else for their patience while we try to sort this one out!

Edit: Lemmy was upgraded to 0.18.2

permalink
report
reply
7 points

Thank you for all that you do for this place. I am consistently amazed at how quickly y’all are able to resolve issues.

permalink
report
parent
reply
3 points

o7

permalink
report
parent
reply
7 points

Thank you for making a statement about it!

permalink
report
parent
reply
32 points

Sounds like lemmy.world runs on 2 instances and the requests are being loadbalanced between those two. That and that the jwt secret is different between those two instances causing one to accept and the other to reject

permalink
report
reply
17 points

This is also my theory. I think you’re right on the money here. They probably rotated secrets from yesterday’s hack and forgot to restart both servers.

permalink
report
parent
reply
4 points

Does anyone know who can contact the server admins?

permalink
report
parent
reply
7 points

Yell real loud in all caps

permalink
report
parent
reply
27 points

Same problem for me it seems, dunno if I’ll even be able to comment. Refuses to stay logged in.

permalink
report
reply
11 points
*

From my tests, it’s almost perfectly a 50/50 whether any API requests you make will yield a 200 (success) or a 400 (not signed in). If you perform an action that takes 3 API requests, your chances of succeeding is (1/2)^3 or 1/8 because only 1 request needs to fail in the chain for the entire action to fail. So, as long as you make single API actions you can maximize your success rate :D

permalink
report
parent
reply
5 points

Smells like two instances behind the load balancer, one is fine with the JWT, one is not.

permalink
report
parent
reply
5 points

What’s an example of something that would take more than one API request?

permalink
report
parent
reply
4 points

Signing in. Most websites/apps will probably also grab your unread count, and maybe even your subscription feeds.

Another example is checking your inbox. Lemmy actually has 3 inboxes: mentions, replies and PMs. A lot of websites/apps bundle these three so they will need to check all 3 inboxes via 3 API calls.

permalink
report
parent
reply
5 points

Seems like spamming actions also gets it to work eventually. It’s a pain in the arse though lol. I made some alt accounts on other instances, but I’m lazy and don’t wanna rebuild my subscription feed if I don’t have to, so hopefully it gets fixed at some point.

permalink
report
parent
reply
14 points

Thaaats what’s going on

permalink
report
reply
10 points

Yeah. Lemmy.world is currently unusable on the desktop. I don’t have that problem in Memmy. Growing pains but I hope the problem will be fixed soon. Do anyone know if one of the mods in North America are aware of the problem?

permalink
report
reply
4 points

I was having trouble in liftoff and the browser. Cleared data and cache from liftoff thinking maybe something got messed up there and now I can’t even log back into my .world account 🤷‍♂️ I’ll hang here for a bit I guess.

permalink
report
parent
reply
3 points

Same here, can’t log in again via Liftoff.

permalink
report
parent
reply
2 points

I’m choking in desktop browser and in liftoff. Jerboa seems ok. It’s weird to me how different clients react differently, I’m not sure how they interact differently.

permalink
report
parent
reply
0 points
*
Deleted by creator
permalink
report
parent
reply

Lemmy.world Support

!support@lemmy.world

Create post

Lemmy.world Support

Welcome to the official Lemmy.world Support community! Post your issues or questions about Lemmy.world here.

This community is for issues related to the Lemmy World instance only. For Lemmy software requests or bug reports, please go to the Lemmy github page.

This community is subject to the rules defined here for lemmy.world.

To open a support ticket


You can also DM https://lemmy.world/u/lwreport or email report@lemmy.world (PGP Supported) if you need to reach our directly to the admin team.


Follow us for server news 🐘

Outages 🔥

https://status.lemmy.world



Community stats

  • 795

    Monthly active users

  • 798

    Posts

  • 5.9K

    Comments