I just updated a site and now I’m not able to access /my/preferences/account. I get
Server Error while trying to load /user-badges/jayp.json Error code: 504 Gateway Time-out
I tried safe mode, and removed the only non-standard plugin (retort).
Though other users do seem to be able to access their preferences. Many are complaining about group-based theme modifications not working, so it seems that there might be some problem with groups.
Other pages seem to load fine, however. I don’t see anything in the logs in the web interface and don’t see it in the rails logs either.
I cannot replicate this here or on another site that I upgraded today.
EDIT: My current guess is that the problem has to do with some custom badge. There are many of them, but they aren’t SQL badges, and now that I see that, the badge hypothesis doesn’t make much sense.
method=GET path=/user-badges/jayp.json format=json controller=UserBadgesController action=username status=200 duration=5684.38 view=0.10 db=5577.50 params=_=1533766004403&username=jayp database=default db_calls=111 redis=0.73 redis_calls=6 ip=126.96.36.199 username=jayp