Try clearing your cache and cookies and try again. I was getting the 502 last week, and that cleared it up.
If that doesn't fix the problem, let me know! Someone else just mentioned that she couldn't change her avatar, so I'm betting it's connected with moving to our new server.