PyPI Blog: Incident File Hosting Errors

The Python Package Index (PyPI) experienced intermittent download errors in August 2026 due to a misconfiguration in a Fastly CDN cache node. The issue was resolved after user reports helped identify the root cause, restoring full functionality to the repository.
Why it matters
PyPI is a critical piece of infrastructure for the global software development community; downtime directly impacts millions of developers and automated systems.
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.
Get smarter about the news
Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.
Create free accountAlready have an account? Sign in