Timeouts accessing user page

Lately I’ve been getting timeouts accessing my user page:

Usually I get the unicorn on first load, then things work after a few refreshes, then further refreshing brings back the unicorn. Even the preview as I’m drafting this post says “Sorry, we were unable to generate a preview for this web page, because the web server returned an error code of 502. Instead of a preview, only a link will appear in your post”.