I have tried several times over the last couple of days to upload a new version of a Thunderbird add-on but it consistently fails with 502 Bad Gateway during the upload step.
I’ve also opened a GitHub issue here: Uploading a new version fails with 502 · Issue #580 · thunderbird/addons-server · GitHub
