The 502 bad gateway error was happening to me too, I looked it up and people told me to disable the MD@Home option in my settings:
That seemed to have fixed it for me though I don't really understand why.
EDIT: For clarification you need to click your username drop down bar in the top right...