User-specific 502 errors after login — traced to DiscourseUpdates.has_unseen_features?

Yes, I tested on multiple devices and browsers, and it’s not related to browser extensions.

What I’m seeing is user-specific, not device-specific:

  • On any device where the admin account was already logged in, opening the site immediately results in 502 Bad Gateway.

  • In incognito/private mode, the site loads normally and I can reach the login page.

  • From there, I can log in successfully with another (non-admin) account and the site works fine.

  • But when I try to log in with the admin account, right after submitting the email and password, I consistently get 502, and the page never loads.