4

I am currently trying to publish a Python package on PyPi. I have built the package and the command twine check dist/* has also run successfully. Now when I try to upload it via Twine, I get a 502 Bad Gateway Error:

Received "502: Bad Gateway" Package upload appears to have failed.  Retry 5 of 5
Content received from server:
<html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.13.9</center>
</body>
</html>

HTTPError: 502 Bad Gateway from https://upload.pypi.org/legacy/
Bad Gateway

Any ideas?

Plebo13
  • 99
  • 1
  • 6

1 Answers1

2

PyPI had a brief outage, should be back now: https://github.com/pypa/warehouse/issues/9151

Dustin Ingram
  • 20,502
  • 7
  • 59
  • 82