When sending a patchset using git-sendemail which include binary blobs, rendering takes multiple seconds and the proxy times out waiting for a response causing a 502 response.
Possible solution: render placeholders for the "GIT binary patch" parts since they are not likely to make any sense to a human viewer.