Incident Report: File Hosting Errors
Executive summary
For about two weeks in August 2026,
some PyPI users hit intermittent 502 and 503 errors
downloading files from files.pythonhosted.org,
triggering failures during installation from PyPI.
Thanks to our users filing reports in the support tracker;
one report in particular narrowed the problem to a single cache node.
Two separate problems were uncovered. A canary deployment inside Fastly's network had triggered a misconfiguration at one cache node, causing Fastly's routing layer to return 502 responses for traffic reaching the affected cache node. Separately, I found and fixed several bugs in our own Fastly configuration around origin fallback and range request behavior. Those had been there for a while, and only surfaced while digging into these reports.
Both intermittent problems are now fixed, and downloads are back to full function since August 28.