Every incident in PyPI's own record, newest first, with each update the provider posted. Durations are the provider's, from when it logged the incident to when it marked it resolved.
· lasted 17 min
Affected: pypi.org - Backends
resolved ·
the maintenance is complete and everything has stabilized
identified ·
infrastructure maintenance is having a larger impact on availability of PyPI's backends than anticipated. we are working to stabilize.
· lasted 6 min
Affected: docs.python.org - Backends
resolved ·
All services are restored.
monitoring ·
Multiple python.org services were impacted by expiration of internal TLS certificates caused by use of APIs deprecated by a recent library update. We have resolved the issue and are monitoring as services come back online after renewing their internal certificates.
· lasted 12h 42m
Affected: pypi.org - General, pypi.org - Backends
resolved ·
This incident has been resolved.
monitoring ·
We have resolved the issue and are monitoring for changes.
investigating ·
We are continuing to investigate this issue.
investigating ·
We are currently investigating this issue.
· lasted 6h 3m
Affected: pypi.org - General, pypi.org - Backends
resolved ·
A fix has been implemented and the incident is closed.
monitoring ·
The traffic has subsided and the cluster is stable. A performance fix has been drafted.
investigating ·
We are currently investigating this issue.
· lasted 2h 47m
Affected: python.org - CDN, python.org - Backends, python.org - Downloads Backends, bugs.python.org, us.pycon.org
postmortem ·
The incident has been resolved. ## Incident Report: Cluster-wide service outage Duration: ~36 minutes \(20:04–20:40 UTC\) Impact: Some PSF-hosted services were unavailable, including [python.org](http://python.org), [us.pycon.org](http://us.pycon.org), PyPI stats, [bugs.python.org](http://bugs.python.org), and related services. What was unaffected was our other cluster that manages [PyPI.org](http://PyPI.org) among other services related to PyPI. Root Cause: During local development of kubernetes workloads locally there was an incorrect context switch to one of our production clusters. The scale-down commands ran against the production cluster instead of the local environment, iterating through all deployments and setting them to zero replicas. which created cascading failures. Recovery: Services were restored with the help of Ee Durbin by bringing up infrastructure in dependency order, original replica counts were recovered from Kubernetes event history. Action items: * Separate kubeconfig files for production vs local, rather than relying on context switching * Research adding admission control or policies to prevent bulk scale-to-zero operations * Document the infrastructure dependency chain and recovery runbook for future incidents Jacob Coffee, PSF Infrastructure Team
resolved ·
The incident has been resolved.
investigating ·
The root cause has been identified as an erroneous scaling operation that affected some application workloads. All services have been restored and are coming back online. We are monitoring to confirm full recovery.
investigating ·
We are currently investigating this issue
· lasted 1h 12m
Affected: pypi.org - General, pypi.org - CDN, pypi.org - Backends
resolved ·
This incident has been resolved.
monitoring ·
A fix has been implemented and we are monitoring the results.
investigating ·
We are currently investigating this issue.
· lasted 18 min
Affected: pypi.org - Backends
resolved ·
This incident has been resolved.
monitoring ·
We identified a database lock causing contention and stopped all upload backends to release all locks and are monitoring for recovery.
investigating ·
We are investigating why PyPI uploads are failing.
· lasted 39 min
Affected: pypi.org - General, pypi.org - CDN, pypi.org - Backends, pypi.org - Email
resolved ·
This incident has been resolved.
monitoring ·
A fix has been implemented and we are monitoring the results.
investigating ·
We are currently observing a slowdown in background requests processing for events on PyPI.org This could lead to stale web pages and API responses as the events system is not able to purge the caches. Our team is continuing to investigate.
The provider writes these records, so a short incident may have been a longer problem for some customers. The longest resolved incident is the figure to plan around if PyPI is in a path your customers use; the average is what a normal bad day looks like. Providers keep only recent history, so older incidents may have aged out of their feed rather than never having happened.